[INFO] cloning repository https://github.com/JoverZhang/leetcode.rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoverZhang/leetcode.rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoverZhang%2Fleetcode.rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoverZhang%2Fleetcode.rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edac5248db5df77c6d4954d69cbd4635965fbebb
[INFO] checking JoverZhang/leetcode.rust against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoverZhang%2Fleetcode.rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JoverZhang/leetcode.rust on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JoverZhang/leetcode.rust
[INFO] finished tweaking git repo https://github.com/JoverZhang/leetcode.rust
[INFO] tweaked toml for git repo https://github.com/JoverZhang/leetcode.rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JoverZhang/leetcode.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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking JoverZhang/leetcode.rust against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoverZhang%2Fleetcode.rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JoverZhang/leetcode.rust on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JoverZhang/leetcode.rust
[INFO] finished tweaking git repo https://github.com/JoverZhang/leetcode.rust
[INFO] tweaked toml for git repo https://github.com/JoverZhang/leetcode.rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JoverZhang/leetcode.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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88a753f33cd4aebb96fa3b27fd7b079ad65106feb1a1478bfc043785cf8eb361
[INFO] running `Command { std: "docker" "start" "-a" "88a753f33cd4aebb96fa3b27fd7b079ad65106feb1a1478bfc043785cf8eb361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88a753f33cd4aebb96fa3b27fd7b079ad65106feb1a1478bfc043785cf8eb361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88a753f33cd4aebb96fa3b27fd7b079ad65106feb1a1478bfc043785cf8eb361", kill_on_drop: false }`
[INFO] [stdout] 88a753f33cd4aebb96fa3b27fd7b079ad65106feb1a1478bfc043785cf8eb361
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac8b104f7c5d8a57a1b1dd526f9062ed728af0587d2b639f2175cf63ade31c7d
[INFO] running `Command { std: "docker" "start" "-a" "ac8b104f7c5d8a57a1b1dd526f9062ed728af0587d2b639f2175cf63ade31c7d", kill_on_drop: false }`
[INFO] [stderr]     Checking algorithm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/basic/calc.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `add`, `minus`, `multiple`, `div`, `divide`, and `is_neg` are never used
[INFO] [stdout]   --> src/basic/calc.rs:4:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 4  |   pub fn add(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |   pub fn minus(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |   pub fn multiple(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |   fn div(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |   pub fn divide(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |   fn is_neg(n: i32) -> bool {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q11.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max_area` is never used
[INFO] [stdout]  --> src/q11.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn max_area(height: Vec<i32>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q12.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `parse_1`, `parse_2`, `parse_3`, `parse_4`, and `int_to_roman` are never used
[INFO] [stdout]   --> src/q12.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 4  |     fn parse_1(num: i32) -> &'static str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn parse_2(num: i32) -> &'static str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn parse_3(num: i32) -> &'static str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn parse_4(num: i32) -> &'static str {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BestSolution` is never constructed
[INFO] [stdout]    --> src/q12.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct BestSolution {}
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `int_to_roman` is never used
[INFO] [stdout]    --> src/q12.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl BestSolution {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 105 |     pub fn int_to_roman(num: i32) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q14.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `longest_common_prefix` is never used
[INFO] [stdout]  --> src/q14.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn longest_common_prefix(strs: Vec<String>) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q20.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid` is never used
[INFO] [stdout]  --> src/q20.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn is_valid(s: String) -> bool {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1342.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `number_of_steps` is never used
[INFO] [stdout]  --> src/q1342.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn number_of_steps(num: i32) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1389.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_target_array` is never used
[INFO] [stdout]  --> src/q1389.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn create_target_array(nums: Vec<i32>, index: Vec<i32>) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1470.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `shuffle` is never used
[INFO] [stdout]  --> src/q1470.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn shuffle(nums: Vec<i32>, n: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1528.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `restore_string` is never used
[INFO] [stdout]  --> src/q1528.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn restore_string(s: String, indices: Vec<i32>) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1678.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `interpret` is never used
[INFO] [stdout]  --> src/q1678.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn interpret(command: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BestSolution` is never constructed
[INFO] [stdout]   --> src/q1678.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct BestSolution {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `interpret` is never used
[INFO] [stdout]   --> src/q1678.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl BestSolution {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn interpret(command: String) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1689.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_partitions` is never used
[INFO] [stdout]  --> src/q1689.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 6 |     pub fn min_partitions(n: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q1769.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_operations` is never used
[INFO] [stdout]  --> src/q1769.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn min_operations(boxes: String) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BestSolution` is never constructed
[INFO] [stdout]   --> src/q1769.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct BestSolution {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `min_operations` is never used
[INFO] [stdout]   --> src/q1769.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl BestSolution {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 32 |     pub fn min_operations(boxes: String) -> Vec<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/q2011.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `final_value_after_operations` is never used
[INFO] [stdout]  --> src/q2011.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 4 |     pub fn final_value_after_operations(operations: Vec<String>) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "ac8b104f7c5d8a57a1b1dd526f9062ed728af0587d2b639f2175cf63ade31c7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac8b104f7c5d8a57a1b1dd526f9062ed728af0587d2b639f2175cf63ade31c7d", kill_on_drop: false }`
[INFO] [stdout] ac8b104f7c5d8a57a1b1dd526f9062ed728af0587d2b639f2175cf63ade31c7d
