[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] testing demilich1/loopsim against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/demilich1/loopsim on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-27/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab4c93f3005ed8e57838ce74ac4b0c9e8ecb8bee135ce3cb100708daf8e5c0ea [INFO] running `Command { std: "docker" "start" "-a" "ab4c93f3005ed8e57838ce74ac4b0c9e8ecb8bee135ce3cb100708daf8e5c0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab4c93f3005ed8e57838ce74ac4b0c9e8ecb8bee135ce3cb100708daf8e5c0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4c93f3005ed8e57838ce74ac4b0c9e8ecb8bee135ce3cb100708daf8e5c0ea", kill_on_drop: false }` [INFO] [stdout] ab4c93f3005ed8e57838ce74ac4b0c9e8ecb8bee135ce3cb100708daf8e5c0ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9e465b5919a1bd7592524ecbd52dc64d09cb29697652c1dc30e7e71752ddb92 [INFO] running `Command { std: "docker" "start" "-a" "e9e465b5919a1bd7592524ecbd52dc64d09cb29697652c1dc30e7e71752ddb92", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.71 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling 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] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling 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: field is never read: `counter` [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `atk_spd` [INFO] [stdout] --> src/combat_data.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | atk_spd: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | crit_chance: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | crit_dmg: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vampirism` [INFO] [stdout] --> src/combat_data.rs:50:5 [INFO] [stdout] | [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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `counter` [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vampirism` [INFO] [stdout] --> src/combat_data.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min` [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 is never used: `max` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.54s [INFO] running `Command { std: "docker" "inspect" "e9e465b5919a1bd7592524ecbd52dc64d09cb29697652c1dc30e7e71752ddb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e465b5919a1bd7592524ecbd52dc64d09cb29697652c1dc30e7e71752ddb92", kill_on_drop: false }` [INFO] [stdout] e9e465b5919a1bd7592524ecbd52dc64d09cb29697652c1dc30e7e71752ddb92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16919009b7a6dc4f440ae9ad80ba988f92d9167087c8c5c8eed738bdce4592ba [INFO] running `Command { std: "docker" "start" "-a" "16919009b7a6dc4f440ae9ad80ba988f92d9167087c8c5c8eed738bdce4592ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling js-sys v0.3.48 [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: field is never read: `counter` [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `atk_spd` [INFO] [stdout] --> src/combat_data.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | atk_spd: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | crit_chance: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | crit_dmg: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vampirism` [INFO] [stdout] --> src/combat_data.rs:50:5 [INFO] [stdout] | [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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `counter` [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vampirism` [INFO] [stdout] --> src/combat_data.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min` [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 is never used: `max` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling 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: field is never read: `counter` [INFO] [stdout] --> src/combat_data.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | counter: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `atk_spd` [INFO] [stdout] --> src/combat_data.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | atk_spd: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | crit_chance: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | crit_dmg: 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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vampirism` [INFO] [stdout] --> src/combat_data.rs:50:5 [INFO] [stdout] | [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] --> src/combat_data.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `counter` [INFO] [stdout] --> src/combat_data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn counter(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_chance` [INFO] [stdout] --> src/combat_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crit_dmg` [INFO] [stdout] --> src/combat_data.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vampirism` [INFO] [stdout] --> src/combat_data.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min` [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 is never used: `max` [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.78s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/loopsim-f652c17ff945859f) [INFO] running `Command { std: "docker" "inspect" "16919009b7a6dc4f440ae9ad80ba988f92d9167087c8c5c8eed738bdce4592ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16919009b7a6dc4f440ae9ad80ba988f92d9167087c8c5c8eed738bdce4592ba", kill_on_drop: false }` [INFO] [stdout] 16919009b7a6dc4f440ae9ad80ba988f92d9167087c8c5c8eed738bdce4592ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 254c78dc0f2f76bff9ef6ba1500f59e5bb99b6cacf9fc74e886d39993402747a [INFO] running `Command { std: "docker" "start" "-a" "254c78dc0f2f76bff9ef6ba1500f59e5bb99b6cacf9fc74e886d39993402747a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `json` [INFO] [stderr] --> src/lib.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn simulate(json: String) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `counter` [INFO] [stderr] --> src/combat_data.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | counter: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/combat_data.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `atk_spd` [INFO] [stderr] --> src/combat_data.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | atk_spd: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/combat_data.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: field is never read: `crit_chance` [INFO] [stderr] --> src/combat_data.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | crit_chance: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/combat_data.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `crit_dmg` [INFO] [stderr] --> src/combat_data.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | crit_dmg: f32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/combat_data.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vampirism` [INFO] [stderr] --> src/combat_data.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | vampirism: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HeroSetup` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/combat_data.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `counter` [INFO] [stderr] --> src/combat_data.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn counter(&self) -> f32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `crit_chance` [INFO] [stderr] --> src/combat_data.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn crit_chance(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `crit_dmg` [INFO] [stderr] --> src/combat_data.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn crit_dmg(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `vampirism` [INFO] [stderr] --> src/combat_data.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn vampirism(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `min` [INFO] [stderr] --> src/simulation.rs:180:4 [INFO] [stderr] | [INFO] [stderr] 180 | fn min(v1: f32, v2: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `max` [INFO] [stderr] --> src/simulation.rs:188:4 [INFO] [stderr] | [INFO] [stderr] 188 | fn max(v1: f32, v2: f32) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `loopsim` (lib) generated 12 warnings [INFO] [stderr] warning: `loopsim` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loopsim-f652c17ff945859f) [INFO] [stderr] Doc-tests loopsim [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "254c78dc0f2f76bff9ef6ba1500f59e5bb99b6cacf9fc74e886d39993402747a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254c78dc0f2f76bff9ef6ba1500f59e5bb99b6cacf9fc74e886d39993402747a", kill_on_drop: false }` [INFO] [stdout] 254c78dc0f2f76bff9ef6ba1500f59e5bb99b6cacf9fc74e886d39993402747a