[INFO] cloning repository https://github.com/EleisonC/LeetCode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EleisonC/LeetCode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleisonC%2FLeetCode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleisonC%2FLeetCode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b47cdf312572db654ce21dfb8cb03375d1b3a444
[INFO] checking EleisonC/LeetCode/b47cdf312572db654ce21dfb8cb03375d1b3a444 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEleisonC%2FLeetCode" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EleisonC/LeetCode
[INFO] finished tweaking git repo https://github.com/EleisonC/LeetCode
[INFO] tweaked toml for git repo https://github.com/EleisonC/LeetCode written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EleisonC/LeetCode on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EleisonC/LeetCode 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da
[INFO] running `Command { std: "docker" "start" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `iter::once` and `path::Display`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter::once, path::Display};
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash` and `num`
[INFO] [stdout]  --> src/leetcode.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::{hash, num};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `iter::once` and `path::Display`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter::once, path::Display};
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash` and `num`
[INFO] [stdout]  --> src/leetcode.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::{hash, num};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/leetcode.rs:292:10
[INFO] [stdout]     |
[INFO] [stdout] 292 |     let (mut curr, mut prev) = (fruits[0], None);
[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/leetcode.rs:292:20
[INFO] [stdout]     |
[INFO] [stdout] 292 |     let (mut curr, mut prev) = (fruits[0], None);
[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/leetcode.rs:292:10
[INFO] [stdout]     |
[INFO] [stdout] 292 |     let (mut curr, mut prev) = (fruits[0], None);
[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/leetcode.rs:292:20
[INFO] [stdout]     |
[INFO] [stdout] 292 |     let (mut curr, mut prev) = (fruits[0], None);
[INFO] [stdout]     |                    ----^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_palindrome` is never used
[INFO] [stdout]  --> src/leetcode.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_palindrome(s: String) -> bool {
[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 `three_sum` is never used
[INFO] [stdout]   --> src/leetcode.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min_sub_array_len` is never used
[INFO] [stdout]   --> src/leetcode.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn min_sub_array_len(target: i32, nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_of_longest_substring` is never used
[INFO] [stdout]   --> src/leetcode.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_area` is never used
[INFO] [stdout]    --> src/leetcode.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `character_replacement` is never used
[INFO] [stdout]    --> src/leetcode.rs:164:8
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub fn character_replacement (s: String, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]    --> src/leetcode.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn two_sum(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_sum_subarray` is never used
[INFO] [stdout]    --> src/leetcode.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn max_sum_subarray(numbers: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]    --> src/leetcode.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_fruit` is never used
[INFO] [stdout]    --> src/leetcode.rs:264:8
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub fn total_fruit(fruits: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_fruit_v2` is never used
[INFO] [stdout]    --> src/leetcode.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn total_fruit_v2(fruits: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_inclusion` is never used
[INFO] [stdout]    --> src/leetcode.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn check_inclusion(s1: String, s2: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_colors` is never used
[INFO] [stdout]    --> src/leetcode.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_anagrams` is never used
[INFO] [stdout]    --> src/leetcode.rs:365:8
[INFO] [stdout]     |
[INFO] [stdout] 365 | pub fn find_anagrams(s: String, p: String) -> Vec<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_ones` is never used
[INFO] [stdout]    --> src/leetcode.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn longest_ones(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `subarrays_with_k_distinct` is never used
[INFO] [stdout]    --> src/leetcode.rs:423:8
[INFO] [stdout]     |
[INFO] [stdout] 423 | pub fn subarrays_with_k_distinct(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_zeroes` is never used
[INFO] [stdout]    --> src/leetcode.rs:456:8
[INFO] [stdout]     |
[INFO] [stdout] 456 | pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_palindrome` is never used
[INFO] [stdout]  --> src/leetcode.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_palindrome(s: String) -> bool {
[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 `three_sum` is never used
[INFO] [stdout]   --> src/leetcode.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn three_sum(nums: Vec<i32>) -> Vec<Vec<i32>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min_sub_array_len` is never used
[INFO] [stdout]   --> src/leetcode.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn min_sub_array_len(target: i32, nums: Vec<i32>) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_of_longest_substring` is never used
[INFO] [stdout]   --> src/leetcode.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn length_of_longest_substring(s: String) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_area` is never used
[INFO] [stdout]    --> src/leetcode.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `character_replacement` is never used
[INFO] [stdout]    --> src/leetcode.rs:164:8
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub fn character_replacement (s: String, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_sum` is never used
[INFO] [stdout]    --> src/leetcode.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn two_sum(numbers: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max_sum_subarray` is never used
[INFO] [stdout]    --> src/leetcode.rs:209:8
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn max_sum_subarray(numbers: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]    --> src/leetcode.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_fruit` is never used
[INFO] [stdout]    --> src/leetcode.rs:264:8
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub fn total_fruit(fruits: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_fruit_v2` is never used
[INFO] [stdout]    --> src/leetcode.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn total_fruit_v2(fruits: Vec<i32>) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_inclusion` is never used
[INFO] [stdout]    --> src/leetcode.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn check_inclusion(s1: String, s2: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_colors` is never used
[INFO] [stdout]    --> src/leetcode.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | pub fn sort_colors(nums: &mut Vec<i32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_anagrams` is never used
[INFO] [stdout]    --> src/leetcode.rs:365:8
[INFO] [stdout]     |
[INFO] [stdout] 365 | pub fn find_anagrams(s: String, p: String) -> Vec<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `longest_ones` is never used
[INFO] [stdout]    --> src/leetcode.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub fn longest_ones(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `subarrays_with_k_distinct` is never used
[INFO] [stdout]    --> src/leetcode.rs:423:8
[INFO] [stdout]     |
[INFO] [stdout] 423 | pub fn subarrays_with_k_distinct(nums: Vec<i32>, k: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_zeroes` is never used
[INFO] [stdout]    --> src/leetcode.rs:456:8
[INFO] [stdout]     |
[INFO] [stdout] 456 | pub fn move_zeroes(nums: &mut Vec<i32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] running `Command { std: "docker" "inspect" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da", kill_on_drop: false }`
[INFO] [stdout] d1ec670b71a1b8ab406e8b5d393c790070467965d4d25c81499cc0dbf6f5d4da
