[INFO] cloning repository https://github.com/KawaiiRem/pvz_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KawaiiRem/pvz_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fpvz_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fpvz_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 832bb42160f889db5f97f0ecccffd28ea66c7cf6
[INFO] checking KawaiiRem/pvz_rust against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fpvz_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KawaiiRem/pvz_rust
[INFO] finished tweaking git repo https://github.com/KawaiiRem/pvz_rust
[INFO] tweaked toml for git repo https://github.com/KawaiiRem/pvz_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KawaiiRem/pvz_rust on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KawaiiRem/pvz_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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded macroquad_macro v0.1.8
[INFO] [stderr]   Downloaded miniquad v0.4.8
[INFO] [stderr]   Downloaded objc-rs v0.2.8
[INFO] [stderr]   Downloaded macroquad v0.4.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98a083fe2365f3ada12c305e6e61111ea7c74b477d52180b6d2923d2356275f9
[INFO] running `Command { std: "docker" "start" "-a" "98a083fe2365f3ada12c305e6e61111ea7c74b477d52180b6d2923d2356275f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98a083fe2365f3ada12c305e6e61111ea7c74b477d52180b6d2923d2356275f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98a083fe2365f3ada12c305e6e61111ea7c74b477d52180b6d2923d2356275f9", kill_on_drop: false }`
[INFO] [stdout] 98a083fe2365f3ada12c305e6e61111ea7c74b477d52180b6d2923d2356275f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de59f92a3d04807bdd79ef0b8c796f11dcca8a98baee8cab87953f4b6f547e43
[INFO] running `Command { std: "docker" "start" "-a" "de59f92a3d04807bdd79ef0b8c796f11dcca8a98baee8cab87953f4b6f547e43", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking bytemuck v1.23.2
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking pvz_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::clone`
[INFO] [stdout]  --> src/zombie/pole_zombie.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::clone;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::clone`
[INFO] [stdout]  --> src/zombie/pole_zombie.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::clone;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zombies`
[INFO] [stdout]   --> src/plant/cherry_bomb.rs:45:35
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zombies`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zombies`
[INFO] [stdout]   --> src/plant/cherry_bomb.rs:45:35
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zombies`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/plant/wallnut.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zombies`
[INFO] [stdout]   --> src/plant/wallnut.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zombies`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/plant/wallnut.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `zombies`
[INFO] [stdout]   --> src/plant/wallnut.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn update(&mut self, dt: f32, zombies: &[Box<dyn Zombie>]) -> Option<PlantAction> {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zombies`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tier`
[INFO] [stdout]   --> src/zombie/basic_zombie.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn is_instakill(&mut self, tier: Instakill) {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_tier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TILE_WIDTH` is never used
[INFO] [stdout]  --> src/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const TILE_WIDTH: f32 = TILE_SIZE;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]  --> src/grid.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Tile {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub row: usize,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 7 |     pub col: usize,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tier`
[INFO] [stdout]   --> src/zombie/basic_zombie.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn is_instakill(&mut self, tier: Instakill) {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_tier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `High` is never constructed
[INFO] [stdout]  --> src/projectile/projectile.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Instakill {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     High,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Instakill` 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 `hp_fraction` is never used
[INFO] [stdout]   --> src/projectile/projectile.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Instakill {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 12 |     // if zombie resists instakill, it loses this fraction of its max health instead
[INFO] [stdout] 13 |     pub fn hp_fraction(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/sun.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Sun {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub source: SunSource,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `health` is never used
[INFO] [stdout]   --> src/zombie/zombie.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Zombie {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn health(&self) -> i32;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TILE_WIDTH` is never used
[INFO] [stdout]  --> src/constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const TILE_WIDTH: f32 = TILE_SIZE;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `row` and `col` are never read
[INFO] [stdout]  --> src/grid.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Tile {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub row: usize,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 7 |     pub col: usize,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `High` is never constructed
[INFO] [stdout]  --> src/projectile/projectile.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Instakill {
[INFO] [stdout]   |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     High,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Instakill` 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 `hp_fraction` is never used
[INFO] [stdout]   --> src/projectile/projectile.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Instakill {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 12 |     // if zombie resists instakill, it loses this fraction of its max health instead
[INFO] [stdout] 13 |     pub fn hp_fraction(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/sun.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Sun {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub source: SunSource,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `health` is never used
[INFO] [stdout]   --> src/zombie/zombie.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Zombie {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn health(&self) -> i32;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.83s
[INFO] running `Command { std: "docker" "inspect" "de59f92a3d04807bdd79ef0b8c796f11dcca8a98baee8cab87953f4b6f547e43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de59f92a3d04807bdd79ef0b8c796f11dcca8a98baee8cab87953f4b6f547e43", kill_on_drop: false }`
[INFO] [stdout] de59f92a3d04807bdd79ef0b8c796f11dcca8a98baee8cab87953f4b6f547e43
