[INFO] cloning repository https://github.com/gihwan-dev/rust-algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gihwan-dev/rust-algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgihwan-dev%2Frust-algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgihwan-dev%2Frust-algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bdc633e65bcf9c548c7bef446ae25891d8745c8 [INFO] checking gihwan-dev/rust-algorithm against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgihwan-dev%2Frust-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/gihwan-dev/rust-algorithm on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gihwan-dev/rust-algorithm [INFO] finished tweaking git repo https://github.com/gihwan-dev/rust-algorithm [INFO] tweaked toml for git repo https://github.com/gihwan-dev/rust-algorithm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gihwan-dev/rust-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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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 gihwan-dev/rust-algorithm against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgihwan-dev%2Frust-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/gihwan-dev/rust-algorithm on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gihwan-dev/rust-algorithm [INFO] finished tweaking git repo https://github.com/gihwan-dev/rust-algorithm [INFO] tweaked toml for git repo https://github.com/gihwan-dev/rust-algorithm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gihwan-dev/rust-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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "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-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e2e66531f0e766ae4eea5994a0411d0e82055747d8dc6cbfd3eabb4ab9ae694 [INFO] running `Command { std: "docker" "start" "-a" "1e2e66531f0e766ae4eea5994a0411d0e82055747d8dc6cbfd3eabb4ab9ae694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2e66531f0e766ae4eea5994a0411d0e82055747d8dc6cbfd3eabb4ab9ae694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2e66531f0e766ae4eea5994a0411d0e82055747d8dc6cbfd3eabb4ab9ae694", kill_on_drop: false }` [INFO] [stdout] 1e2e66531f0e766ae4eea5994a0411d0e82055747d8dc6cbfd3eabb4ab9ae694 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c010bf2e55134e94dd6472a9211b92e32a645d1a5f858ccc39266465e97c78e [INFO] running `Command { std: "docker" "start" "-a" "9c010bf2e55134e94dd6472a9211b92e32a645d1a5f858ccc39266465e97c78e", kill_on_drop: false }` [INFO] [stderr] Checking algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/zig_zag_conversion.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert` is never used [INFO] [stdout] --> src/algorithms/zig_zag_conversion.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn convert(s: String, num_rows: i32) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/find_index_of_the_first_occurrence_in_a_string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `str_str` is never used [INFO] [stdout] --> src/algorithms/find_index_of_the_first_occurrence_in_a_string.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn str_str(haystack: String, needle: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/text_justification.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `full_justify` is never used [INFO] [stdout] --> src/algorithms/text_justification.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn full_justify(words: Vec, max_width: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/valid_palindrome.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_palindrome` is never used [INFO] [stdout] --> src/algorithms/valid_palindrome.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn is_palindrome(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/is_subsequence.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_subsequence` is never used [INFO] [stdout] --> src/algorithms/is_subsequence.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/is_subsequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_subsequence` is never used [INFO] [stdout] --> src/algorithms/is_subsequence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `two_sum` is never used [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 6 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `two_sum` is never used [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 26 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `max_area` is never used [INFO] [stdout] --> src/algorithms/container_with_most_water.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 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `max_area` is never used [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 30 | pub fn max_area(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/find_index_of_the_first_occurrence_in_a_string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `str_str` is never used [INFO] [stdout] --> src/algorithms/find_index_of_the_first_occurrence_in_a_string.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn str_str(haystack: String, needle: String) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/text_justification.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `full_justify` is never used [INFO] [stdout] --> src/algorithms/text_justification.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn full_justify(words: Vec, max_width: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/is_subsequence.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_subsequence` is never used [INFO] [stdout] --> src/algorithms/is_subsequence.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub fn is_subsequence(s: String, t: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `two_sum` is never used [INFO] [stdout] --> src/algorithms/two_sum_2_input_array_is_sorted.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 26 | pub fn two_sum(numbers: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `max_area` is never used [INFO] [stdout] --> src/algorithms/container_with_most_water.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 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BestSolution` is never constructed [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct BestSolution {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `max_area` is never used [INFO] [stdout] --> src/algorithms/container_with_most_water.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BestSolution { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 30 | pub fn max_area(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "9c010bf2e55134e94dd6472a9211b92e32a645d1a5f858ccc39266465e97c78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c010bf2e55134e94dd6472a9211b92e32a645d1a5f858ccc39266465e97c78e", kill_on_drop: false }` [INFO] [stdout] 9c010bf2e55134e94dd6472a9211b92e32a645d1a5f858ccc39266465e97c78e