[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWallace-Watler%2Fpokemon-battle-analysis-v5" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-6/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 538d39fa86f0a29a7d7214051a17e0cd1e5cdce20c24d9d1cc1ac44e7f606f37 [INFO] running `Command { std: "docker" "start" "-a" "538d39fa86f0a29a7d7214051a17e0cd1e5cdce20c24d9d1cc1ac44e7f606f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538d39fa86f0a29a7d7214051a17e0cd1e5cdce20c24d9d1cc1ac44e7f606f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538d39fa86f0a29a7d7214051a17e0cd1e5cdce20c24d9d1cc1ac44e7f606f37", kill_on_drop: false }` [INFO] [stdout] 538d39fa86f0a29a7d7214051a17e0cd1e5cdce20c24d9d1cc1ac44e7f606f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 3b7733c273b16c96c6ab2119d69dd5152e833ecad40ed78c022463d30c2f0e17 [INFO] running `Command { std: "docker" "start" "-a" "3b7733c273b16c96c6ab2119d69dd5152e833ecad40ed78c022463d30c2f0e17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling almost v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [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 rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [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 bstr v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling csv v1.1.4 [INFO] [stderr] Compiling statrs v0.13.0 [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] note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/move_.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Species` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/species.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 3m 27s [INFO] running `Command { std: "docker" "inspect" "3b7733c273b16c96c6ab2119d69dd5152e833ecad40ed78c022463d30c2f0e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7733c273b16c96c6ab2119d69dd5152e833ecad40ed78c022463d30c2f0e17", kill_on_drop: false }` [INFO] [stdout] 3b7733c273b16c96c6ab2119d69dd5152e833ecad40ed78c022463d30c2f0e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 1cb143fbf82f3e76095b416fc8995daf91a88140389d10918d2338b033ffebfd [INFO] running `Command { std: "docker" "start" "-a" "1cb143fbf82f3e76095b416fc8995daf91a88140389d10918d2338b033ffebfd", 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] note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/move_.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Species` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/species.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pokemon_battle_analysis_v5 v0.1.0 (/opt/rustwide/workdir) [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] note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/move_.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Species` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/species.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Default, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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.95s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/pokemon_battle_analysis_v5-5fb6bc3baae3b40f) [INFO] [stderr] Executable unittests src/bin/benches.rs (/opt/rustwide/target/debug/deps/benches-96b9819dabb28e6d) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-76c6ccdaccc145d2) [INFO] [stderr] Executable unittests src/bin/sanity_check.rs (/opt/rustwide/target/debug/deps/sanity_check-8e624b50cbff0209) [INFO] running `Command { std: "docker" "inspect" "1cb143fbf82f3e76095b416fc8995daf91a88140389d10918d2338b033ffebfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb143fbf82f3e76095b416fc8995daf91a88140389d10918d2338b033ffebfd", kill_on_drop: false }` [INFO] [stdout] 1cb143fbf82f3e76095b416fc8995daf91a88140389d10918d2338b033ffebfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] d6fbf0c25c7516a3d9a94d914e03aa6f1f8effa0c0bfbb93a541905aa2db0b14 [INFO] running `Command { std: "docker" "start" "-a" "d6fbf0c25c7516a3d9a94d914e03aa6f1f8effa0c0bfbb93a541905aa2db0b14", 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] note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/move_.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `Species` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/species.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Default, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pokemon_battle_analysis_v5-5fb6bc3baae3b40f) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/benches.rs (/opt/rustwide/target/debug/deps/benches-96b9819dabb28e6d) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-76c6ccdaccc145d2) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/sanity_check.rs (/opt/rustwide/target/debug/deps/sanity_check-8e624b50cbff0209) [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] [stderr] Doc-tests pokemon_battle_analysis_v5 [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" "d6fbf0c25c7516a3d9a94d914e03aa6f1f8effa0c0bfbb93a541905aa2db0b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6fbf0c25c7516a3d9a94d914e03aa6f1f8effa0c0bfbb93a541905aa2db0b14", kill_on_drop: false }` [INFO] [stdout] d6fbf0c25c7516a3d9a94d914e03aa6f1f8effa0c0bfbb93a541905aa2db0b14