[INFO] cloning repository https://github.com/Joy-Zhang/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/Joy-Zhang/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 370606f299182b9df9077d2ef69ff958e5c56831 [INFO] checking Joy-Zhang/leetcode-rust against master#52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%2Fleetcode-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joy-Zhang/leetcode-rust on toolchain 52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] finished tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] tweaked toml for git repo https://github.com/Joy-Zhang/leetcode-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Joy-Zhang/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" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "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 Joy-Zhang/leetcode-rust against try#6223d840318ac1f9c8b6bf3aef24c3ff67683479 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%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/Joy-Zhang/leetcode-rust on toolchain 6223d840318ac1f9c8b6bf3aef24c3ff67683479 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] finished tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] tweaked toml for git repo https://github.com/Joy-Zhang/leetcode-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Joy-Zhang/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" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "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 Joy-Zhang/leetcode-rust against try#6223d840318ac1f9c8b6bf3aef24c3ff67683479 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%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/Joy-Zhang/leetcode-rust on toolchain 6223d840318ac1f9c8b6bf3aef24c3ff67683479 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] finished tweaking git repo https://github.com/Joy-Zhang/leetcode-rust [INFO] tweaked toml for git repo https://github.com/Joy-Zhang/leetcode-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Joy-Zhang/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" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d359995b699cd4b1cf97a2fa32092af9582784a0f4f7370c5192e2119507b45 [INFO] running `Command { std: "docker" "start" "-a" "4d359995b699cd4b1cf97a2fa32092af9582784a0f4f7370c5192e2119507b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d359995b699cd4b1cf97a2fa32092af9582784a0f4f7370c5192e2119507b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d359995b699cd4b1cf97a2fa32092af9582784a0f4f7370c5192e2119507b45", kill_on_drop: false }` [INFO] [stdout] 4d359995b699cd4b1cf97a2fa32092af9582784a0f4f7370c5192e2119507b45 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dd0c53226f9d3f0ea87e9cc38f857b8cc4dc5702c1299d95a5c09eb13090c6e [INFO] running `Command { std: "docker" "start" "-a" "0dd0c53226f9d3f0ea87e9cc38f857b8cc4dc5702c1299d95a5c09eb13090c6e", kill_on_drop: false }` [INFO] [stderr] Checking leetcode-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::leetcode::TreeNode` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::leetcode::TreeNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::leetcode::TreeNode` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::leetcode::TreeNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_number` is never used [INFO] [stdout] --> src/_136.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/leetcode.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | #[inline] [INFO] [stdout] 13 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_rl_elist` is never used [INFO] [stdout] --> src/_1313.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn decompress_rl_elist(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_operations` is never used [INFO] [stdout] --> src/_1598.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_operations(logs: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_groups_size_x` is never used [INFO] [stdout] --> src/_914.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn has_groups_size_x(deck: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_digits` is never used [INFO] [stdout] --> src/_2520.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn count_digits(num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_place_flowers` is never used [INFO] [stdout] --> src/_605.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_place_flowers(mut flowerbed: Vec, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_bit_flips` is never used [INFO] [stdout] --> src/_2220.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_bit_flips(start: i32, goal: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_the_string` is never used [INFO] [stdout] --> src/_1374.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_the_string(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_cross` is never used [INFO] [stdout] --> src/_403.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn can_cross(stones: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_number` is never used [INFO] [stdout] --> src/_136.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/leetcode.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | #[inline] [INFO] [stdout] 13 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress_rl_elist` is never used [INFO] [stdout] --> src/_1313.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn decompress_rl_elist(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_operations` is never used [INFO] [stdout] --> src/_1598.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_operations(logs: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_groups_size_x` is never used [INFO] [stdout] --> src/_914.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn has_groups_size_x(deck: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_digits` is never used [INFO] [stdout] --> src/_2520.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn count_digits(num: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_place_flowers` is never used [INFO] [stdout] --> src/_605.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn can_place_flowers(mut flowerbed: Vec, n: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_bit_flips` is never used [INFO] [stdout] --> src/_2220.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn min_bit_flips(start: i32, goal: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_the_string` is never used [INFO] [stdout] --> src/_1374.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_the_string(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_cross` is never used [INFO] [stdout] --> src/_403.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn can_cross(stones: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "0dd0c53226f9d3f0ea87e9cc38f857b8cc4dc5702c1299d95a5c09eb13090c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd0c53226f9d3f0ea87e9cc38f857b8cc4dc5702c1299d95a5c09eb13090c6e", kill_on_drop: false }` [INFO] [stdout] 0dd0c53226f9d3f0ea87e9cc38f857b8cc4dc5702c1299d95a5c09eb13090c6e