[INFO] cloning repository https://github.com/jps-rust-programming/algo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jps-rust-programming/algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjps-rust-programming%2Falgo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjps-rust-programming%2Falgo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e90420c2a71d9febe10adf39040ef9afe8ae9bba
[INFO] testing jps-rust-programming/algo against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjps-rust-programming%2Falgo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jps-rust-programming/algo
[INFO] finished tweaking git repo https://github.com/jps-rust-programming/algo
[INFO] tweaked toml for git repo https://github.com/jps-rust-programming/algo written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jps-rust-programming/algo on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jps-rust-programming/algo 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0e7eb8942d6ccad5fb4263563a47f173cc3ca6516a1b601a7e499376f15c6ea
[INFO] running `Command { std: "docker" "start" "-a" "d0e7eb8942d6ccad5fb4263563a47f173cc3ca6516a1b601a7e499376f15c6ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0e7eb8942d6ccad5fb4263563a47f173cc3ca6516a1b601a7e499376f15c6ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0e7eb8942d6ccad5fb4263563a47f173cc3ca6516a1b601a7e499376f15c6ea", kill_on_drop: false }`
[INFO] [stdout] d0e7eb8942d6ccad5fb4263563a47f173cc3ca6516a1b601a7e499376f15c6ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf46ad0ee8c5061f38c9f29103172cf0e74f92b3bb65848d93a2382472cbbf15
[INFO] running `Command { std: "docker" "start" "-a" "bf46ad0ee8c5061f38c9f29103172cf0e74f92b3bb65848d93a2382472cbbf15", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling algo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> src/array/rotate_array.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[INFO] [stdout]   |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> src/array/rotate_array.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[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/array/longest_consecutive_sequence.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut nums_set: HashSet<i32> = nums.into_iter().collect();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_array` is never used
[INFO] [stdout]  --> src/array/rotate_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: 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 `rotate` is never used
[INFO] [stdout]  --> src/array/rotate_array.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn rotate(nums: &mut Vec<i32>, k: usize) {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consecutive_sequence` is never used
[INFO] [stdout]   --> src/array/longest_consecutive_sequence.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn consecutive_sequence(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn longest_substring(s: &str) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring_mixed_case` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn longest_substring_mixed_case(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring_repeated_char` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn longest_substring_repeated_char(s: &str) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max` is never used
[INFO] [stdout]  --> src/max_and_min/max.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn max(nums: &[i32]) -> Option<i32> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prime_number` is never used
[INFO] [stdout]  --> src/prime/prime.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn prime_number(n: i32) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime_sqrt` is never used
[INFO] [stdout]   --> src/prime/prime.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn is_prime_sqrt(n: u32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime_6k` is never used
[INFO] [stdout]   --> src/prime/prime.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn is_prime_6k(n: u32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char` is never used
[INFO] [stdout]  --> src/vowel_consonant.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn check_char(a: char) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char1` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn check_char1(c: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char2` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn check_char2(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char3` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn check_char3(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char_with_array` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn check_char_with_array(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char_hashset` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn check_char_hashset(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]   --> src/hash_map/hm.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     *map.entry("key4".to_string()).or_insert(100);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let _ = *map.entry("key4".to_string()).or_insert(100);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.06s
[INFO] running `Command { std: "docker" "inspect" "bf46ad0ee8c5061f38c9f29103172cf0e74f92b3bb65848d93a2382472cbbf15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf46ad0ee8c5061f38c9f29103172cf0e74f92b3bb65848d93a2382472cbbf15", kill_on_drop: false }`
[INFO] [stdout] bf46ad0ee8c5061f38c9f29103172cf0e74f92b3bb65848d93a2382472cbbf15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3586c39710d896f5a58c2f948d1d660bac01cde8c3111a2016cc5ede12a03e0
[INFO] running `Command { std: "docker" "start" "-a" "b3586c39710d896f5a58c2f948d1d660bac01cde8c3111a2016cc5ede12a03e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling algo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `nums`
[INFO] [stdout]  --> src/array/rotate_array.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[INFO] [stdout]   |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> src/array/rotate_array.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[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/array/longest_consecutive_sequence.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut nums_set: HashSet<i32> = nums.into_iter().collect();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_array` is never used
[INFO] [stdout]  --> src/array/rotate_array.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: 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 `rotate` is never used
[INFO] [stdout]  --> src/array/rotate_array.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn rotate(nums: &mut Vec<i32>, k: usize) {
[INFO] [stdout]   |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `consecutive_sequence` is never used
[INFO] [stdout]   --> src/array/longest_consecutive_sequence.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn consecutive_sequence(nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn longest_substring(s: &str) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring_mixed_case` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn longest_substring_mixed_case(s: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_substring_repeated_char` is never used
[INFO] [stdout]   --> src/array/two_sum.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn longest_substring_repeated_char(s: &str) -> &str {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max` is never used
[INFO] [stdout]  --> src/max_and_min/max.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn max(nums: &[i32]) -> Option<i32> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prime_number` is never used
[INFO] [stdout]  --> src/prime/prime.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn prime_number(n: i32) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime_sqrt` is never used
[INFO] [stdout]   --> src/prime/prime.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn is_prime_sqrt(n: u32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_prime_6k` is never used
[INFO] [stdout]   --> src/prime/prime.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn is_prime_6k(n: u32) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char` is never used
[INFO] [stdout]  --> src/vowel_consonant.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn check_char(a: char) {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char1` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn check_char1(c: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char2` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn check_char2(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char3` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn check_char3(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char_with_array` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn check_char_with_array(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_char_hashset` is never used
[INFO] [stdout]   --> src/vowel_consonant.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn check_char_hashset(ch: char) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused unary operation that must be used
[INFO] [stdout]   --> src/hash_map/hm.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     *map.entry("key4".to_string()).or_insert(100);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let _ = *map.entry("key4".to_string()).or_insert(100);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "b3586c39710d896f5a58c2f948d1d660bac01cde8c3111a2016cc5ede12a03e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3586c39710d896f5a58c2f948d1d660bac01cde8c3111a2016cc5ede12a03e0", kill_on_drop: false }`
[INFO] [stdout] b3586c39710d896f5a58c2f948d1d660bac01cde8c3111a2016cc5ede12a03e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ca8807fe244cf92a62af6595c91ac199d13f881cd13e3fe83a3380d9cd81e2a9
[INFO] running `Command { std: "docker" "start" "-a" "ca8807fe244cf92a62af6595c91ac199d13f881cd13e3fe83a3380d9cd81e2a9", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `nums`
[INFO] [stderr]  --> src/array/rotate_array.rs:1:21
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[INFO] [stderr]   |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_nums`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]  --> src/array/rotate_array.rs:1:42
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[INFO] [stderr]   |                                          ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/array/longest_consecutive_sequence.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let mut nums_set: HashSet<i32> = nums.into_iter().collect();
[INFO] [stderr]    |         ----^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `rotate_array` is never used
[INFO] [stderr]  --> src/array/rotate_array.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn rotate_array(nums: &mut Vec<i32>, k: usize) {}
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `rotate` is never used
[INFO] [stderr]  --> src/array/rotate_array.rs:3:4
[INFO] [stderr]   |
[INFO] [stderr] 3 | fn rotate(nums: &mut Vec<i32>, k: usize) {
[INFO] [stderr]   |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `consecutive_sequence` is never used
[INFO] [stderr]   --> src/array/longest_consecutive_sequence.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn consecutive_sequence(nums: Vec<i32>) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `two_sum` is never used
[INFO] [stderr]   --> src/array/two_sum.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest_substring` is never used
[INFO] [stderr]   --> src/array/two_sum.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn longest_substring(s: &str) -> &str {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest_substring_mixed_case` is never used
[INFO] [stderr]   --> src/array/two_sum.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn longest_substring_mixed_case(s: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `longest_substring_repeated_char` is never used
[INFO] [stderr]   --> src/array/two_sum.rs:80:8
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub fn longest_substring_repeated_char(s: &str) -> &str {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `max` is never used
[INFO] [stderr]  --> src/max_and_min/max.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn max(nums: &[i32]) -> Option<i32> {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `prime_number` is never used
[INFO] [stderr]  --> src/prime/prime.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn prime_number(n: i32) -> bool {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_prime_sqrt` is never used
[INFO] [stderr]   --> src/prime/prime.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn is_prime_sqrt(n: u32) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_prime_6k` is never used
[INFO] [stderr]   --> src/prime/prime.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn is_prime_6k(n: u32) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char` is never used
[INFO] [stderr]  --> src/vowel_consonant.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn check_char(a: char) {
[INFO] [stderr]   |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char1` is never used
[INFO] [stderr]   --> src/vowel_consonant.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn check_char1(c: char) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char2` is never used
[INFO] [stderr]   --> src/vowel_consonant.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn check_char2(ch: char) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char3` is never used
[INFO] [stderr]   --> src/vowel_consonant.rs:31:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub fn check_char3(ch: char) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char_with_array` is never used
[INFO] [stderr]   --> src/vowel_consonant.rs:41:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub fn check_char_with_array(ch: char) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_char_hashset` is never used
[INFO] [stderr]   --> src/vowel_consonant.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub fn check_char_hashset(ch: char) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused unary operation that must be used
[INFO] [stderr]   --> src/hash_map/hm.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 |     *map.entry("key4".to_string()).or_insert(100);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the unary operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let _ = *map.entry("key4".to_string()).or_insert(100);
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `algo` (bin "algo" test) generated 21 warnings (run `cargo fix --bin "algo" -p algo --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/algo-3c9a19b0cd2b53f0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ca8807fe244cf92a62af6595c91ac199d13f881cd13e3fe83a3380d9cd81e2a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca8807fe244cf92a62af6595c91ac199d13f881cd13e3fe83a3380d9cd81e2a9", kill_on_drop: false }`
[INFO] [stdout] ca8807fe244cf92a62af6595c91ac199d13f881cd13e3fe83a3380d9cd81e2a9
