[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.71 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.71 [INFO] [stderr] Downloaded js-sys v0.3.48 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.71 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.71 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.27 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.71 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded web-sys v0.3.48 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14e60720b6364c802ce3eef60b789d0a5ec23b7d98bef4b6a368b56ef45bd129 [INFO] running `Command { std: "docker" "start" "-a" "14e60720b6364c802ce3eef60b789d0a5ec23b7d98bef4b6a368b56ef45bd129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e60720b6364c802ce3eef60b789d0a5ec23b7d98bef4b6a368b56ef45bd129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e60720b6364c802ce3eef60b789d0a5ec23b7d98bef4b6a368b56ef45bd129", kill_on_drop: false }` [INFO] [stdout] 14e60720b6364c802ce3eef60b789d0a5ec23b7d98bef4b6a368b56ef45bd129 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e5b200249644f2434b5e66c76504b12f766a1966d0658597b65acf2bec89ec [INFO] running `Command { std: "docker" "start" "-a" "f4e5b200249644f2434b5e66c76504b12f766a1966d0658597b65acf2bec89ec", 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_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.124 [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 21.87s [INFO] running `Command { std: "docker" "inspect" "f4e5b200249644f2434b5e66c76504b12f766a1966d0658597b65acf2bec89ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e5b200249644f2434b5e66c76504b12f766a1966d0658597b65acf2bec89ec", kill_on_drop: false }` [INFO] [stdout] f4e5b200249644f2434b5e66c76504b12f766a1966d0658597b65acf2bec89ec [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb2ae90d2c1a17205b9af13525a91f12989fcea57a3376f5b71a740eefcd531e [INFO] running `Command { std: "docker" "start" "-a" "cb2ae90d2c1a17205b9af13525a91f12989fcea57a3376f5b71a740eefcd531e", kill_on_drop: false }` [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 3.13s [INFO] running `Command { std: "docker" "inspect" "cb2ae90d2c1a17205b9af13525a91f12989fcea57a3376f5b71a740eefcd531e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2ae90d2c1a17205b9af13525a91f12989fcea57a3376f5b71a740eefcd531e", kill_on_drop: false }` [INFO] [stdout] cb2ae90d2c1a17205b9af13525a91f12989fcea57a3376f5b71a740eefcd531e [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0fc48d436bbbe8df8047a14d2f0e6f5b216f591724278eb9d480e872389eaa6a [INFO] running `Command { std: "docker" "start" "-a" "0fc48d436bbbe8df8047a14d2f0e6f5b216f591724278eb9d480e872389eaa6a", 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-b66ef9b6e3a441d3) [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" "0fc48d436bbbe8df8047a14d2f0e6f5b216f591724278eb9d480e872389eaa6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc48d436bbbe8df8047a14d2f0e6f5b216f591724278eb9d480e872389eaa6a", kill_on_drop: false }` [INFO] [stdout] 0fc48d436bbbe8df8047a14d2f0e6f5b216f591724278eb9d480e872389eaa6a