[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 1.59.0 for beta-1.60-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-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wallace-Watler/pokemon-battle-analysis-v5 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-13/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1a7705ffd542d30dfbc722756d6648f444b1d88b3a647251b4cf041ef7854ce [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" "f1a7705ffd542d30dfbc722756d6648f444b1d88b3a647251b4cf041ef7854ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1a7705ffd542d30dfbc722756d6648f444b1d88b3a647251b4cf041ef7854ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a7705ffd542d30dfbc722756d6648f444b1d88b3a647251b4cf041ef7854ce", kill_on_drop: false }` [INFO] [stdout] f1a7705ffd542d30dfbc722756d6648f444b1d88b3a647251b4cf041ef7854ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b8f49d8de6c6906ccc7052c0616430810fd27297c68d376ecb2e0bc3138531c [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" "4b8f49d8de6c6906ccc7052c0616430810fd27297c68d376ecb2e0bc3138531c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 fs_extra v1.2.0 [INFO] [stderr] Compiling almost v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling regex-automata v0.1.9 [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 getrandom v0.1.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [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] [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 51s [INFO] running `Command { std: "docker" "inspect" "4b8f49d8de6c6906ccc7052c0616430810fd27297c68d376ecb2e0bc3138531c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8f49d8de6c6906ccc7052c0616430810fd27297c68d376ecb2e0bc3138531c", kill_on_drop: false }` [INFO] [stdout] 4b8f49d8de6c6906ccc7052c0616430810fd27297c68d376ecb2e0bc3138531c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] 9b59f272256161f7ebe68dc4e88b8ab7ae74859ebc0ba69646e1bc8a4e618a00 [INFO] running `Command { std: "docker" "start" "-a" "9b59f272256161f7ebe68dc4e88b8ab7ae74859ebc0ba69646e1bc8a4e618a00", 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] [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] [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] [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.92s [INFO] running `Command { std: "docker" "inspect" "9b59f272256161f7ebe68dc4e88b8ab7ae74859ebc0ba69646e1bc8a4e618a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b59f272256161f7ebe68dc4e88b8ab7ae74859ebc0ba69646e1bc8a4e618a00", kill_on_drop: false }` [INFO] [stdout] 9b59f272256161f7ebe68dc4e88b8ab7ae74859ebc0ba69646e1bc8a4e618a00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdd8562d5570c86f4e8e33516f043bf9c9a042c14fe03c6a7d64586ce84b414b [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" "cdd8562d5570c86f4e8e33516f043bf9c9a042c14fe03c6a7d64586ce84b414b", 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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pokemon_battle_analysis_v5-c3b0e18f10b3fcd3) [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/benches-58bc22a2f6b07e6d) [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-fe4a953569234880) [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/sanity_check-92e23e046393bf56) [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] running `Command { std: "docker" "inspect" "cdd8562d5570c86f4e8e33516f043bf9c9a042c14fe03c6a7d64586ce84b414b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd8562d5570c86f4e8e33516f043bf9c9a042c14fe03c6a7d64586ce84b414b", kill_on_drop: false }` [INFO] [stdout] cdd8562d5570c86f4e8e33516f043bf9c9a042c14fe03c6a7d64586ce84b414b