[INFO] cloning repository https://github.com/kyunghyunHan/-Algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kyunghyunHan/-Algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkyunghyunHan%2F-Algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkyunghyunHan%2F-Algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 530e2888cf9190bd7af02fd57ceb48a30f7b054f [INFO] checking kyunghyunHan/-Algorithm against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkyunghyunHan%2F-Algorithm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kyunghyunHan/-Algorithm on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kyunghyunHan/-Algorithm [INFO] finished tweaking git repo https://github.com/kyunghyunHan/-Algorithm [INFO] tweaked toml for git repo https://github.com/kyunghyunHan/-Algorithm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kyunghyunHan/-Algorithm 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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec84e3c4d2b7c38e67f6ac29a418fb50408aa9ec25fe3c34a22138314ec48924 [INFO] running `Command { std: "docker" "start" "-a" "ec84e3c4d2b7c38e67f6ac29a418fb50408aa9ec25fe3c34a22138314ec48924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec84e3c4d2b7c38e67f6ac29a418fb50408aa9ec25fe3c34a22138314ec48924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec84e3c4d2b7c38e67f6ac29a418fb50408aa9ec25fe3c34a22138314ec48924", kill_on_drop: false }` [INFO] [stdout] ec84e3c4d2b7c38e67f6ac29a418fb50408aa9ec25fe3c34a22138314ec48924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02ee93c3fa3b0856bf9819ad30363b40db6a3288fd5b70d973032ccab1f433f1 [INFO] running `Command { std: "docker" "start" "-a" "02ee93c3fa3b0856bf9819ad30363b40db6a3288fd5b70d973032ccab1f433f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_structure/linked_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Write`, `stdin`, and `stdout` [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{stdin, stdout, BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/conding_test/backjun/back1253.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | if (i != k && j != k) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if (i != k && j != k) { [INFO] [stdout] 28 + if i != k && j != k { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/data_structure/linked_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, `Write`, `stdin`, and `stdout` [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{stdin, stdout, BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/conding_test/backjun/back1253.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | if (i != k && j != k) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if (i != k && j != k) { [INFO] [stdout] 28 + if i != k && j != k { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/sort/quick.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn quick_sort(a: &mut [usize], p: &usize, r: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 2 | let q = partition(a, p, r); [INFO] [stdout] 3 | quick_sort(a, p, &(q - 1)); [INFO] [stdout] | -------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/sort/quick.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn quick_sort(a: &mut [usize], p: &usize, r: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 2 | let q = partition(a, p, r); [INFO] [stdout] 3 | quick_sort(a, p, &(q - 1)); [INFO] [stdout] | -------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sort/bucket.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..=n {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sort/bucket.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | for i in 0..=n - 1 {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/sort/bucket.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | fn sort(arr: &mut Vec, n: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sort/bucket.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let n = arr.len() - 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/sort/bucket.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let k = *arr.iter().max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/bucket.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut arr: Vec = vec![16, 14, 10, 8, 7, 9, 3, 2, 4, 1]; [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: unused variable: `i` [INFO] [stdout] --> src/sort/bucket.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..=n {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sort/bucket.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | for i in 0..=n - 1 {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr` [INFO] [stdout] --> src/sort/bucket.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | fn sort(arr: &mut Vec, n: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sort/bucket.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let n = arr.len() - 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/sort/bucket.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let k = *arr.iter().max().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sort/bucket.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut arr: Vec = vec![16, 14, 10, 8, 7, 9, 3, 2, 4, 1]; [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: variable does not need to be mutable [INFO] [stdout] --> src/data_structure/queue.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut new_node = Node::new(x); [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_structure/queue.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | self.head.take().map(|mut head| { [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_structure/queue.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut new_node = Node::new(x); [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_structure/queue.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | self.head.take().map(|mut head| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph_algorithm/breadth_first_search.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graph_algorithm/breadth_first_search.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/conding_test/backjun/back1253.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/backjun/back1253.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut find = v[k]; [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/conding_test/books/a01.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/backjun/back1253.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/backjun/back1253.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut find = v[k]; [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/conding_test/books/a01.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a02.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a02.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a03.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a03.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a04.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a04.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a05.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a05.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a06.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a06.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a07.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reader = BufReader::new(stdin().lock()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/conding_test/books/a11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut a = [0; 100009]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/conding_test/books/a07.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reader = BufReader::new(stdin().lock()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/conding_test/books/a11.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut a = [0; 100009]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/conding_test/books/a11.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut a = [0; 100009]; [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/conding_test/books/a11.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/a11.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut a = [0; 100009]; [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/conding_test/books/b02.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/b02.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/b03.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [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/conding_test/books/b03.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut reader = BufReader::new(stdin().lock()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parent` is never used [INFO] [stdout] --> src/sort/heap.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parent(i: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/sort/bucket.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sort(arr: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/data_structure/hash_table.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/data_structure/hash_table.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_hash_code`, `search_key`, and `put` are never used [INFO] [stdout] --> src/data_structure/hash_table.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl HashTable { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 14 | fn get_hash_code() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn search_key() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | fn put() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/data_structure/queue.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Queue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> src/data_structure/red_black_tree.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn example(){} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_multiply` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn matrix_multiply( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_matrix` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn pad_matrix(matrix: &Vec>, new_size: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpad_matrix` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn unpad_matrix(matrix: Vec>, original_size: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bfs` is never used [INFO] [stdout] --> src/graph_algorithm/breadth_first_search.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn bfs(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/graph_algorithm/depth_first_tree.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn dfs(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_visit` is never used [INFO] [stdout] --> src/graph_algorithm/depth_first_tree.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn dfs_visit(){} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_1.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solution(movie: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_2.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn solution(p: String, n: i32) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_2.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn distance(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_size` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn vector_size(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_fn` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn inner_fn(x: f64, y: f64, x1: f64, y1: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_5.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn solution(foods: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_5.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/backjun/back1253.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a04.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a05.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a06.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a07.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/conding_test/books/a11.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn search(x: i32, n: i32, a: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a11.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a16.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a08.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parent` is never used [INFO] [stdout] --> src/sort/heap.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn parent(i: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/sort/bucket.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sort(arr: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/data_structure/hash_table.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/data_structure/hash_table.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_hash_code`, `search_key`, and `put` are never used [INFO] [stdout] --> src/data_structure/hash_table.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl HashTable { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 14 | fn get_hash_code() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn search_key() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | fn put() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/data_structure/queue.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Queue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> src/data_structure/red_black_tree.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn example(){} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_multiply` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn matrix_multiply( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_matrix` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn pad_matrix(matrix: &Vec>, new_size: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpad_matrix` is never used [INFO] [stdout] --> src/divide_and_conquer/matrix_multiply.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn unpad_matrix(matrix: Vec>, original_size: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bfs` is never used [INFO] [stdout] --> src/graph_algorithm/breadth_first_search.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn bfs(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/graph_algorithm/depth_first_tree.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn dfs(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs_visit` is never used [INFO] [stdout] --> src/graph_algorithm/depth_first_tree.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn dfs_visit(){} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_1.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn solution(movie: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_2.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn solution(p: String, n: i32) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_2.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fn distance(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_size` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn vector_size(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_fn` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn inner_fn(x: f64, y: f64, x1: f64, y1: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_3.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_5.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn solution(foods: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/ahrab/ahrab_5.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/backjun/back1253.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a04.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a05.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a06.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a07.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search` is never used [INFO] [stdout] --> src/conding_test/books/a11.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn search(x: i32, n: i32, a: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a11.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a16.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/conding_test/books/a08.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bubble`, `bucket`, `counting`, `data_structure`, `divide_and_conquer::matrix_multiply`, `graph_algorithm::breadth_first_search`, `heap`, `insertion`, `lotto`, `merge`, `select`, `self`, and `utils::horner` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | conding_test, data_structure, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | divide_and_conquer::matrix_multiply, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | graph_algorithm::breadth_first_search, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | lotto, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | sort::{self, bubble, bucket, counting, heap, insertion, merge, select}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 7 | utils::horner, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bubble`, `bucket`, `counting`, `data_structure`, `divide_and_conquer::matrix_multiply`, `graph_algorithm::breadth_first_search`, `heap`, `insertion`, `lotto`, `merge`, `select`, `self`, and `utils::horner` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | conding_test, data_structure, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | divide_and_conquer::matrix_multiply, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | graph_algorithm::breadth_first_search, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | lotto, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | sort::{self, bubble, bucket, counting, heap, insertion, merge, select}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 7 | utils::horner, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s [INFO] running `Command { std: "docker" "inspect" "02ee93c3fa3b0856bf9819ad30363b40db6a3288fd5b70d973032ccab1f433f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02ee93c3fa3b0856bf9819ad30363b40db6a3288fd5b70d973032ccab1f433f1", kill_on_drop: false }` [INFO] [stdout] 02ee93c3fa3b0856bf9819ad30363b40db6a3288fd5b70d973032ccab1f433f1