[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] building miguelgss/byteclicker against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiguelgss%2Fbyteclicker" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miguelgss/byteclicker on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed7314bd484310413c0b351893beecf90b45955e8fbf75b24625e90689d9d22 [INFO] running `Command { std: "docker" "start" "-a" "4ed7314bd484310413c0b351893beecf90b45955e8fbf75b24625e90689d9d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed7314bd484310413c0b351893beecf90b45955e8fbf75b24625e90689d9d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed7314bd484310413c0b351893beecf90b45955e8fbf75b24625e90689d9d22", kill_on_drop: false }` [INFO] [stdout] 4ed7314bd484310413c0b351893beecf90b45955e8fbf75b24625e90689d9d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3919fe09e9cd5ea0a20d548008cdfa7e868f36cb9a98e430fc941b1ce52186a5 [INFO] running `Command { std: "docker" "start" "-a" "3919fe09e9cd5ea0a20d548008cdfa7e868f36cb9a98e430fc941b1ce52186a5", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling 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: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.36s [INFO] running `Command { std: "docker" "inspect" "3919fe09e9cd5ea0a20d548008cdfa7e868f36cb9a98e430fc941b1ce52186a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3919fe09e9cd5ea0a20d548008cdfa7e868f36cb9a98e430fc941b1ce52186a5", kill_on_drop: false }` [INFO] [stdout] 3919fe09e9cd5ea0a20d548008cdfa7e868f36cb9a98e430fc941b1ce52186a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 016b732471e132fa2175592d95d1c70c1e57c63323db40f696e0503f5416840a [INFO] running `Command { std: "docker" "start" "-a" "016b732471e132fa2175592d95d1c70c1e57c63323db40f696e0503f5416840a", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "016b732471e132fa2175592d95d1c70c1e57c63323db40f696e0503f5416840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016b732471e132fa2175592d95d1c70c1e57c63323db40f696e0503f5416840a", kill_on_drop: false }` [INFO] [stdout] 016b732471e132fa2175592d95d1c70c1e57c63323db40f696e0503f5416840a