[INFO] cloning repository https://github.com/ddprrt/rust-task-lotto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddprrt/rust-task-lotto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddprrt%2Frust-task-lotto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddprrt%2Frust-task-lotto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3f3abb4987127dc1d1e5fdd5020d02623b828cb [INFO] checking ddprrt/rust-task-lotto against master#e08b80c0fb7667bdcd040761891701e576c42ec8 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddprrt%2Frust-task-lotto" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddprrt/rust-task-lotto on toolchain e08b80c0fb7667bdcd040761891701e576c42ec8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ddprrt/rust-task-lotto [INFO] finished tweaking git repo https://github.com/ddprrt/rust-task-lotto [INFO] tweaked toml for git repo https://github.com/ddprrt/rust-task-lotto written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ddprrt/rust-task-lotto 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" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "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 [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 ddprrt/rust-task-lotto against try#f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddprrt%2Frust-task-lotto" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddprrt/rust-task-lotto on toolchain f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ddprrt/rust-task-lotto [INFO] finished tweaking git repo https://github.com/ddprrt/rust-task-lotto [INFO] tweaked toml for git repo https://github.com/ddprrt/rust-task-lotto written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ddprrt/rust-task-lotto 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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61fb93eaa34d86da15b689e59290a54f7c4552b6264f1a0a0c4480c49aa35b5b [INFO] running `Command { std: "docker" "start" "-a" "61fb93eaa34d86da15b689e59290a54f7c4552b6264f1a0a0c4480c49aa35b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61fb93eaa34d86da15b689e59290a54f7c4552b6264f1a0a0c4480c49aa35b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fb93eaa34d86da15b689e59290a54f7c4552b6264f1a0a0c4480c49aa35b5b", kill_on_drop: false }` [INFO] [stdout] 61fb93eaa34d86da15b689e59290a54f7c4552b6264f1a0a0c4480c49aa35b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f9b8c8cb4f3b1c1984a66edd70f8aaef9683c66176c41b9f22fc6eb2d06d8b [INFO] running `Command { std: "docker" "start" "-a" "e0f9b8c8cb4f3b1c1984a66edd70f8aaef9683c66176c41b9f22fc6eb2d06d8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rust-task-lotto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `prelude::IteratorRandom` and `thread_rng` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{prelude::IteratorRandom, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::IteratorRandom` and `thread_rng` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{prelude::IteratorRandom, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(take: usize, from: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_take` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(take: usize, from: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotto` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn format_lotto_results(lotto: &Lotto) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lotto` is never constructed [INFO] [stdout] --> src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Lotto { [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/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lotto { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 12 | fn new(take: usize, from: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_lotto_results` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn format_lotto_results(lotto: &Lotto) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `take` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(take: usize, from: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_take` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(take: usize, from: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotto` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn format_lotto_results(lotto: &Lotto) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `take` and `from` are never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Lotto { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | take: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | from: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "e0f9b8c8cb4f3b1c1984a66edd70f8aaef9683c66176c41b9f22fc6eb2d06d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f9b8c8cb4f3b1c1984a66edd70f8aaef9683c66176c41b9f22fc6eb2d06d8b", kill_on_drop: false }` [INFO] [stdout] e0f9b8c8cb4f3b1c1984a66edd70f8aaef9683c66176c41b9f22fc6eb2d06d8b