[INFO] cloning repository https://github.com/abhyuditjain/leetcode_30_day_challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhyuditjain/leetcode_30_day_challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhyuditjain%2Fleetcode_30_day_challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhyuditjain%2Fleetcode_30_day_challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1eb92380b6bca71e67dfa9589b9b5e4aaeef175
[INFO] checking abhyuditjain/leetcode_30_day_challenge against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhyuditjain%2Fleetcode_30_day_challenge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/abhyuditjain/leetcode_30_day_challenge
[INFO] finished tweaking git repo https://github.com/abhyuditjain/leetcode_30_day_challenge
[INFO] tweaked toml for git repo https://github.com/abhyuditjain/leetcode_30_day_challenge written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abhyuditjain/leetcode_30_day_challenge on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/abhyuditjain/leetcode_30_day_challenge 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8bba31cebaceb50aa209bcb4eb53498bd4b40c42f8e63f2f0a891395f5feb0d3
[INFO] running `Command { std: "docker" "start" "-a" "8bba31cebaceb50aa209bcb4eb53498bd4b40c42f8e63f2f0a891395f5feb0d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bba31cebaceb50aa209bcb4eb53498bd4b40c42f8e63f2f0a891395f5feb0d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bba31cebaceb50aa209bcb4eb53498bd4b40c42f8e63f2f0a891395f5feb0d3", kill_on_drop: false }`
[INFO] [stdout] 8bba31cebaceb50aa209bcb4eb53498bd4b40c42f8e63f2f0a891395f5feb0d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d8120961cad7661fb3443bc7c9b576572271964a891b7f930b9a3cacbeb011e
[INFO] running `Command { std: "docker" "start" "-a" "9d8120961cad7661fb3443bc7c9b576572271964a891b7f930b9a3cacbeb011e", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode_30_day_challenge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `assert_equivalent` is never used
[INFO] [stdout]  --> src/utils/test_tools.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn assert_equivalent<T: Eq + Ord + Hash + Debug + Clone>(left: &[T], right: &[T]) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_nested_equivalent` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn assert_nested_equivalent<T: Eq + Ord + Hash + Debug>(left: &[Vec<T>], right: &[Vec<T>]) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_to_string` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn map_to_string(strs: &[&str]) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_nested_to_string` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn map_nested_to_string(strs: &[Vec<&str>]) -> Vec<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_feq` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn assert_feq(p: f64, q: f64) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/utils/linked_list.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct ListNode {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/utils/linked_list.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl ListNode {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout] 9 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_double_iter` is never used
[INFO] [stdout]   --> src/utils/linked_list.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     #[inline]
[INFO] [stdout] 19 |     pub fn from_double_iter<T>(iter: T) -> Option<Box<ListNode>>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/single_number.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `single_number` is never used
[INFO] [stdout]   --> src/single_number.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn single_number(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/happy_number.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_happy` and `square_sum` are never used
[INFO] [stdout]   --> src/happy_number.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 23 |     pub fn is_happy(n: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn square_sum(mut n: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/maximum_subarray.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_sub_array` is never used
[INFO] [stdout]   --> src/maximum_subarray.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn max_sub_array(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/move_zeroes.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `move_zeroes` is never used
[INFO] [stdout]   --> src/move_zeroes.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/best_time_to_buy_and_sell_stock_ii.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_profit` is never used
[INFO] [stdout]   --> src/best_time_to_buy_and_sell_stock_ii.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 39 |     pub fn max_profit(prices: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/group_anagrams.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `group_anagrams` and `get_sorted` are never used
[INFO] [stdout]   --> src/group_anagrams.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 26 |     pub fn group_anagrams(strs: Vec<String>) -> Vec<Vec<String>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn get_sorted(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/counting_elements.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `count_elements` is never used
[INFO] [stdout]   --> src/counting_elements.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 39 |     pub fn count_elements(arr: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/middle_of_the_linked_list.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `middle_node` is never used
[INFO] [stdout]   --> src/middle_of_the_linked_list.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn middle_node(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/backspace_string_compare.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `backspace_compare` and `get_next` are never used
[INFO] [stdout]   --> src/backspace_string_compare.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 38 |     pub fn backspace_compare(s: String, t: String) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn get_next(iter: &mut impl Iterator<Item=char>) -> Option<char> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MinStack` is never constructed
[INFO] [stdout]   --> src/min_stack.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct MinStack {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `pop`, `top`, and `get_min` are never used
[INFO] [stdout]   --> src/min_stack.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl MinStack {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 29 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn push(&mut self, x: i32) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn pop(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn top(&self) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn get_min(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/diameter_of_binary_tree.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `diameter_of_binary_tree` and `max_depth_diameter` are never used
[INFO] [stdout]   --> src/diameter_of_binary_tree.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 26 |     pub fn diameter_of_binary_tree(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn max_depth_diameter(root: &Option<Rc<RefCell<TreeNode>>>) -> (i32, i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/last_stone_weight.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Solution;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `last_stone_weight` is never used
[INFO] [stdout]   --> src/last_stone_weight.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 31 |     pub fn last_stone_weight(stones: Vec<i32>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/leftmost_column_with_at_least_a_one.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl BinaryMatrix {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 67 |     fn new(v: Vec<Vec<usize>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/lru_cache.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `evict` are never used
[INFO] [stdout]   --> src/lru_cache.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 39 |     fn new(key: i32, value: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn evict(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkedListWithMap` is never constructed
[INFO] [stdout]   --> src/lru_cache.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct LinkedListWithMap {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/lru_cache.rs:72:8
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl LinkedListWithMap {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout]  72 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn len(&self) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     fn add_head(&mut self, key: i32, value: i32) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     fn remove_tail(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn remove(&mut self, key: i32) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn push(&mut self, key: i32, value: i32) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn get(&self, key: i32) -> Option<i32> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LRUCache` is never constructed
[INFO] [stdout]    --> src/lru_cache.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | struct LRUCache {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `put` are never used
[INFO] [stdout]    --> src/lru_cache.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl LRUCache {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 152 |     fn new(capacity: i32) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn get(&mut self, key: i32) -> i32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `queue` and `map` are never read
[INFO] [stdout]   --> src/first_unique_number.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct FirstUnique {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 65 |     queue: Vec<i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 66 |     map: HashMap<i32, i32>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `show_first_unique`, and `add` are never used
[INFO] [stdout]   --> src/first_unique_number.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl FirstUnique {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 70 |     fn new(nums: Vec<i32>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn show_first_unique(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     fn add(&mut self, value: i32) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/maximum_level_sum_of_binary_tree.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut root = Some(Rc::new(RefCell::new(TreeNode::new(1))));
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_equivalent` is never used
[INFO] [stdout]  --> src/utils/test_tools.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn assert_equivalent<T: Eq + Ord + Hash + Debug + Clone>(left: &[T], right: &[T]) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `map_nested_to_string` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn map_nested_to_string(strs: &[Vec<&str>]) -> Vec<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_feq` is never used
[INFO] [stdout]   --> src/utils/test_tools.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn assert_feq(p: f64, q: f64) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_double_iter` is never used
[INFO] [stdout]   --> src/utils/linked_list.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     #[inline]
[INFO] [stdout] 19 |     pub fn from_double_iter<T>(iter: T) -> Option<Box<ListNode>>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "9d8120961cad7661fb3443bc7c9b576572271964a891b7f930b9a3cacbeb011e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d8120961cad7661fb3443bc7c9b576572271964a891b7f930b9a3cacbeb011e", kill_on_drop: false }`
[INFO] [stdout] 9d8120961cad7661fb3443bc7c9b576572271964a891b7f930b9a3cacbeb011e
