[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] building Joy-Zhang/leetcode-rust against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%2Fleetcode-rust" "/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/Joy-Zhang/leetcode-rust on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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-2-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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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] building Joy-Zhang/leetcode-rust against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoy-Zhang%2Fleetcode-rust" "/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/Joy-Zhang/leetcode-rust on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-2-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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da076dbe1bc67896befa52224cd676bbde2d1676da767ab6376c98309b30d514 [INFO] running `Command { std: "docker" "start" "-a" "da076dbe1bc67896befa52224cd676bbde2d1676da767ab6376c98309b30d514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da076dbe1bc67896befa52224cd676bbde2d1676da767ab6376c98309b30d514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da076dbe1bc67896befa52224cd676bbde2d1676da767ab6376c98309b30d514", kill_on_drop: false }` [INFO] [stdout] da076dbe1bc67896befa52224cd676bbde2d1676da767ab6376c98309b30d514 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed3069bb25952ff4d733323ca594a43e597490289619513b5db384da1e3b13f1 [INFO] running `Command { std: "docker" "start" "-a" "ed3069bb25952ff4d733323ca594a43e597490289619513b5db384da1e3b13f1", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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.28s [INFO] running `Command { std: "docker" "inspect" "ed3069bb25952ff4d733323ca594a43e597490289619513b5db384da1e3b13f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3069bb25952ff4d733323ca594a43e597490289619513b5db384da1e3b13f1", kill_on_drop: false }` [INFO] [stdout] ed3069bb25952ff4d733323ca594a43e597490289619513b5db384da1e3b13f1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9528bb2eae533d354fad65d95a0c5bf77eea66a4489f69e86c8be24f843b1ec [INFO] running `Command { std: "docker" "start" "-a" "a9528bb2eae533d354fad65d95a0c5bf77eea66a4489f69e86c8be24f843b1ec", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "a9528bb2eae533d354fad65d95a0c5bf77eea66a4489f69e86c8be24f843b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9528bb2eae533d354fad65d95a0c5bf77eea66a4489f69e86c8be24f843b1ec", kill_on_drop: false }` [INFO] [stdout] a9528bb2eae533d354fad65d95a0c5bf77eea66a4489f69e86c8be24f843b1ec