[INFO] cloning repository https://github.com/demilich1/loopsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/demilich1/loopsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aad933b89ca1410390be9bd202d017d8fb9884fd [INFO] checking demilich1/loopsim against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/demilich1/loopsim on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/demilich1/loopsim [INFO] finished tweaking git repo https://github.com/demilich1/loopsim [INFO] tweaked toml for git repo https://github.com/demilich1/loopsim written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/demilich1/loopsim 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded web-sys v0.3.48 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bf84399a615da39b554515ae7c80b4edd1a201f43f6ee3925b5f05e3e7b6d99 [INFO] running `Command { std: "docker" "start" "-a" "9bf84399a615da39b554515ae7c80b4edd1a201f43f6ee3925b5f05e3e7b6d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bf84399a615da39b554515ae7c80b4edd1a201f43f6ee3925b5f05e3e7b6d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf84399a615da39b554515ae7c80b4edd1a201f43f6ee3925b5f05e3e7b6d99", kill_on_drop: false }` [INFO] [stdout] 9bf84399a615da39b554515ae7c80b4edd1a201f43f6ee3925b5f05e3e7b6d99 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c5637dfe7665c0e41b8575cec9bf65bea06759237e968a9050a7635111bc464 [INFO] running `Command { std: "docker" "start" "-a" "5c5637dfe7665c0e41b8575cec9bf65bea06759237e968a9050a7635111bc464", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Checking js-sys v0.3.48 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking loopsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn simulate(json: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `atk_spd`, `crit_chance`, `crit_dmg`, and `vampirism` are never read [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeroSetup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | atk_spd: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | crit_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | crit_dmg: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | defense: f32, [INFO] [stdout] 50 | vampirism: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `counter`, `crit_chance`, `crit_dmg`, and `vampirism` are never used [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HeroSetup { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/simulation.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn min(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/simulation.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn max(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn simulate(json: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `atk_spd`, `crit_chance`, `crit_dmg`, and `vampirism` are never read [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeroSetup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | atk_spd: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | crit_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | crit_dmg: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | defense: f32, [INFO] [stdout] 50 | vampirism: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `counter`, `crit_chance`, `crit_dmg`, and `vampirism` are never used [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HeroSetup { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/simulation.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn min(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/simulation.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn max(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5c5637dfe7665c0e41b8575cec9bf65bea06759237e968a9050a7635111bc464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c5637dfe7665c0e41b8575cec9bf65bea06759237e968a9050a7635111bc464", kill_on_drop: false }` [INFO] [stdout] 5c5637dfe7665c0e41b8575cec9bf65bea06759237e968a9050a7635111bc464 [INFO] checking demilich1/loopsim against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/demilich1/loopsim on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/demilich1/loopsim [INFO] finished tweaking git repo https://github.com/demilich1/loopsim [INFO] tweaked toml for git repo https://github.com/demilich1/loopsim written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/demilich1/loopsim 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc975f540471962970db58cdd612748a28df9277c7657c02b1704d26230bb4cb [INFO] running `Command { std: "docker" "start" "-a" "fc975f540471962970db58cdd612748a28df9277c7657c02b1704d26230bb4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc975f540471962970db58cdd612748a28df9277c7657c02b1704d26230bb4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc975f540471962970db58cdd612748a28df9277c7657c02b1704d26230bb4cb", kill_on_drop: false }` [INFO] [stdout] fc975f540471962970db58cdd612748a28df9277c7657c02b1704d26230bb4cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06cab60f272939b04797eba0613789f3f03ee966f23e7c7e4c3a3a98f995593 [INFO] running `Command { std: "docker" "start" "-a" "f06cab60f272939b04797eba0613789f3f03ee966f23e7c7e4c3a3a98f995593", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.71 [INFO] [stderr] Checking js-sys v0.3.48 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking loopsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn simulate(json: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `atk_spd`, `crit_chance`, `crit_dmg`, and `vampirism` are never read [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeroSetup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | atk_spd: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | crit_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | crit_dmg: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | defense: f32, [INFO] [stdout] 50 | vampirism: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `counter`, `crit_chance`, `crit_dmg`, and `vampirism` are never used [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HeroSetup { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/simulation.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn min(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/simulation.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn max(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn simulate(json: String) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `atk_spd`, `crit_chance`, `crit_dmg`, and `vampirism` are never read [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HeroSetup { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | atk_spd: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | crit_chance: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | crit_dmg: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | defense: f32, [INFO] [stdout] 50 | vampirism: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `counter`, `crit_chance`, `crit_dmg`, and `vampirism` are never used [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl HeroSetup { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/simulation.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn min(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/simulation.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn max(v1: f32, v2: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.71 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "f06cab60f272939b04797eba0613789f3f03ee966f23e7c7e4c3a3a98f995593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06cab60f272939b04797eba0613789f3f03ee966f23e7c7e4c3a3a98f995593", kill_on_drop: false }` [INFO] [stdout] f06cab60f272939b04797eba0613789f3f03ee966f23e7c7e4c3a3a98f995593