[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#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [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 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99635bb9185a56859fc16febb8c68e1dc1dda04020fd0d6cdde354b0b324263 [INFO] running `Command { std: "docker" "start" "-a" "f99635bb9185a56859fc16febb8c68e1dc1dda04020fd0d6cdde354b0b324263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99635bb9185a56859fc16febb8c68e1dc1dda04020fd0d6cdde354b0b324263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99635bb9185a56859fc16febb8c68e1dc1dda04020fd0d6cdde354b0b324263", kill_on_drop: false }` [INFO] [stdout] f99635bb9185a56859fc16febb8c68e1dc1dda04020fd0d6cdde354b0b324263 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ef9db6b8a5e776306da66950d5cc5f28baaccd266d3c668be41fbe663569629 [INFO] running `Command { std: "docker" "start" "-a" "1ef9db6b8a5e776306da66950d5cc5f28baaccd266d3c668be41fbe663569629", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot v0.12.3 [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] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, thread_safe_lru_node::ThreadSafeLruNode>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_linked_list.rs:570:17 [INFO] [stdout] | [INFO] [stdout] 552 | let mut list = ThreadSafeLruLinkedList::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | let node1 = list.add_node_to_head(1, 0); [INFO] [stdout] 554 | let _node2 = list.add_node_to_head(2, 1); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 570 | let head_lock = list.head.lock(); [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: this value of type `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, thread_safe_lru_node::ThreadSafeLruNode>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_safe_linked_list.rs:599:17 [INFO] [stdout] | [INFO] [stdout] 581 | let mut list = ThreadSafeLruLinkedList::new(); // Assuming ParLRULinkedList is the mutex version [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 599 | let rear_lock = list.tail.lock(); [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: 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: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lru_cache` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ef9db6b8a5e776306da66950d5cc5f28baaccd266d3c668be41fbe663569629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef9db6b8a5e776306da66950d5cc5f28baaccd266d3c668be41fbe663569629", kill_on_drop: false }` [INFO] [stdout] 1ef9db6b8a5e776306da66950d5cc5f28baaccd266d3c668be41fbe663569629