[INFO] cloning repository https://github.com/herzrasen/herzrasen-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/herzrasen/herzrasen-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherzrasen%2Fherzrasen-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherzrasen%2Fherzrasen-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57cbcbad536945b359445b56546d92875eb7f874
[INFO] checking herzrasen/herzrasen-rs against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherzrasen%2Fherzrasen-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/herzrasen/herzrasen-rs
[INFO] finished tweaking git repo https://github.com/herzrasen/herzrasen-rs
[INFO] tweaked toml for git repo https://github.com/herzrasen/herzrasen-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/herzrasen/herzrasen-rs on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/herzrasen/herzrasen-rs 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nanoid v0.4.0
[INFO] [stderr]   Downloaded struct_iterable_derive v0.1.0
[INFO] [stderr]   Downloaded struct_iterable_internal v0.1.1
[INFO] [stderr]   Downloaded struct_iterable v0.1.1
[INFO] [stderr]   Downloaded chrono v0.4.31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98b36900a2edb41314121a619fb6fa161b8e13cc16169c619fb9e4d7c6da59da
[INFO] running `Command { std: "docker" "start" "-a" "98b36900a2edb41314121a619fb6fa161b8e13cc16169c619fb9e4d7c6da59da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98b36900a2edb41314121a619fb6fa161b8e13cc16169c619fb9e4d7c6da59da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98b36900a2edb41314121a619fb6fa161b8e13cc16169c619fb9e4d7c6da59da", kill_on_drop: false }`
[INFO] [stdout] 98b36900a2edb41314121a619fb6fa161b8e13cc16169c619fb9e4d7c6da59da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cfbcf18b78e13d9cb001241a0ea67be31a07ba11501397e17f5cea92bb11646d
[INFO] running `Command { std: "docker" "start" "-a" "cfbcf18b78e13d9cb001241a0ea67be31a07ba11501397e17f5cea92bb11646d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling struct_iterable_internal v0.1.1
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking nanoid v0.4.0
[INFO] [stderr]    Compiling erased-serde v0.3.31
[INFO] [stderr]    Compiling struct_iterable_derive v0.1.0
[INFO] [stderr]     Checking struct_iterable v0.1.1
[INFO] [stderr]     Checking common v0.1.0 (/opt/rustwide/workdir/common)
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> common/src/active_team.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ActiveTeam {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 14 |     fn new(lineup: Vec<ActivePlayer>) -> ActiveTeam {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `location`, `desired_location`, `controlled_by`, `action`, `pace`, and `coin_toss_winner` are never read
[INFO] [stdout]   --> common/src/ball.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Ball {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 24 |     location: Location,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 25 |     desired_location: Option<Location>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     controlled_by: Option<ActivePlayer>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 27 |     action: BallAction,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 28 |     pace: BallPace,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 29 |     coin_toss_winner: TeamType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ball` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Team` is never constructed
[INFO] [stdout]  --> common/src/team.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Team {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_player` are never used
[INFO] [stdout]   --> common/src/team.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Team {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(name: String) -> Team {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn with_player(self, new_player: Player) -> Team {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GRAM` is never constructed
[INFO] [stdout]   --> common/src/weight.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Unit {
[INFO] [stdout]    |      ---- variant in this enum
[INFO] [stdout] 17 |     KILOGRAM,
[INFO] [stdout] 18 |     GRAM,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Unit` 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: method `convert_to` is never used
[INFO] [stdout]   --> common/src/weight.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Weight {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 33 |     fn convert_to(&self, unit: Unit) -> Weight {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/engine)
[INFO] [stdout] warning: field `desired_location` is never read
[INFO] [stdout]   --> common/src/ball.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Ball {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 24 |     location: Location,
[INFO] [stdout] 25 |     desired_location: Option<Location>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ball` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> common/src/team.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Team {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 4 |     id: String,
[INFO] [stdout] 5 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team`
[INFO] [stdout]   --> engine/src/match.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ThrowIn(team) => Match { ..self },
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_team`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Match` is never constructed
[INFO] [stdout]   --> engine/src/match.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Match {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `tick`, `next`, `eval_next_action`, `kickoff`, and `select` are never used
[INFO] [stdout]   --> engine/src/match.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Match {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 25 |     fn new(home_team: ActiveTeam, away_team: ActiveTeam) -> Match {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn tick(self) -> Match {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn next(self) -> Match {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn eval_next_action(self) -> Match {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn kickoff(self, team_type: TeamType) -> Match {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn select(&self, team_type: TeamType) -> &ActiveTeam {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]  --> engine/src/action.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Action {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]  --> engine/src/event.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Event {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `teamType` should have a snake case name
[INFO] [stdout]   --> engine/src/match.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Kickoff(teamType) => self.kickoff(teamType),
[INFO] [stdout]    |                     ^^^^^^^^ help: convert the identifier to snake case: `team_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> engine/src/match.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let home_team = ActiveTeam::random();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^-- argument #1 of type `TeamType` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/common/src/active_team.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn random(team_type: TeamType) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let home_team = ActiveTeam::random(/* TeamType */);
[INFO] [stdout]    |                                            ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> engine/src/match.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let away_team = ActiveTeam::random();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^-- argument #1 of type `TeamType` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/common/src/active_team.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn random(team_type: TeamType) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let away_team = ActiveTeam::random(/* TeamType */);
[INFO] [stdout]    |                                            ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> engine/src/match.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let home_team = ActiveTeam::random();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^-- argument #1 of type `TeamType` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/common/src/active_team.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn random(team_type: TeamType) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let home_team = ActiveTeam::random(/* TeamType */);
[INFO] [stdout]    |                                            ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> engine/src/match.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let away_team = ActiveTeam::random();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^-- argument #1 of type `TeamType` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/common/src/active_team.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn random(team_type: TeamType) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let away_team = ActiveTeam::random(/* TeamType */);
[INFO] [stdout]    |                                            ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::Random`
[INFO] [stdout]   --> engine/src/match.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use common::Random;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team`
[INFO] [stdout]   --> engine/src/match.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ThrowIn(team) => Match { ..self },
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_team`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `engine` (bin "engine" test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cfbcf18b78e13d9cb001241a0ea67be31a07ba11501397e17f5cea92bb11646d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfbcf18b78e13d9cb001241a0ea67be31a07ba11501397e17f5cea92bb11646d", kill_on_drop: false }`
[INFO] [stdout] cfbcf18b78e13d9cb001241a0ea67be31a07ba11501397e17f5cea92bb11646d
