[INFO] cloning repository https://github.com/yuby/datastructures_with_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuby/datastructures_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuby%2Fdatastructures_with_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuby%2Fdatastructures_with_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5eccde7ed5137fb576a95b2144ecfa0a40ebffff
[INFO] checking yuby/datastructures_with_rust against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuby%2Fdatastructures_with_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yuby/datastructures_with_rust
[INFO] finished tweaking git repo https://github.com/yuby/datastructures_with_rust
[INFO] tweaked toml for git repo https://github.com/yuby/datastructures_with_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yuby/datastructures_with_rust 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/yuby/datastructures_with_rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0616985d5a0c1c370318a5f52b539ea40671a743c178c6ae46ed4d3f04b1cd28
[INFO] running `Command { std: "docker" "start" "-a" "0616985d5a0c1c370318a5f52b539ea40671a743c178c6ae46ed4d3f04b1cd28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0616985d5a0c1c370318a5f52b539ea40671a743c178c6ae46ed4d3f04b1cd28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0616985d5a0c1c370318a5f52b539ea40671a743c178c6ae46ed4d3f04b1cd28", kill_on_drop: false }`
[INFO] [stdout] 0616985d5a0c1c370318a5f52b539ea40671a743c178c6ae46ed4d3f04b1cd28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 625366373c230dcc50dbb44ddf92f8a295c2a6945f66fb3466f3e995f6ce9a27
[INFO] running `Command { std: "docker" "start" "-a" "625366373c230dcc50dbb44ddf92f8a295c2a6945f66fb3466f3e995f6ce9a27", kill_on_drop: false }`
[INFO] [stderr]     Checking app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:61:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |   let mut arr = [0, 1, 1, 3, 2, 5, 1, 2, 1, 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: value assigned to `str` is never read
[INFO] [stdout]   --> src/data_structures/polynomial.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let mut str = String::new();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 88 |                     str = format!("{} x^{}", self.poly[index], index);
[INFO] [stdout]    |                     --- `str` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/data_structures/dynamic_array.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 |   let mut dynamic_2d_array: Vec<Vec<f64>> = vec![vec![0.0; 4]; 3];
[INFO] [stdout]   |       ----^^^^^^^^^^^^^^^^
[INFO] [stdout]   |       |
[INFO] [stdout]   |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:61:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |   let mut arr = [0, 1, 1, 3, 2, 5, 1, 2, 1, 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: variable does not need to be mutable
[INFO] [stdout]   --> src/data_structures/sparse_matrix.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut elements = Vec::with_capacity(capacity);
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/string_compresstion.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |   let mut sentence = String::from("ababcdfeeesdddaasx");
[INFO] [stdout]    |       ----^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `swap` is never used
[INFO] [stdout]  --> src/data_structures/swap.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn swap(arr: &mut [i32], a: usize, b: usize) {
[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 `run` is never used
[INFO] [stdout]  --> src/data_structures/swap.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/selection_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/bubble_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/insertion_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count` is never used
[INFO] [stdout]  --> src/data_structures/sequential_search.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn count(arr: &[i32], find_value: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sorted_count` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn sorted_count(arr: &[i32], find_index: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pv_insertion_sort` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn pv_insertion_sort(arr: &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_index_in_sorted_array` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn find_index_in_sorted_array(arr: &[i32], find_value: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binary_search` is never used
[INFO] [stdout]  --> src/data_structures/binary_search.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn binary_search(arr: &[i32], find_num: i32, start: usize, end: usize) -> Result<usize, i32> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/binary_search.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursion_sum` is never used
[INFO] [stdout]  --> src/data_structures/recursion.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn recursion_sum(arr: &[i32], index: usize) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/recursion.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursion_binary_search` is never used
[INFO] [stdout]  --> src/data_structures/recursion_binary_search.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn recursion_binary_search(arr: &[i32], start: usize, end: usize, find: i32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/recursion_binary_search.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyStringADT` is never used
[INFO] [stdout]  --> src/data_structures/string_adt.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait MyStringADT {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyString` is never constructed
[INFO] [stdout]   --> src/data_structures/string_adt.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct MyString {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/string_adt.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PolynomialHelper` is never used
[INFO] [stdout]  --> src/data_structures/polynomial.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait PolynomialHelper {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polynomial` is never constructed
[INFO] [stdout]   --> src/data_structures/polynomial.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Polynomial {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/polynomial.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SparsePolynomialTerm` is never constructed
[INFO] [stdout]  --> src/data_structures/sparse_polynomial.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct SparsePolynomialTerm {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SparsePolynomial` is never constructed
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct SparsePolynomial {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SparsePolynomialHelper` is never used
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait SparsePolynomialHelper {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatrixTerm` is never constructed
[INFO] [stdout]  --> src/data_structures/array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MatrixTerm {}
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Matrix` is never constructed
[INFO] [stdout]  --> src/data_structures/array.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Matrix {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MatrixHelper` is never used
[INFO] [stdout]   --> src/data_structures/array.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait MatrixHelper {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/array.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `str` is never read
[INFO] [stdout]   --> src/data_structures/polynomial.rs:84:31
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 let mut str = String::new();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 88 |                     str = format!("{} x^{}", self.poly[index], index);
[INFO] [stdout]    |                     --- `str` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/dynamic_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `capacity` is never read
[INFO] [stdout]   --> src/data_structures/sparse_matrix.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct SparseMatrix<T> {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |   capacity: usize,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SparseMatrix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_arr_to_str` is never used
[INFO] [stdout]  --> src/problems/string_compresstion.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn print_arr_to_str(arr: &[i32]) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/string_compresstion.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hinoi` is never used
[INFO] [stdout]  --> src/problems/hinoi.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn hinoi(n: u32, from: &str, to: &str, aux: &str) {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/hinoi.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonacci` is never used
[INFO] [stdout]  --> src/problems/fibonacci.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fibonacci(n: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibinacci_loop` is never used
[INFO] [stdout]   --> src/problems/fibonacci.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn fibinacci_loop(n: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/fibonacci.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permutation` is never used
[INFO] [stdout]  --> src/problems/permutation.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn permutation(arr: &mut [i32], offset: usize) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/permutation.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/data_structures/dynamic_array.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 |   let mut dynamic_2d_array: Vec<Vec<f64>> = vec![vec![0.0; 4]; 3];
[INFO] [stdout]   |       ----^^^^^^^^^^^^^^^^
[INFO] [stdout]   |       |
[INFO] [stdout]   |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/data_structures/sparse_matrix.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut elements = Vec::with_capacity(capacity);
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/problems/string_compresstion.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |   let mut sentence = String::from("ababcdfeeesdddaasx");
[INFO] [stdout]    |       ----^^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `swap` is never used
[INFO] [stdout]  --> src/data_structures/swap.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn swap(arr: &mut [i32], a: usize, b: usize) {
[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 `run` is never used
[INFO] [stdout]  --> src/data_structures/swap.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/selection_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/bubble_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/insertion_sort.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count` is never used
[INFO] [stdout]  --> src/data_structures/sequential_search.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn count(arr: &[i32], find_value: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sorted_count` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn sorted_count(arr: &[i32], find_index: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pv_insertion_sort` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn pv_insertion_sort(arr: &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_index_in_sorted_array` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn find_index_in_sorted_array(arr: &[i32], find_value: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/sequential_search.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binary_search` is never used
[INFO] [stdout]  --> src/data_structures/binary_search.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn binary_search(arr: &[i32], find_num: i32, start: usize, end: usize) -> Result<usize, i32> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/binary_search.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursion_sum` is never used
[INFO] [stdout]  --> src/data_structures/recursion.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn recursion_sum(arr: &[i32], index: usize) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/recursion.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `recursion_binary_search` is never used
[INFO] [stdout]  --> src/data_structures/recursion_binary_search.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn recursion_binary_search(arr: &[i32], start: usize, end: usize, find: i32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/recursion_binary_search.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MyStringADT` is never used
[INFO] [stdout]  --> src/data_structures/string_adt.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait MyStringADT {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyString` is never constructed
[INFO] [stdout]   --> src/data_structures/string_adt.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct MyString {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/string_adt.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PolynomialHelper` is never used
[INFO] [stdout]  --> src/data_structures/polynomial.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | trait PolynomialHelper {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polynomial` is never constructed
[INFO] [stdout]   --> src/data_structures/polynomial.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Polynomial {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/polynomial.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SparsePolynomialTerm` is never constructed
[INFO] [stdout]  --> src/data_structures/sparse_polynomial.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct SparsePolynomialTerm {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SparsePolynomial` is never constructed
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct SparsePolynomial {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SparsePolynomialHelper` is never used
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait SparsePolynomialHelper {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/sparse_polynomial.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatrixTerm` is never constructed
[INFO] [stdout]  --> src/data_structures/array.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct MatrixTerm {}
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Matrix` is never constructed
[INFO] [stdout]  --> src/data_structures/array.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Matrix {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MatrixHelper` is never used
[INFO] [stdout]   --> src/data_structures/array.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait MatrixHelper {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/data_structures/array.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/data_structures/dynamic_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `capacity` is never read
[INFO] [stdout]   --> src/data_structures/sparse_matrix.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct SparseMatrix<T> {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |   capacity: usize,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SparseMatrix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_arr_to_str` is never used
[INFO] [stdout]  --> src/problems/string_compresstion.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn print_arr_to_str(arr: &[i32]) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/string_compresstion.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hinoi` is never used
[INFO] [stdout]  --> src/problems/hinoi.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn hinoi(n: u32, from: &str, to: &str, aux: &str) {
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/hinoi.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibonacci` is never used
[INFO] [stdout]  --> src/problems/fibonacci.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn fibonacci(n: i32) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fibinacci_loop` is never used
[INFO] [stdout]   --> src/problems/fibonacci.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn fibinacci_loop(n: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/fibonacci.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permutation` is never used
[INFO] [stdout]  --> src/problems/permutation.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn permutation(arr: &mut [i32], offset: usize) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/problems/permutation.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "625366373c230dcc50dbb44ddf92f8a295c2a6945f66fb3466f3e995f6ce9a27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "625366373c230dcc50dbb44ddf92f8a295c2a6945f66fb3466f3e995f6ce9a27", kill_on_drop: false }`
[INFO] [stdout] 625366373c230dcc50dbb44ddf92f8a295c2a6945f66fb3466f3e995f6ce9a27
