[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] 670d031ae122413a8f981a9db6aace3f8ea7dcc0 [INFO] checking nsmryan/RustTcodTutorial against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/RustTcodTutorial on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "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-2/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" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gumdrop v0.8.0 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded grid_2d v0.14.6 [INFO] [stderr] Downloaded gumdrop_derive v0.8.0 [INFO] [stderr] Downloaded logging_timer_proc_macros v1.0.0 [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] [stderr] Downloaded symmetric-shadowcasting v0.2.0 [INFO] [stderr] Downloaded wfc_image v0.10.0 [INFO] [stderr] Downloaded coord_2d v0.2.22 [INFO] [stderr] Downloaded direction v0.17.10 [INFO] [stderr] Downloaded logging_timer v1.0.0 [INFO] [stderr] Downloaded pathfinding v2.0.4 [INFO] [stderr] Downloaded wfc v0.9.1 [INFO] [stderr] Downloaded symbol v0.1.7 [INFO] [stderr] Downloaded rexpaint v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a82148987d4931a229ab0c37259df0c29566cf4d017926fd78e4deeabbf561 [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" "15a82148987d4931a229ab0c37259df0c29566cf4d017926fd78e4deeabbf561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a82148987d4931a229ab0c37259df0c29566cf4d017926fd78e4deeabbf561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a82148987d4931a229ab0c37259df0c29566cf4d017926fd78e4deeabbf561", kill_on_drop: false }` [INFO] [stdout] 15a82148987d4931a229ab0c37259df0c29566cf4d017926fd78e4deeabbf561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTUP_TOOLCHAIN=4a04890980766cc79878135f5ade8c0c4321e943" "-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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950db891332fe9ecddc18f30cccd00c96f945d049bc6b5961a65e48a132bb7e0 [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" "950db891332fe9ecddc18f30cccd00c96f945d049bc6b5961a65e48a132bb7e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking coord_2d v0.2.22 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking mint v0.5.5 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling sdl2 v0.34.3 [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 indexmap v1.6.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [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 itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking direction v0.17.10 [INFO] [stderr] Checking grid_2d v0.14.6 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking symbol v0.1.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rexpaint v0.1.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Compiling logging_timer_proc_macros v1.0.0 [INFO] [stderr] Checking symmetric-shadowcasting v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Checking logging_timer v1.0.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking wfc v0.9.1 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking pathfinding v2.0.4 [INFO] [stderr] Checking image v0.23.10 [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:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | 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] 747 | 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:800:16 [INFO] [stdout] | [INFO] [stdout] 800 | 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] 800 | 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:1048:16 [INFO] [stdout] | [INFO] [stdout] 1048 | 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] 1048 | 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:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 | 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 wfc_image v0.10.0 [INFO] [stderr] Checking roguelike_engine v0.1.0 (/opt/rustwide/workdir/roguelike_engine) [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:429:40 [INFO] [stdout] | [INFO] [stdout] 429 | ... 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] 429 | 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:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | 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] 435 | 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:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 300 | 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:737:20 [INFO] [stdout] | [INFO] [stdout] 737 | 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] 737 | 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roguelike_core::movement::*` [INFO] [stdout] --> roguelike_engine/src/game.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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/step.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use roguelike_core::movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid` [INFO] [stdout] --> roguelike_engine/src/procgen.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | let mid = Pos::new(2, 2); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input_action` is never read [INFO] [stdout] --> roguelike_engine/src/step.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut input_action = InputAction::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/step.rs:204:42 [INFO] [stdout] | [INFO] [stdout] 204 | 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:226:44 [INFO] [stdout] | [INFO] [stdout] 226 | 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:226:55 [INFO] [stdout] | [INFO] [stdout] 226 | 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:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | 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: 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:429:40 [INFO] [stdout] | [INFO] [stdout] 429 | ... 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] 429 | 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:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | 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] 435 | 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:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 300 | 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:737:20 [INFO] [stdout] | [INFO] [stdout] 737 | 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] 737 | 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] [stderr] Checking roguelike_main v0.1.0 (/opt/rustwide/workdir/roguelike_main) [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:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | 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] 747 | 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:800:16 [INFO] [stdout] | [INFO] [stdout] 800 | 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] 800 | 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:1048:16 [INFO] [stdout] | [INFO] [stdout] 1048 | 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] 1048 | 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:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 | 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_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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "950db891332fe9ecddc18f30cccd00c96f945d049bc6b5961a65e48a132bb7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950db891332fe9ecddc18f30cccd00c96f945d049bc6b5961a65e48a132bb7e0", kill_on_drop: false }` [INFO] [stdout] 950db891332fe9ecddc18f30cccd00c96f945d049bc6b5961a65e48a132bb7e0