[INFO] cloning repository https://github.com/miguelgss/byteclicker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miguelgss/byteclicker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelgss%2Fbyteclicker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelgss%2Fbyteclicker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8151896fa75e1855e5fe1bb49baa3115f55c66e3
[INFO] checking miguelgss/byteclicker against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelgss%2Fbyteclicker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/miguelgss/byteclicker
[INFO] finished tweaking git repo https://github.com/miguelgss/byteclicker
[INFO] tweaked toml for git repo https://github.com/miguelgss/byteclicker written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/miguelgss/byteclicker on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/miguelgss/byteclicker 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376
[INFO] running `Command { std: "docker" "start" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]     Checking bytemuck v1.23.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking miniquad v0.4.8
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking byteclicker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::RandGenerator`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::RandGenerator;
[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: `rand::RandGenerator`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::RandGenerator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CHAMPION` and `ULTIMATE` are never constructed
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ELevel {
[INFO] [stdout]   |      ------ variants in this enum
[INFO] [stdout] 6 |     ROOKIE,
[INFO] [stdout] 7 |     CHAMPION,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     ULTIMATE,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ELevel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `VACCINE`, `DATA`, and `VIRUS` are never constructed
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum EAttribute {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 13 |     VACCINE,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     DATA,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     VIRUS,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EAttribute` 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: field `hp_base` is never read
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct HpSystem {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 21 |     hp_base: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HpSystem` 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: method `update_hp` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl HpSystem {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn update_hp(&mut self, value: i64) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `rand_status` are never used
[INFO] [stdout]    --> src/main.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl Status {
[INFO] [stdout]     | ----------- associated functions in this implementation
[INFO] [stdout] 129 |     fn new(str: u64, def: u64, speed: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn rand_status() -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `byte_level` are never read
[INFO] [stdout]    --> src/main.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | struct BytePet {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] 153 |     id: u8,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 154 |     s_level: LevelStatusSystem,
[INFO] [stdout] 155 |     byte_level: ELevel,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BytePet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl BytePet {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 173 |     fn new(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `turn_timer` is never read
[INFO] [stdout]    --> src/main.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct Battler {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 204 |     turn_timer: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Battler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `change_hp` is never used
[INFO] [stdout]    --> src/main.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl Battler {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn change_hp(&mut self, value: i64) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RNG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let RNG = rand::RandGenerator::new();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CHAMPION` and `ULTIMATE` are never constructed
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ELevel {
[INFO] [stdout]   |      ------ variants in this enum
[INFO] [stdout] 6 |     ROOKIE,
[INFO] [stdout] 7 |     CHAMPION,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     ULTIMATE,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ELevel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `VACCINE`, `DATA`, and `VIRUS` are never constructed
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum EAttribute {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 13 |     VACCINE,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     DATA,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     VIRUS,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EAttribute` 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: field `hp_base` is never read
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct HpSystem {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 21 |     hp_base: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HpSystem` 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: method `update_hp` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl HpSystem {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn update_hp(&mut self, value: i64) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `rand_status` are never used
[INFO] [stdout]    --> src/main.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl Status {
[INFO] [stdout]     | ----------- associated functions in this implementation
[INFO] [stdout] 129 |     fn new(str: u64, def: u64, speed: u64) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn rand_status() -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `byte_level` are never read
[INFO] [stdout]    --> src/main.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 152 | struct BytePet {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] 153 |     id: u8,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 154 |     s_level: LevelStatusSystem,
[INFO] [stdout] 155 |     byte_level: ELevel,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BytePet` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl BytePet {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 173 |     fn new(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `turn_timer` is never read
[INFO] [stdout]    --> src/main.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct Battler {
[INFO] [stdout]     |        ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 204 |     turn_timer: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Battler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `change_hp` is never used
[INFO] [stdout]    --> src/main.rs:225:8
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl Battler {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn change_hp(&mut self, value: i64) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RNG` should have a snake case name
[INFO] [stdout]    --> src/main.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let RNG = rand::RandGenerator::new();
[INFO] [stdout]     |             ^^^ help: convert the identifier to snake case: `rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `serde_json`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | serde_json = "1.0.145"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde_json`
[INFO] [stderr] warning: `byteclicker` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.32s
[INFO] running `Command { std: "docker" "inspect" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376", kill_on_drop: false }`
[INFO] [stdout] 8e077f7487b0d4832f73dfa4ef1c864c099b112f36ca957cc6d0becedb872376
