[INFO] cloning repository https://github.com/terenty-rezman/rust-misc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terenty-rezman/rust-misc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterenty-rezman%2Frust-misc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterenty-rezman%2Frust-misc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06fd41e4341d9fc93d4cc7f6de349e92463e8b31
[INFO] testing terenty-rezman/rust-misc against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterenty-rezman%2Frust-misc" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/terenty-rezman/rust-misc on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/terenty-rezman/rust-misc
[INFO] finished tweaking git repo https://github.com/terenty-rezman/rust-misc
[INFO] tweaked toml for git repo https://github.com/terenty-rezman/rust-misc written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/terenty-rezman/rust-misc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da264a32783a4527dca809a1b142cc9aacbb6cf6145a247fa13163372ae47b4e
[INFO] running `Command { std: "docker" "start" "-a" "da264a32783a4527dca809a1b142cc9aacbb6cf6145a247fa13163372ae47b4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da264a32783a4527dca809a1b142cc9aacbb6cf6145a247fa13163372ae47b4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da264a32783a4527dca809a1b142cc9aacbb6cf6145a247fa13163372ae47b4e", kill_on_drop: false }`
[INFO] [stdout] da264a32783a4527dca809a1b142cc9aacbb6cf6145a247fa13163372ae47b4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ace7a30a43941df9b7d2044c8b4484d770976354b1ae4926cd51cdd90bbafd04
[INFO] running `Command { std: "docker" "start" "-a" "ace7a30a43941df9b7d2044c8b4484d770976354b1ae4926cd51cdd90bbafd04", kill_on_drop: false }`
[INFO] [stderr]    Compiling leet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/binary_search_rotated.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/bst_insert.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::binary_tree::{self, TreeNode};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TreeNode`
[INFO] [stdout]   --> src/bst_insert.rs:53:36
[INFO] [stdout]    |
[INFO] [stdout] 53 |     use crate::binary_tree::{self, TreeNode};
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mem::replace`, `pin::Pin`
[INFO] [stdout]  --> src/list.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{mem::replace, pin::Pin};
[INFO] [stdout]   |           ^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/binary_search_guess.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /         loop {
[INFO] [stdout] 21 | |             let m = (l + r) / 2;
[INFO] [stdout] 22 | |             let g = guess(m as i32);
[INFO] [stdout] 23 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |             }
[INFO] [stdout] 31 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 32 | 
[INFO] [stdout] 33 |           unreachable!();
[INFO] [stdout]    |           ^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `min_val` is assigned to, but never used
[INFO] [stdout]  --> src/binary_search_rotated.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let mut min_val = 0;
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]   = note: consider using `_min_val` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `min_i` is never read
[INFO] [stdout]   --> src/binary_search_rotated.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let mut min_i = 0;
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `min_val` is never read
[INFO] [stdout]   --> src/binary_search_rotated.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 min_val = nums[l];
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `min_val` is never read
[INFO] [stdout]   --> src/binary_search_rotated.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |                     min_val = nums[l];
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `min_val` is never read
[INFO] [stdout]   --> src/binary_search_rotated.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |                     min_val = nums[r];
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/list_design.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let val = 2;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret_1`
[INFO] [stdout]    --> src/list_design.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let ret_1: i32 = obj.get(index);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ret_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/k_largest.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let len = nums.len() as i32;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/palindrome_list.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let mut next = node.as_mut().unwrap().next.take();
[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] warning: function is never used: `guess`
[INFO] [stdout]  --> src/binary_search_guess.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn guess(x: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]   --> src/binary_search_guess.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `guessNumber`
[INFO] [stdout]   --> src/binary_search_guess.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn guessNumber(n: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_guess.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_min_in_rotated.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `steps_count`
[INFO] [stdout]  --> src/binary_search_min_in_rotated.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | static mut steps_count: usize = 0;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `find_min`
[INFO] [stdout]  --> src/binary_search_min_in_rotated.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn find_min(nums: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_min_in_rotated.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_perfect_square.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_perfect_square`
[INFO] [stdout]  --> src/binary_search_perfect_square.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn is_perfect_square(num: i32) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wtf`
[INFO] [stdout]   --> src/binary_search_perfect_square.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn wtf(mut num: i32) -> bool {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_perfect_square.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_pow.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `my_pow`
[INFO] [stdout]  --> src/binary_search_pow.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn my_pow(x: f64, n: i32) -> f64 {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_pow.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_range.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `search_range`
[INFO] [stdout]  --> src/binary_search_range.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn search_range(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_range.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_rotated.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `search`
[INFO] [stdout]  --> src/binary_search_rotated.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn search(nums: Vec<i32>, target: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_rotated.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/binary_search_smallest_letter.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `next_greatest_letter`
[INFO] [stdout]  --> src/binary_search_smallest_letter.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn next_greatest_letter(letters: Vec<char>, target: char) -> char {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_search_smallest_letter.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/binary_tree.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(val: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_bfs_array`
[INFO] [stdout]   --> src/binary_tree.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn from_bfs_array(array: &[Option<i32>]) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_level_order`
[INFO] [stdout]   --> src/binary_tree.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn print_level_order(root: &Option<Rc<RefCell<TreeNode>>>) -> Vec<Option<i32>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Codec`
[INFO] [stdout]  --> src/binary_tree_serialize.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Codec {}
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]  --> src/binary_tree_serialize.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn new() -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `serialize`
[INFO] [stdout]   --> src/binary_tree_serialize.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn serialize(&self, root: Option<Rc<RefCell<TreeNode>>>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `preorder`
[INFO] [stdout]   --> src/binary_tree_serialize.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn preorder(node: &Option<Rc<RefCell<TreeNode>>>, result: &mut String) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `deserialize`
[INFO] [stdout]   --> src/binary_tree_serialize.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn deserialize(&self, data: String) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `build_from_preorder`
[INFO] [stdout]   --> src/binary_tree_serialize.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn build_from_preorder(items: &mut &[Option<i32>]) -> Option<Rc<RefCell<TreeNode>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/binary_tree_serialize.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/bst_insert.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `insert_into_bst`
[INFO] [stdout]   --> src/bst_insert.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn insert_into_bst(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/bst_insert.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `BSTIterator`
[INFO] [stdout]  --> src/inorder_iterator.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct BSTIterator {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/inorder_iterator.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn new(root: Option<Rc<RefCell<TreeNode>>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `next`
[INFO] [stdout]   --> src/inorder_iterator.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn next(&mut self) -> i32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `has_next`
[INFO] [stdout]   --> src/inorder_iterator.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn has_next(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/inorder_iterator.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `val`
[INFO] [stdout]  --> src/list.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     val: i32,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ListNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/list.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `next`
[INFO] [stdout]  --> src/list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     next: Option<Box<ListNode>>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ListNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/list.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/list.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `count_nodes`
[INFO] [stdout]   --> src/list.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn count_nodes(head: &Option<Box<ListNode>>) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_nth_node_mut`
[INFO] [stdout]   --> src/list.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn get_nth_node_mut(head: &mut Option<Box<ListNode>>, n: usize) -> Option<&mut ListNode> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `remove_nth_from_end`
[INFO] [stdout]   --> src/list.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn remove_nth_from_end(head: Option<Box<ListNode>>, n: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/list.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `remove_nth_from_end_leet`
[INFO] [stdout]   --> src/list.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn remove_nth_from_end_leet(mut head: Option<Box<ListNode>>, n: i32) -> Option<Box<ListNode>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Node`
[INFO] [stdout]  --> src/list_design.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `MyLinkedList`
[INFO] [stdout]  --> src/list_design.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MyLinkedList {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/list_design.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]   --> src/list_design.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn get(&self, index: i32) -> i32 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_at_head`
[INFO] [stdout]   --> src/list_design.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn add_at_head(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_at_tail`
[INFO] [stdout]   --> src/list_design.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn add_at_tail(&mut self, val: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_at_index`
[INFO] [stdout]   --> src/list_design.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn add_at_index(&mut self, index: i32, val: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `delete_at_index`
[INFO] [stdout]   --> src/list_design.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn delete_at_index(&mut self, index: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/list_design.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/my_list.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_list`
[INFO] [stdout]   --> src/my_list.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn create_list(array: &[i32]) -> Option<Box<ListNode>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_list`
[INFO] [stdout]   --> src/my_list.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn print_list(head: &Option<Box<ListNode>>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/my_list.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn test() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/palindrome_list.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_palindrome`
[INFO] [stdout]  --> src/palindrome_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn is_palindrome(mut head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/palindrome_list.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/reverse_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reverse_list`
[INFO] [stdout]  --> src/reverse_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn reverse_list(mut head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/reverse_list.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/two_arrays_intersection.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `intersection`
[INFO] [stdout]  --> src/two_arrays_intersection.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn intersection(nums1: Vec<i32>, nums2: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/two_arrays_intersection.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/merge_sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `sort_array`
[INFO] [stdout]  --> src/merge_sort.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn sort_array(nums: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `merge_sort`
[INFO] [stdout]  --> src/merge_sort.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn merge_sort(nums: &[i32]) -> Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `merge`
[INFO] [stdout]   --> src/merge_sort.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn merge(a: &[i32], b: &[i32]) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/merge_sort.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/insertion_sort_list.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `insertion_sort_list`
[INFO] [stdout]  --> src/insertion_sort_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn insertion_sort_list(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/insertion_sort_list.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/sort_colors.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `sort_colors`
[INFO] [stdout]  --> src/sort_colors.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/sort_colors.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/k_largest.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `find_kth_largest`
[INFO] [stdout]  --> src/k_largest.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn find_kth_largest(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `kth_largest`
[INFO] [stdout]   --> src/k_largest.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn kth_largest(nums:&mut [i32], k: usize, l: i32, r: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/k_largest.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Solution`
[INFO] [stdout]  --> src/strstr.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `str_str`
[INFO] [stdout]  --> src/strstr.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn str_str(haystack: String, needle: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test`
[INFO] [stdout]   --> src/strstr.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn test() {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `guessNumber` should have a snake case name
[INFO] [stdout]   --> src/binary_search_guess.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn guessNumber(n: i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: convert the identifier to snake case: `guess_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `steps_count` should have an upper case name
[INFO] [stdout]  --> src/binary_search_min_in_rotated.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | static mut steps_count: usize = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^ help: convert the identifier to upper case: `STEPS_COUNT`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/my_list.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |                 write!(f, "{},", self.val);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 107 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.30s
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "ace7a30a43941df9b7d2044c8b4484d770976354b1ae4926cd51cdd90bbafd04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ace7a30a43941df9b7d2044c8b4484d770976354b1ae4926cd51cdd90bbafd04", kill_on_drop: false }`
[INFO] [stdout] ace7a30a43941df9b7d2044c8b4484d770976354b1ae4926cd51cdd90bbafd04
