[INFO] cloning repository https://github.com/wsafight/leetcode-collection-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wsafight/leetcode-collection-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsafight%2Fleetcode-collection-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsafight%2Fleetcode-collection-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26df66cc3f98caeebb58894e32f744e8423ffd42
[INFO] checking wsafight/leetcode-collection-rust against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwsafight%2Fleetcode-collection-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wsafight/leetcode-collection-rust
[INFO] finished tweaking git repo https://github.com/wsafight/leetcode-collection-rust
[INFO] tweaked toml for git repo https://github.com/wsafight/leetcode-collection-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wsafight/leetcode-collection-rust on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wsafight/leetcode-collection-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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.9.0
[INFO] [stderr]   Downloaded wit-bindgen-rt v0.33.0
[INFO] [stderr]   Downloaded rand_core v0.9.1
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.20
[INFO] [stderr]   Downloaded getrandom v0.3.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.35
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.18
[INFO] [stderr]   Downloaded wasi v0.13.3+wasi-0.2.2
[INFO] [stderr]   Downloaded zerocopy v0.7.35
[INFO] [stderr]   Downloaded zerocopy v0.8.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14a115fcffd0ca316db3b5c9ce5d9bb72f1abebcc93a924c220528f62655026f
[INFO] running `Command { std: "docker" "start" "-a" "14a115fcffd0ca316db3b5c9ce5d9bb72f1abebcc93a924c220528f62655026f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14a115fcffd0ca316db3b5c9ce5d9bb72f1abebcc93a924c220528f62655026f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14a115fcffd0ca316db3b5c9ce5d9bb72f1abebcc93a924c220528f62655026f", kill_on_drop: false }`
[INFO] [stdout] 14a115fcffd0ca316db3b5c9ce5d9bb72f1abebcc93a924c220528f62655026f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6757e2cf478e3be1847b37be9de4272eae046ef255c320b89eff5aa6b9b8e586
[INFO] running `Command { std: "docker" "start" "-a" "6757e2cf478e3be1847b37be9de4272eae046ef255c320b89eff5aa6b9b8e586", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.18
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking rand_core v0.9.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking leetcodde-collection-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::remove_duplicates::*`
[INFO] [stdout]  --> src/array/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::remove_duplicates::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/double_point/sort_color.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |             if (p0 < p1) {
[INFO] [stdout]   |                ^       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -             if (p0 < p1) {
[INFO] [stdout] 8 +             if p0 < p1  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::pair_sums::*`
[INFO] [stdout]   --> src/double_point/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use self::pair_sums::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/linked_list/merge.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/linked_list/merge.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/linked_list/random.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random_range, Rng};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::length_of_longest_substr::*`
[INFO] [stdout]  --> src/window/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use self::length_of_longest_substr::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]  --> src/array/merge_arr.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn merge(num1: &mut Vec<i32>) {}
[INFO] [stdout]   |              ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/str/find_anagrams.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn find_anagrams(s: &str, target: &str) -> Vec<usize> {
[INFO] [stdout]   |                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]  --> src/str/find_anagrams.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn find_anagrams(s: &str, target: &str) -> Vec<usize> {
[INFO] [stdout]   |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]  --> src/array/remove_duplicates.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[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 `merge_k_list` is never used
[INFO] [stdout]   --> src/linked_list/merge.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn merge_k_list(lists: Vec<Option<Box<ListNode>>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `values` is never read
[INFO] [stdout]  --> src/linked_list/random.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct RandomSolution {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 6 |     values: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_random` are never used
[INFO] [stdout]   --> src/linked_list/random.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RandomSolution {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(head: Option<Box<ListNode>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn get_random(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `head` is never read
[INFO] [stdout]   --> src/linked_list/random.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RandomSolution2 {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 27 |     head: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::remove_duplicates::*`
[INFO] [stdout]  --> src/array/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::remove_duplicates::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/double_point/sort_color.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |             if (p0 < p1) {
[INFO] [stdout]   |                ^       ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 8 -             if (p0 < p1) {
[INFO] [stdout] 8 +             if p0 < p1  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::pair_sums::*`
[INFO] [stdout]   --> src/double_point/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use self::pair_sums::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/linked_list/merge.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BinaryHeap`
[INFO] [stdout]  --> src/linked_list/merge.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::BinaryHeap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/linked_list/random.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{random_range, Rng};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::length_of_longest_substr::*`
[INFO] [stdout]  --> src/window/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use self::length_of_longest_substr::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num1`
[INFO] [stdout]  --> src/array/merge_arr.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn merge(num1: &mut Vec<i32>) {}
[INFO] [stdout]   |              ^^^^ help: if this is intentional, prefix it with an underscore: `_num1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> src/str/find_anagrams.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn find_anagrams(s: &str, target: &str) -> Vec<usize> {
[INFO] [stdout]   |                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]  --> src/str/find_anagrams.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn find_anagrams(s: &str, target: &str) -> Vec<usize> {
[INFO] [stdout]   |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_duplicates` is never used
[INFO] [stdout]  --> src/array/remove_duplicates.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn remove_duplicates(nums: &mut Vec<i32>) -> i32 {
[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 `test_11` is never used
[INFO] [stdout]   --> src/double_point/sort_color.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn test_11() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_k_list` is never used
[INFO] [stdout]   --> src/linked_list/merge.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn merge_k_list(lists: Vec<Option<Box<ListNode>>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `values` is never read
[INFO] [stdout]  --> src/linked_list/random.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct RandomSolution {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 6 |     values: Vec<i32>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_random` are never used
[INFO] [stdout]   --> src/linked_list/random.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RandomSolution {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(head: Option<Box<ListNode>>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn get_random(&self) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `head` is never read
[INFO] [stdout]   --> src/linked_list/random.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RandomSolution2 {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 27 |     head: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.11s
[INFO] running `Command { std: "docker" "inspect" "6757e2cf478e3be1847b37be9de4272eae046ef255c320b89eff5aa6b9b8e586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6757e2cf478e3be1847b37be9de4272eae046ef255c320b89eff5aa6b9b8e586", kill_on_drop: false }`
[INFO] [stdout] 6757e2cf478e3be1847b37be9de4272eae046ef255c320b89eff5aa6b9b8e586
