[INFO] cloning repository https://github.com/jonasbas/baseball_scorer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonasbas/baseball_scorer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbas%2Fbaseball_scorer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbas%2Fbaseball_scorer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3adcfd991efdd1adaa081f1948ac54c7e81c7a69 [INFO] checking jonasbas/baseball_scorer against master#27d8a577138c0d319a572cd1a464c2b755e577de for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbas%2Fbaseball_scorer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonasbas/baseball_scorer on toolchain 27d8a577138c0d319a572cd1a464c2b755e577de [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] finished tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] tweaked toml for git repo https://github.com/jonasbas/baseball_scorer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonasbas/baseball_scorer 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" "+27d8a577138c0d319a572cd1a464c2b755e577de" "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 jonasbas/baseball_scorer against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbas%2Fbaseball_scorer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonasbas/baseball_scorer on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] finished tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] tweaked toml for git repo https://github.com/jonasbas/baseball_scorer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonasbas/baseball_scorer 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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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 jonasbas/baseball_scorer against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasbas%2Fbaseball_scorer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonasbas/baseball_scorer on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] finished tweaking git repo https://github.com/jonasbas/baseball_scorer [INFO] tweaked toml for git repo https://github.com/jonasbas/baseball_scorer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonasbas/baseball_scorer 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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22bc580216f44cee0e617a93a004ed8f928588055a81cbf1a991e6e1e1e6e4a0 [INFO] running `Command { std: "docker" "start" "-a" "22bc580216f44cee0e617a93a004ed8f928588055a81cbf1a991e6e1e1e6e4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22bc580216f44cee0e617a93a004ed8f928588055a81cbf1a991e6e1e1e6e4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22bc580216f44cee0e617a93a004ed8f928588055a81cbf1a991e6e1e1e6e4a0", kill_on_drop: false }` [INFO] [stdout] 22bc580216f44cee0e617a93a004ed8f928588055a81cbf1a991e6e1e1e6e4a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57b03307f52a6a5b0400e08e11acd4b9aa1cc5144223716795182ca76685741c [INFO] running `Command { std: "docker" "start" "-a" "57b03307f52a6a5b0400e08e11acd4b9aa1cc5144223716795182ca76685741c", kill_on_drop: false }` [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking baseball_scorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `score::Score` [INFO] [stdout] --> src/inning.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{at_bat::AtBat, base::Base, player::Player, score::Score}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `score::Score` [INFO] [stdout] --> src/inning.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{at_bat::AtBat, base::Base, player::Player, score::Score}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/score.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn score_runs_home_team(&mut self, runs: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/score.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn score_runs_away_team(&mut self, runs: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/score.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn score_runs_home_team(&mut self, runs: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runs` [INFO] [stdout] --> src/score.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn score_runs_away_team(&mut self, runs: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_runs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `innings` is never read [INFO] [stdout] --> src/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Gamestate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | innings: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `half` are never read [INFO] [stdout] --> src/inning.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InningHalf { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | number: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | half: Half, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InningHalf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/player.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Position { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | Catcher, [INFO] [stdout] 13 | FirstBase, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | SecondBase, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | ThirdBase, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | ShortStop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | LeftField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | CenterField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | RightField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Pitcher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | DesignatedHitter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `substitutes`, `pitcher`, and `location` are never read [INFO] [stdout] --> src/team.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub batting_order: Vec, [INFO] [stdout] 13 | substitutes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pitcher: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_team_with_players` is never used [INFO] [stdout] --> src/team.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Team { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_team_with_players(location: Location) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `innings` is never read [INFO] [stdout] --> src/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Gamestate { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | innings: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number` and `half` are never read [INFO] [stdout] --> src/inning.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct InningHalf { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | number: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | half: Half, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InningHalf` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/player.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Position { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | Catcher, [INFO] [stdout] 13 | FirstBase, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | SecondBase, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | ThirdBase, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | ShortStop, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | LeftField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | CenterField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | RightField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | Pitcher, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | DesignatedHitter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `substitutes`, `pitcher`, and `location` are never read [INFO] [stdout] --> src/team.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub batting_order: Vec, [INFO] [stdout] 13 | substitutes: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pitcher: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_team_with_players` is never used [INFO] [stdout] --> src/team.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Team { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn create_team_with_players(location: Location) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "57b03307f52a6a5b0400e08e11acd4b9aa1cc5144223716795182ca76685741c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b03307f52a6a5b0400e08e11acd4b9aa1cc5144223716795182ca76685741c", kill_on_drop: false }` [INFO] [stdout] 57b03307f52a6a5b0400e08e11acd4b9aa1cc5144223716795182ca76685741c