[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 try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fpvz_rust" "/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/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KawaiiRem/pvz_rust on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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 quad-rand v0.2.3
[INFO] [stderr]   Downloaded macroquad_macro v0.1.8
[INFO] [stderr]   Downloaded objc-rs v0.2.8
[INFO] [stderr]   Downloaded fontdue v0.9.3
[INFO] [stderr]   Downloaded miniquad v0.4.8
[INFO] [stderr]   Downloaded glam v0.27.0
[INFO] [stderr]   Downloaded macroquad v0.4.14
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8313dca1fa6c2ba9e30febcac57f05fd8bf96e85af10d323297ce7117236d6a2
[INFO] running `Command { std: "docker" "start" "-a" "8313dca1fa6c2ba9e30febcac57f05fd8bf96e85af10d323297ce7117236d6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8313dca1fa6c2ba9e30febcac57f05fd8bf96e85af10d323297ce7117236d6a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8313dca1fa6c2ba9e30febcac57f05fd8bf96e85af10d323297ce7117236d6a2", kill_on_drop: false }`
[INFO] [stdout] 8313dca1fa6c2ba9e30febcac57f05fd8bf96e85af10d323297ce7117236d6a2
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa8b36cbf15b4dbbe0d6a7c875c31fcbf1d8ec5310a1144bf948c50f04154974
[INFO] running `Command { std: "docker" "start" "-a" "fa8b36cbf15b4dbbe0d6a7c875c31fcbf1d8ec5310a1144bf948c50f04154974", kill_on_drop: false }`
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking bytemuck v1.23.2
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking fontdue v0.9.3
[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: `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: 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: 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: `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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.12s
[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] running `Command { std: "docker" "inspect" "fa8b36cbf15b4dbbe0d6a7c875c31fcbf1d8ec5310a1144bf948c50f04154974", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa8b36cbf15b4dbbe0d6a7c875c31fcbf1d8ec5310a1144bf948c50f04154974", kill_on_drop: false }`
[INFO] [stdout] fa8b36cbf15b4dbbe0d6a7c875c31fcbf1d8ec5310a1144bf948c50f04154974
