[INFO] cloning repository https://github.com/nsmryan/RustTcodTutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/RustTcodTutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7754c5020ef874a166e92f00d52c538d06f6b70e [INFO] checking nsmryan/RustTcodTutorial against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/RustTcodTutorial on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] finished tweaking git repo https://github.com/nsmryan/RustTcodTutorial [INFO] tweaked toml for git repo https://github.com/nsmryan/RustTcodTutorial written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/RustTcodTutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded logging_timer_proc_macros v1.0.0 [INFO] [stderr] Downloaded pathfinding v2.0.4 [INFO] [stderr] Downloaded bmp v0.5.0 [INFO] [stderr] Downloaded gumdrop v0.8.0 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded wfc v0.9.1 [INFO] [stderr] Downloaded symmetric-shadowcasting v0.2.0 [INFO] [stderr] Downloaded rexpaint v0.1.1 [INFO] [stderr] Downloaded wfc_image v0.10.0 [INFO] [stderr] Downloaded gumdrop_derive v0.8.0 [INFO] [stderr] Downloaded syn v1.0.43 [INFO] [stderr] Downloaded grid_2d v0.14.6 [INFO] [stderr] Downloaded logging_timer v1.0.0 [INFO] [stderr] Downloaded symbol v0.1.7 [INFO] [stderr] Downloaded direction v0.17.10 [INFO] [stderr] Downloaded coord_2d v0.2.22 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded rayon v1.4.1 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cd0e57983160183310d53ec3fe5532101b13520c9f2c99aa519d94adeea8759 [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" "9cd0e57983160183310d53ec3fe5532101b13520c9f2c99aa519d94adeea8759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cd0e57983160183310d53ec3fe5532101b13520c9f2c99aa519d94adeea8759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd0e57983160183310d53ec3fe5532101b13520c9f2c99aa519d94adeea8759", kill_on_drop: false }` [INFO] [stdout] 9cd0e57983160183310d53ec3fe5532101b13520c9f2c99aa519d94adeea8759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c422c1b2e7a7c876cecf8892a68fa8527db5d97b9009d937f0374cf1ce1d52ab [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" "c422c1b2e7a7c876cecf8892a68fa8527db5d97b9009d937f0374cf1ce1d52ab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking symbol v0.1.7 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking direction v0.17.10 [INFO] [stderr] Checking grid_2d v0.14.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking wfc v0.9.1 [INFO] [stderr] Checking rayon-core v1.8.1 [INFO] [stderr] Checking rexpaint v0.1.1 [INFO] [stderr] Checking symmetric-shadowcasting v0.2.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling logging_timer_proc_macros v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking logging_timer v1.0.0 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Checking wfc_image v0.10.0 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking pathfinding v2.0.4 [INFO] [stderr] Checking roguelike_core v0.1.0 (/opt/rustwide/workdir/roguelike_core) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | panic!(format!("tried to perform is_in_fov on entity without facing")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 137 | panic!("tried to perform is_in_fov on entity without facing"); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | panic!(format!("EntityName {} not expected!", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 684 | panic!("EntityName {} not expected!", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:737:16 [INFO] [stdout] | [INFO] [stdout] 737 | panic!(format!("EntityType {} not expected!", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 737 | panic!("EntityType {} not expected!", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:960:16 [INFO] [stdout] | [INFO] [stdout] 960 | panic!(format!("Facing with diff ({}, {}) not valid!", diff.x, diff.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 960 | panic!("Facing with diff ({}, {}) not valid!", diff.x, diff.y); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/movement.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | panic!(format!("Direction should not exist {:?}", (dx, dy))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 306 | panic!("Direction should not exist {:?}", (dx, dy)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | panic!(format!("tried to perform is_in_fov on entity without facing")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 137 | panic!("tried to perform is_in_fov on entity without facing"); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | panic!(format!("EntityName {} not expected!", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 684 | panic!("EntityName {} not expected!", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:737:16 [INFO] [stdout] | [INFO] [stdout] 737 | panic!(format!("EntityType {} not expected!", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 737 | panic!("EntityType {} not expected!", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:960:16 [INFO] [stdout] | [INFO] [stdout] 960 | panic!(format!("Facing with diff ({}, {}) not valid!", diff.x, diff.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 960 | panic!("Facing with diff ({}, {}) not valid!", diff.x, diff.y); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/movement.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | panic!(format!("Direction should not exist {:?}", (dx, dy))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 306 | panic!("Direction should not exist {:?}", (dx, dy)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_engine v0.1.0 (/opt/rustwide/workdir/roguelike_engine) [INFO] [stdout] warning: unused import: `roguelike_core::movement` [INFO] [stdout] --> roguelike_engine/src/actions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use roguelike_core::movement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale_pos` [INFO] [stdout] --> roguelike_engine/src/actions.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use roguelike_core::utils::{scale_pos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_map::*` [INFO] [stdout] --> roguelike_engine/src/procgen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::make_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> roguelike_engine/src/vault.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::utils::*` [INFO] [stdout] --> roguelike_engine/src/vault.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use roguelike_core::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement::*` [INFO] [stdout] --> roguelike_engine/src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use roguelike_core::movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement` [INFO] [stdout] --> roguelike_engine/src/actions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use roguelike_core::movement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scale_pos` [INFO] [stdout] --> roguelike_engine/src/actions.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use roguelike_core::utils::{scale_pos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::make_map::*` [INFO] [stdout] --> roguelike_engine/src/procgen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::make_map::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement::*` [INFO] [stdout] --> roguelike_engine/src/step.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use roguelike_core::movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> roguelike_engine/src/vault.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::utils::*` [INFO] [stdout] --> roguelike_engine/src/vault.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use roguelike_core::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `turn` is never read [INFO] [stdout] --> roguelike_engine/src/actions.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | let mut turn = Action::none(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_engine/src/actions.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | let player_id = data.find_by_name(EntityName::Player).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> roguelike_engine/src/input.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | Cursor::Relative(offset) => *self = Cursor::Relative(sub_pos(new_pos, target_pos)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `turn` is never read [INFO] [stdout] --> roguelike_engine/src/actions.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | let mut turn = Action::none(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_engine/src/actions.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | let player_id = data.find_by_name(EntityName::Player).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid` [INFO] [stdout] --> roguelike_engine/src/procgen.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | let mid = Pos::new(2, 2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input_action` is never read [INFO] [stdout] --> roguelike_engine/src/step.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut input_action = InputAction::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_engine/src/step.rs:209:42 [INFO] [stdout] | [INFO] [stdout] 209 | matches!(msg, Msg::HammerHitWall(player_id, _)) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_engine/src/step.rs:231:44 [INFO] [stdout] | [INFO] [stdout] 231 | matches!(msg, Msg::HammerHitEntity(player_id, pawn)) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pawn` [INFO] [stdout] --> roguelike_engine/src/step.rs:231:55 [INFO] [stdout] | [INFO] [stdout] 231 | matches!(msg, Msg::HammerHitEntity(player_id, pawn)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input_action` is never read [INFO] [stdout] --> roguelike_engine/src/step.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut input_action = InputAction::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> roguelike_engine/src/input.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | Cursor::Relative(offset) => *self = Cursor::Relative(sub_pos(new_pos, target_pos)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | panic!(format!("Map index {} too large ({} available", game.settings.level_num, maps.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 104 | panic!("Map index {} too large ({} available", game.settings.level_num, maps.len()); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:431:40 [INFO] [stdout] | [INFO] [stdout] 431 | ... panic!(format!("Unexpected character {} in entities layer!", chr as u8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 431 | panic!("Unexpected character {} in entities layer!", chr as u8); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:437:32 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(format!("Layer {} not expected in map file!", layer_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 437 | panic!("Layer {} not expected in map file!", layer_index); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/generation.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | panic!(format!("Cannot create {:?} this way", entity_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 296 | panic!("Cannot create {:?} this way", entity_name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/resolve.rs:691:20 [INFO] [stdout] | [INFO] [stdout] 691 | panic!(format!("Hammer direction was not up/down/left/right ({:?})!", blocked)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 691 | panic!("Hammer direction was not up/down/left/right ({:?})!", blocked); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/input.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(format!("KeyDir {} unexpected", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 39 | panic!("KeyDir {} unexpected", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_lib v0.1.0 (/opt/rustwide/workdir/roguelike_lib) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | panic!(format!("Map index {} too large ({} available", game.settings.level_num, maps.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 104 | panic!("Map index {} too large ({} available", game.settings.level_num, maps.len()); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:431:40 [INFO] [stdout] | [INFO] [stdout] 431 | ... panic!(format!("Unexpected character {} in entities layer!", chr as u8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 431 | panic!("Unexpected character {} in entities layer!", chr as u8); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/make_map.rs:437:32 [INFO] [stdout] | [INFO] [stdout] 437 | panic!(format!("Layer {} not expected in map file!", layer_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 437 | panic!("Layer {} not expected in map file!", layer_index); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/generation.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | panic!(format!("Cannot create {:?} this way", entity_name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 296 | panic!("Cannot create {:?} this way", entity_name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/resolve.rs:691:20 [INFO] [stdout] | [INFO] [stdout] 691 | panic!(format!("Hammer direction was not up/down/left/right ({:?})!", blocked)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 691 | panic!("Hammer direction was not up/down/left/right ({:?})!", blocked); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_engine/src/input.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(format!("KeyDir {} unexpected", s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 39 | panic!("KeyDir {} unexpected", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking roguelike_main v0.1.0 (/opt/rustwide/workdir/roguelike_main) [INFO] [stdout] warning: unused variable: `mouse_xy` [INFO] [stdout] --> roguelike_main/src/render.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | mouse_xy: Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_xy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chr` [INFO] [stdout] --> roguelike_main/src/render.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 612 | let chr = tile.chr; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_main/src/render.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | let player_id = game.data.find_by_name(EntityName::Player).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_xy` [INFO] [stdout] --> roguelike_main/src/render.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | mouse_xy: Option) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_xy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chr` [INFO] [stdout] --> roguelike_main/src/render.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 612 | let chr = tile.chr; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_chr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> roguelike_main/src/render.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | let player_id = game.data.find_by_name(EntityName::Player).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_type` [INFO] [stdout] --> roguelike_main/src/display.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | Msg::Moved(entity_id, move_type, _pos) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_type` [INFO] [stdout] --> roguelike_main/src/display.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | Msg::Moved(entity_id, move_type, _pos) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut stdin = stdin.lock().lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | let (mut io_send, mut io_recv) = mpsc::channel(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | let (mut io_send, mut io_recv) = mpsc::channel(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut stdin = stdin.lock().lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | let (mut io_send, mut io_recv) = mpsc::channel(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_main/src/main.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | let (mut io_send, mut io_recv) = mpsc::channel(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_main/src/display.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | panic!(format!("Could not find sprite '{}'", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 412 | panic!("Could not find sprite '{}'", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> roguelike_main/src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | io_send.send(line.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_main/src/display.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | panic!(format!("Could not find sprite '{}'", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 412 | panic!("Could not find sprite '{}'", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> roguelike_main/src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | io_send.send(line.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "c422c1b2e7a7c876cecf8892a68fa8527db5d97b9009d937f0374cf1ce1d52ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c422c1b2e7a7c876cecf8892a68fa8527db5d97b9009d937f0374cf1ce1d52ab", kill_on_drop: false }` [INFO] [stdout] c422c1b2e7a7c876cecf8892a68fa8527db5d97b9009d937f0374cf1ce1d52ab