[INFO] cloning repository https://github.com/CiaranWelsh/lru_cache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CiaranWelsh/lru_cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiaranWelsh%2Flru_cache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiaranWelsh%2Flru_cache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ab583ccd243ba13d62132430827a62191211fc0 [INFO] checking CiaranWelsh/lru_cache/6ab583ccd243ba13d62132430827a62191211fc0 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%2FCiaranWelsh%2Flru_cache" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CiaranWelsh/lru_cache 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/CiaranWelsh/lru_cache [INFO] finished tweaking git repo https://github.com/CiaranWelsh/lru_cache [INFO] tweaked toml for git repo https://github.com/CiaranWelsh/lru_cache written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CiaranWelsh/lru_cache 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0dea2716dd9da10f9a1f5b39514c4a06d35002a2afa6959aba687b047898cea4 [INFO] running `Command { std: "docker" "start" "-a" "0dea2716dd9da10f9a1f5b39514c4a06d35002a2afa6959aba687b047898cea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dea2716dd9da10f9a1f5b39514c4a06d35002a2afa6959aba687b047898cea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dea2716dd9da10f9a1f5b39514c4a06d35002a2afa6959aba687b047898cea4", kill_on_drop: false }` [INFO] [stdout] 0dea2716dd9da10f9a1f5b39514c4a06d35002a2afa6959aba687b047898cea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 382efa40e40ab9cce4c3435ec2e8df4139d8975ead28c87d3a80220c39f08fcf [INFO] running `Command { std: "docker" "start" "-a" "382efa40e40ab9cce4c3435ec2e8df4139d8975ead28c87d3a80220c39f08fcf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_core v0.9.0-alpha.2 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Checking rand v0.9.0-alpha.2 [INFO] [stderr] Checking lru_cache v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/thread_safe_lru_cache.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::trace` [INFO] [stdout] --> src/thread_safe_lru_cache.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::trace; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/thread_safe_lru_cache.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_clone`, `get_mut`, `put`, `pop`, and `get_processed_data` are never used [INFO] [stdout] --> src/lru_cache.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl LruCache [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | V: PartialEq + Eq + Clone + Debug + Default [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_clone(&mut self, key: &u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_mut(&mut self, key: &u32, mut f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn put(&mut self, key: u32, value: V) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn pop(&mut self) -> Option<(u32, V)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_processed_data(&mut self, key: u32) -> V { [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] --> src/lru_linked_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | / impl LRULinkedList [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | T: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_node_to_head(&mut self, id: u32, data: T) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn move_node_to_head(&mut self, node: Rc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn pop_back(&mut self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_rear(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_head(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn iter_mut(&self) -> LRULinkedListIterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lru_linked_list.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 259 | / impl LRULinkedListIterMut [INFO] [stdout] 260 | | where [INFO] [stdout] 261 | | T: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated function in this implementation [INFO] [stdout] 262 | { [INFO] [stdout] 263 | pub fn new(linked_list: &LRULinkedList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_rc_refcell` are never used [INFO] [stdout] --> src/lru_node.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | / impl LruNode [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | T: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated functions in this implementation [INFO] [stdout] 25 | { [INFO] [stdout] 26 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_rc_refcell(id: u32, data: Option) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/thread_safe_linked_list.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | / impl ThreadSafeLruLinkedList [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_most_recently_used_node(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_least_recently_used_node(&self) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn add_node_to_head(&mut self, id: u32, data: V) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn add_node_to_rear(&mut self, id: u32, data: V) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn move_node_to_head(&mut self, node: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn move_node_to_rear(&mut self, node: Arc>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn pop_back(&mut self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn get_tail(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_head(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn iter(&self) -> LRULinkedListIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn iter_mut(&self) -> LRULinkedListIterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn peek_position(&self, position: usize) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread_safe_linked_list.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 323 | / impl LRULinkedListIter [INFO] [stdout] 324 | | where [INFO] [stdout] 325 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn new(linked_list: &ThreadSafeLruLinkedList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread_safe_linked_list.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 383 | / impl LRULinkedListIterMut [INFO] [stdout] 384 | | where [INFO] [stdout] 385 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated function in this implementation [INFO] [stdout] 386 | { [INFO] [stdout] 387 | pub fn new(linked_list: &ThreadSafeLruLinkedList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_evicted_id` is never read [INFO] [stdout] --> src/thread_safe_lru_cache.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ThreadSafeLruCache [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | last_evicted_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadSafeLruCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/thread_safe_lru_cache.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 22 | / impl ThreadSafeLruCache [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | V: PartialEq + Eq + Clone + Debug + Default [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_clone(&mut self, key: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_mut(&mut self, key: u32, f: F) -> Option<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn put(&mut self, key: u32, value: V) -> Option<(u32, V)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn put_with_sequential_eviction(&mut self, key: u32, value: V) -> Option<(u32, V)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn pop(&mut self) -> Option<(u32, V)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn flush(&mut self) -> VecDeque<(u32, V)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_processed_data(&mut self, key: u32) -> V { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_arc_mutex` are never used [INFO] [stdout] --> src/thread_safe_lru_node.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | / impl ThreadSafeLruNode [INFO] [stdout] 24 | | where [INFO] [stdout] 25 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated functions in this implementation [INFO] [stdout] 26 | { [INFO] [stdout] 27 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_arc_mutex(id: u32, data: Option) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_logger` is never used [INFO] [stdout] --> src/init_logger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn init_logger(level: LevelFilter) { [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/lru_node.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | 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] --> src/lru_node.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lru_node.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_rc_refcell(id: u32, data: Option) -> Rc> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Rc::new(RefCell::new(Self::new(id, data))) [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/thread_safe_linked_list.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 337 | let head_next = linked_list.head.lock().next.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | rear: linked_list.tail.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_linked_list.rs:391:19 [INFO] [stdout] | [INFO] [stdout] 388 | let head_next = linked_list.head.lock().next.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | rear: linked_list.tail.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_lru_node.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | 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] [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/thread_safe_lru_node.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_lru_node.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_arc_mutex(id: u32, data: Option) -> Arc> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Arc::new(Mutex::new(Self::new(id, data))) [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 8 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lru_cache` (lib) due to 9 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `get_processed_data` is never used [INFO] [stdout] --> src/lru_cache.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl LruCache [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | V: PartialEq + Eq + Clone + Debug + Default [INFO] [stdout] | |___________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_processed_data(&mut self, key: u32) -> V { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_rear` and `get_head` are never used [INFO] [stdout] --> src/lru_linked_list.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 44 | / impl LRULinkedList [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | T: PartialEq + Eq, [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn get_rear(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_head(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_head` and `iter_mut` are never used [INFO] [stdout] --> src/thread_safe_linked_list.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 44 | / impl ThreadSafeLruLinkedList [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_head(&self) -> Option>>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn iter_mut(&self) -> LRULinkedListIterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread_safe_linked_list.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 383 | / impl LRULinkedListIterMut [INFO] [stdout] 384 | | where [INFO] [stdout] 385 | | V: PartialEq + Eq, [INFO] [stdout] | |__________________________- associated function in this implementation [INFO] [stdout] 386 | { [INFO] [stdout] 387 | pub fn new(linked_list: &ThreadSafeLruLinkedList) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_processed_data` and `is_empty` are never used [INFO] [stdout] --> src/thread_safe_lru_cache.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 22 | / impl ThreadSafeLruCache [INFO] [stdout] 23 | | where [INFO] [stdout] 24 | | V: PartialEq + Eq + Clone + Debug + Default [INFO] [stdout] | |___________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_processed_data(&mut self, key: u32) -> V { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn is_empty(&self) -> bool { [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/lru_linked_list.rs:409:45 [INFO] [stdout] | [INFO] [stdout] 409 | let ids: Vec = iter.map(|node| node.borrow().id.clone()).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/lru_linked_list.rs:434:61 [INFO] [stdout] | [INFO] [stdout] 434 | let modified_ids: Vec = iter_verify.map(|node| node.borrow().id.clone()).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lru_node.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | 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] [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/lru_node.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lru_node.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new_rc_refcell(id: u32, data: Option) -> Rc> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Rc::new(RefCell::new(Self::new(id, data))) [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/thread_safe_linked_list.rs:340:19 [INFO] [stdout] | [INFO] [stdout] 337 | let head_next = linked_list.head.lock().next.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | rear: linked_list.tail.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_linked_list.rs:391:19 [INFO] [stdout] | [INFO] [stdout] 388 | let head_next = linked_list.head.lock().next.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 391 | rear: linked_list.tail.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_linked_list.rs:654:61 [INFO] [stdout] | [INFO] [stdout] 654 | let modified_ids: Vec = iter_verify.map(|node| node.lock().id).collect(); [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/thread_safe_lru_node.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | 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] [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/thread_safe_lru_node.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(id: u32, data: Option) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_lru_node.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_arc_mutex(id: u32, data: Option) -> Arc> { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Arc::new(Mutex::new(Self::new(id, data))) [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 11 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lru_cache` (lib test) due to 12 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "382efa40e40ab9cce4c3435ec2e8df4139d8975ead28c87d3a80220c39f08fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382efa40e40ab9cce4c3435ec2e8df4139d8975ead28c87d3a80220c39f08fcf", kill_on_drop: false }` [INFO] [stdout] 382efa40e40ab9cce4c3435ec2e8df4139d8975ead28c87d3a80220c39f08fcf