[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdemilich1%2Floopsim" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/demilich1/loopsim on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-4/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 275d294b5fdb87d52cd657de62cc5da0829a8eed19b7b87a550bcf9d6fba2dfd [INFO] running `Command { std: "docker" "start" "-a" "275d294b5fdb87d52cd657de62cc5da0829a8eed19b7b87a550bcf9d6fba2dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "275d294b5fdb87d52cd657de62cc5da0829a8eed19b7b87a550bcf9d6fba2dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275d294b5fdb87d52cd657de62cc5da0829a8eed19b7b87a550bcf9d6fba2dfd", kill_on_drop: false }` [INFO] [stdout] 275d294b5fdb87d52cd657de62cc5da0829a8eed19b7b87a550bcf9d6fba2dfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b2a868779919b744ec37b75f11a35ef16d082137b59b8eabd919a31a33c4eb2 [INFO] running `Command { std: "docker" "start" "-a" "4b2a868779919b744ec37b75f11a35ef16d082137b59b8eabd919a31a33c4eb2", 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 getrandom v0.2.2 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.71 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.71 [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-macro-support v0.2.71 [INFO] [stderr] Compiling serde_json v1.0.64 [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 16.34s [INFO] running `Command { std: "docker" "inspect" "4b2a868779919b744ec37b75f11a35ef16d082137b59b8eabd919a31a33c4eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2a868779919b744ec37b75f11a35ef16d082137b59b8eabd919a31a33c4eb2", kill_on_drop: false }` [INFO] [stdout] 4b2a868779919b744ec37b75f11a35ef16d082137b59b8eabd919a31a33c4eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f8049b576b98653670b5089763130ae4164cb4f50122b1ba1987dbf68bd6cb [INFO] running `Command { std: "docker" "start" "-a" "e4f8049b576b98653670b5089763130ae4164cb4f50122b1ba1987dbf68bd6cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures v0.1.31 [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 quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [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 5.64s [INFO] running `Command { std: "docker" "inspect" "e4f8049b576b98653670b5089763130ae4164cb4f50122b1ba1987dbf68bd6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f8049b576b98653670b5089763130ae4164cb4f50122b1ba1987dbf68bd6cb", kill_on_drop: false }` [INFO] [stdout] e4f8049b576b98653670b5089763130ae4164cb4f50122b1ba1987dbf68bd6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5307ace8e7aaeca35de131a016160846a30d7c0d0b09effb15956fb233fbe6ef [INFO] running `Command { std: "docker" "start" "-a" "5307ace8e7aaeca35de131a016160846a30d7c0d0b09effb15956fb233fbe6ef", kill_on_drop: false }` [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] [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/loopsim-f652c17ff945859f) [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] 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" "5307ace8e7aaeca35de131a016160846a30d7c0d0b09effb15956fb233fbe6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5307ace8e7aaeca35de131a016160846a30d7c0d0b09effb15956fb233fbe6ef", kill_on_drop: false }` [INFO] [stdout] 5307ace8e7aaeca35de131a016160846a30d7c0d0b09effb15956fb233fbe6ef