[INFO] cloning repository https://github.com/GentBinaku/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GentBinaku/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGentBinaku%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGentBinaku%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a51798335faa7e866739a8cb131f9536a1c662a0 [INFO] checking GentBinaku/leetcode against master#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGentBinaku%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] validating manifest of git repo https://github.com/GentBinaku/leetcode on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GentBinaku/leetcode [INFO] finished tweaking git repo https://github.com/GentBinaku/leetcode [INFO] tweaked toml for git repo https://github.com/GentBinaku/leetcode written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GentBinaku/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" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking GentBinaku/leetcode against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGentBinaku%2Fleetcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GentBinaku/leetcode on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GentBinaku/leetcode [INFO] finished tweaking git repo https://github.com/GentBinaku/leetcode [INFO] tweaked toml for git repo https://github.com/GentBinaku/leetcode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GentBinaku/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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "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 GentBinaku/leetcode against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGentBinaku%2Fleetcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GentBinaku/leetcode on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GentBinaku/leetcode [INFO] finished tweaking git repo https://github.com/GentBinaku/leetcode [INFO] tweaked toml for git repo https://github.com/GentBinaku/leetcode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GentBinaku/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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eea2f06dd918c22c6306b2c15fb50a0e5fcdc477d548389950324cd531e79d16 [INFO] running `Command { std: "docker" "start" "-a" "eea2f06dd918c22c6306b2c15fb50a0e5fcdc477d548389950324cd531e79d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eea2f06dd918c22c6306b2c15fb50a0e5fcdc477d548389950324cd531e79d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea2f06dd918c22c6306b2c15fb50a0e5fcdc477d548389950324cd531e79d16", kill_on_drop: false }` [INFO] [stdout] eea2f06dd918c22c6306b2c15fb50a0e5fcdc477d548389950324cd531e79d16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e363ccd2b6f60d55e6de2a1c837562c2bf2bab1c75d5a67fc108d1f35f34064e [INFO] running `Command { std: "docker" "start" "-a" "e363ccd2b6f60d55e6de2a1c837562c2bf2bab1c75d5a67fc108d1f35f34064e", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `repeated_pattern_string::repeated_substring_pattern` [INFO] [stdout] --> src/easy/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use repeated_pattern_string::repeated_substring_pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `move_zeroes::move_zeroes` [INFO] [stdout] --> src/easy/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use move_zeroes::move_zeroes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monotonic_array::is_monotonic` [INFO] [stdout] --> src/easy/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use monotonic_array::is_monotonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roman_to_integer::roman_to_int` [INFO] [stdout] --> src/easy/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use roman_to_integer::roman_to_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `maximum_wealth::maximum_wealth` [INFO] [stdout] --> src/easy/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use maximum_wealth::maximum_wealth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::medium::spiral_matrix::Direction::Right` [INFO] [stdout] --> src/medium/spiral_matrix.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::medium::spiral_matrix::Direction::Right; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `robot::is_robot_bounded` [INFO] [stdout] --> src/medium/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use robot::is_robot_bounded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spiral_matrix::spiral_order` [INFO] [stdout] --> src/medium/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spiral_matrix::spiral_order; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `repeated_pattern_string::repeated_substring_pattern` [INFO] [stdout] --> src/easy/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use repeated_pattern_string::repeated_substring_pattern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `move_zeroes::move_zeroes` [INFO] [stdout] --> src/easy/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use move_zeroes::move_zeroes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monotonic_array::is_monotonic` [INFO] [stdout] --> src/easy/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use monotonic_array::is_monotonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::medium::spiral_matrix::Direction::Right` [INFO] [stdout] --> src/medium/spiral_matrix.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::medium::spiral_matrix::Direction::Right; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::medium::spiral_matrix` [INFO] [stdout] --> src/medium/spiral_matrix.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use crate::medium::spiral_matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spiral_matrix::spiral_order` [INFO] [stdout] --> src/medium/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spiral_matrix::spiral_order; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/easy/move_zeroes.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | for (i, item) in nums.clone().iter().enumerate(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeated_substring_pattern` is never used [INFO] [stdout] --> src/easy/repeated_pattern_string.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn repeated_substring_pattern(s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_divisors` is never used [INFO] [stdout] --> src/easy/repeated_pattern_string.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn find_all_divisors(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/easy/repeated_pattern_string.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn check(s: &Vec, sub: &[char]) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_zeroes` is never used [INFO] [stdout] --> src/easy/move_zeroes.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn move_zeroes(nums: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_monotonic` is never used [INFO] [stdout] --> src/easy/monotonic_array.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_monotonic(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roman_to_int` is never used [INFO] [stdout] --> src/easy/roman_to_integer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maximum_wealth` is never used [INFO] [stdout] --> src/easy/maximum_wealth.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn maximum_wealth(accounts: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_robot_bounded` is never used [INFO] [stdout] --> src/medium/robot.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_robot_bounded(instructions: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/medium/spiral_matrix.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spiral_order` is never used [INFO] [stdout] --> src/medium/spiral_matrix.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn spiral_order(matrix: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/easy/move_zeroes.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | for (i, item) in nums.clone().iter().enumerate(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roman_to_int` is never used [INFO] [stdout] --> src/easy/roman_to_integer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_true` is never used [INFO] [stdout] --> src/easy/roman_to_integer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn should_true(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "e363ccd2b6f60d55e6de2a1c837562c2bf2bab1c75d5a67fc108d1f35f34064e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e363ccd2b6f60d55e6de2a1c837562c2bf2bab1c75d5a67fc108d1f35f34064e", kill_on_drop: false }` [INFO] [stdout] e363ccd2b6f60d55e6de2a1c837562c2bf2bab1c75d5a67fc108d1f35f34064e