[INFO] cloning repository https://github.com/ethanlipson/dinosaur-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ethanlipson/dinosaur-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanlipson%2Fdinosaur-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanlipson%2Fdinosaur-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e6de9ee56063f6b73331308c282c780b3294f42 [INFO] checking ethanlipson/dinosaur-game against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanlipson%2Fdinosaur-game" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ethanlipson/dinosaur-game [INFO] finished tweaking git repo https://github.com/ethanlipson/dinosaur-game [INFO] tweaked toml for git repo https://github.com/ethanlipson/dinosaur-game written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ethanlipson/dinosaur-game on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ethanlipson/dinosaur-game 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb7e788792b522c7b90a40abbbc6e4575584a8db05076d0c3e1ab007038b210 [INFO] running `Command { std: "docker" "start" "-a" "feb7e788792b522c7b90a40abbbc6e4575584a8db05076d0c3e1ab007038b210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb7e788792b522c7b90a40abbbc6e4575584a8db05076d0c3e1ab007038b210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb7e788792b522c7b90a40abbbc6e4575584a8db05076d0c3e1ab007038b210", kill_on_drop: false }` [INFO] [stdout] feb7e788792b522c7b90a40abbbc6e4575584a8db05076d0c3e1ab007038b210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1fc0b69ea10aa222ed21bfd09fd31dd6779fb2cf67c202ad35590a51d0dceea [INFO] running `Command { std: "docker" "start" "-a" "d1fc0b69ea10aa222ed21bfd09fd31dd6779fb2cf67c202ad35590a51d0dceea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dinosaur-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::species::Species` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::species::Species; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::species::Species` [INFO] [stdout] --> src/game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::species::Species; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let game: Game; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `population`, `body_size`, `current_food_level`, and `cards` are never read [INFO] [stdout] --> src/species.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Species { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | pub population: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub body_size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub current_food_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub cards: Vec [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/species.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Species { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Species { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `agent`, `species`, and `hand` are never read [INFO] [stdout] --> src/player.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | agent: Agent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub species: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub hand: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rng`, `players`, and `first_player_index` are never read [INFO] [stdout] --> src/game.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | rng: rand::ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | first_player_index: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deal_cards` are never used [INFO] [stdout] --> src/game.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | fn new(num_players: i32) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn deal_cards(self: &mut Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let game: Game; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `population`, `body_size`, `current_food_level`, and `cards` are never read [INFO] [stdout] --> src/species.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Species { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | pub population: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | pub body_size: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | pub current_food_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub cards: Vec [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/species.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Species { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Species { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `agent`, `species`, and `hand` are never read [INFO] [stdout] --> src/player.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | agent: Agent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | pub species: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub hand: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/player.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Player { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rng`, `players`, and `first_player_index` are never read [INFO] [stdout] --> src/game.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | rng: rand::ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | first_player_index: i32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deal_cards` are never used [INFO] [stdout] --> src/game.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | fn new(num_players: i32) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn deal_cards(self: &mut Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "d1fc0b69ea10aa222ed21bfd09fd31dd6779fb2cf67c202ad35590a51d0dceea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fc0b69ea10aa222ed21bfd09fd31dd6779fb2cf67c202ad35590a51d0dceea", kill_on_drop: false }` [INFO] [stdout] d1fc0b69ea10aa222ed21bfd09fd31dd6779fb2cf67c202ad35590a51d0dceea