[INFO] cloning repository https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wallace-Watler/pokemon-battle-analysis-v5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWallace-Watler%2Fpokemon-battle-analysis-v5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWallace-Watler%2Fpokemon-battle-analysis-v5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0edd4e086e27a814b26cf8c896f6a7b73e0fe6f9 [INFO] testing Wallace-Watler/pokemon-battle-analysis-v5 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWallace-Watler%2Fpokemon-battle-analysis-v5" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 [INFO] finished tweaking git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 [INFO] tweaked toml for git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 384537b1eb1e967855403867eb1ed1cc2f84ec8b377f7fe6f784555276df88e2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "384537b1eb1e967855403867eb1ed1cc2f84ec8b377f7fe6f784555276df88e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "384537b1eb1e967855403867eb1ed1cc2f84ec8b377f7fe6f784555276df88e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384537b1eb1e967855403867eb1ed1cc2f84ec8b377f7fe6f784555276df88e2", kill_on_drop: false }` [INFO] [stdout] 384537b1eb1e967855403867eb1ed1cc2f84ec8b377f7fe6f784555276df88e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4daa1e33ec4c453563b31ca240275ec43721b4711ba1d032d7f6a20e01e8c23 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4daa1e33ec4c453563b31ca240275ec43721b4711ba1d032d7f6a20e01e8c23", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling almost v0.2.0 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling nalgebra v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling statrs v0.13.0 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling csv v1.1.4 [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stderr] Compiling pokemon_battle_analysis_v5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `action_queue` [INFO] [stdout] --> src/battle_ai/move_effects.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | ...ID, state: &mut State, action_queue: &[&Action], user_id: u8, target_id: u8, rng: &mut StdRng) -> EffectResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_target` [INFO] [stdout] --> src/move_.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | const fn single_target(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_targets_allies` [INFO] [stdout] --> src/move_.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn only_targets_allies(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound_based` [INFO] [stdout] --> src/move_.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | sound_based: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weight` [INFO] [stdout] --> src/species.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | weight: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/battle_ai/pokemon.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 551 | panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 551 - panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] 551 + panic!("ID of {} does not match any ID on the field.", pokemon_display_text); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] 19 + if min > max { panic!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] 25 + panic!("Weights must be non-negative. Given weights: {:?}", weights); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "c4daa1e33ec4c453563b31ca240275ec43721b4711ba1d032d7f6a20e01e8c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4daa1e33ec4c453563b31ca240275ec43721b4711ba1d032d7f6a20e01e8c23", kill_on_drop: false }` [INFO] [stdout] c4daa1e33ec4c453563b31ca240275ec43721b4711ba1d032d7f6a20e01e8c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 419307579fb52a0d51857261a2875aa21f43dd60129c53dc777cebeaea18cfa5 [INFO] running `Command { std: "docker" "start" "-a" "419307579fb52a0d51857261a2875aa21f43dd60129c53dc777cebeaea18cfa5", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `action_queue` [INFO] [stdout] --> src/battle_ai/move_effects.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | ...ID, state: &mut State, action_queue: &[&Action], user_id: u8, target_id: u8, rng: &mut StdRng) -> EffectResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_target` [INFO] [stdout] --> src/move_.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | const fn single_target(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_targets_allies` [INFO] [stdout] --> src/move_.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn only_targets_allies(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound_based` [INFO] [stdout] --> src/move_.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | sound_based: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pokemon_battle_analysis_v5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `weight` [INFO] [stdout] --> src/species.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | weight: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/battle_ai/pokemon.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 551 | panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 551 - panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] 551 + panic!("ID of {} does not match any ID on the field.", pokemon_display_text); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] 19 + if min > max { panic!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] 25 + panic!("Weights must be non-negative. Given weights: {:?}", weights); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_queue` [INFO] [stdout] --> src/battle_ai/move_effects.rs:162:59 [INFO] [stdout] | [INFO] [stdout] 162 | ...ID, state: &mut State, action_queue: &[&Action], user_id: u8, target_id: u8, rng: &mut StdRng) -> EffectResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `single_target` [INFO] [stdout] --> src/move_.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | const fn single_target(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_targets_allies` [INFO] [stdout] --> src/move_.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | const fn only_targets_allies(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound_based` [INFO] [stdout] --> src/move_.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | sound_based: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weight` [INFO] [stdout] --> src/species.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | weight: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/battle_ai/pokemon.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 551 | panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 551 - panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stdout] 551 + panic!("ID of {} does not match any ID on the field.", pokemon_display_text); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stdout] 19 + if min > max { panic!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 25 - panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stdout] 25 + panic!("Weights must be non-negative. Given weights: {:?}", weights); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "419307579fb52a0d51857261a2875aa21f43dd60129c53dc777cebeaea18cfa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419307579fb52a0d51857261a2875aa21f43dd60129c53dc777cebeaea18cfa5", kill_on_drop: false }` [INFO] [stdout] 419307579fb52a0d51857261a2875aa21f43dd60129c53dc777cebeaea18cfa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db0ef49834df3b0f6110596f78aef88af93d8e89f5adab09fb6897a0caf2635a [INFO] running `Command { std: "docker" "start" "-a" "db0ef49834df3b0f6110596f78aef88af93d8e89f5adab09fb6897a0caf2635a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `action_queue` [INFO] [stderr] --> src/battle_ai/move_effects.rs:162:59 [INFO] [stderr] | [INFO] [stderr] 162 | ...ID, state: &mut State, action_queue: &[&Action], user_id: u8, target_id: u8, rng: &mut StdRng) -> EffectResult { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_queue` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `single_target` [INFO] [stderr] --> src/move_.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | const fn single_target(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `only_targets_allies` [INFO] [stderr] --> src/move_.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | const fn only_targets_allies(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sound_based` [INFO] [stderr] --> src/move_.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | sound_based: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `weight` [INFO] [stderr] --> src/species.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | weight: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/battle_ai/pokemon.rs:551:16 [INFO] [stderr] | [INFO] [stderr] 551 | panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 551 - panic!(format!("ID of {} does not match any ID on the field.", pokemon_display_text)); [INFO] [stderr] 551 + panic!("ID of {} does not match any ID on the field.", pokemon_display_text); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 19 - if min > max { panic!(format!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max)) } [INFO] [stderr] 19 + if min > max { panic!("min must not be greater than max. (min, max): ({:?}, {:?})", min, max) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 25 - panic!(format!("Weights must be non-negative. Given weights: {:?}", weights)); [INFO] [stderr] 25 + panic!("Weights must be non-negative. Given weights: {:?}", weights); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pokemon_battle_analysis_v5` (lib) generated 8 warnings [INFO] [stderr] warning: `pokemon_battle_analysis_v5` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pokemon_battle_analysis_v5-d4ed065ab22fe391) [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] Running unittests (/opt/rustwide/target/debug/deps/benches-47e4e15c2c8e738f) [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] Running unittests (/opt/rustwide/target/debug/deps/main-df74a93293563dbc) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sanity_check-064340f10454af96) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests pokemon_battle_analysis_v5 [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] [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] [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" "db0ef49834df3b0f6110596f78aef88af93d8e89f5adab09fb6897a0caf2635a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0ef49834df3b0f6110596f78aef88af93d8e89f5adab09fb6897a0caf2635a", kill_on_drop: false }` [INFO] [stdout] db0ef49834df3b0f6110596f78aef88af93d8e89f5adab09fb6897a0caf2635a