[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] 97d2a8cbfee2f084194a24672b7335c0b773c9d2 [INFO] checking nsmryan/RustTcodTutorial against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2FRustTcodTutorial" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/RustTcodTutorial on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-11/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10efcb9768120ed5c8b36e7e733a235306856b38cb738d63a614b4888baf0544 [INFO] running `Command { std: "docker" "start" "-a" "10efcb9768120ed5c8b36e7e733a235306856b38cb738d63a614b4888baf0544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10efcb9768120ed5c8b36e7e733a235306856b38cb738d63a614b4888baf0544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10efcb9768120ed5c8b36e7e733a235306856b38cb738d63a614b4888baf0544", kill_on_drop: false }` [INFO] [stdout] 10efcb9768120ed5c8b36e7e733a235306856b38cb738d63a614b4888baf0544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46e0e605829fa1efde5777d768aa8a4043589521bb58a46cfddcb82e7c871397 [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" "46e0e605829fa1efde5777d768aa8a4043589521bb58a46cfddcb82e7c871397", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking coord_2d v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Compiling sdl2 v0.34.4 [INFO] [stderr] Checking symbol v0.1.7 [INFO] [stderr] Compiling sdl2-sys v0.34.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking grid_2d v0.15.0 [INFO] [stderr] Checking direction v0.18.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rexpaint v0.1.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking symmetric-shadowcasting v0.2.0 [INFO] [stderr] Checking wfc v0.10.0 [INFO] [stderr] Compiling logging_timer_proc_macros v1.0.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Checking logging_timer v1.0.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Checking wfc_image v0.11.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking pathfinding v2.1.2 [INFO] [stderr] Checking roguelike_core v0.1.0 (/opt/rustwide/workdir/roguelike_core) [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> roguelike_core/src/movement.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let dir = new_dir; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> roguelike_core/src/movement.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let dir = new_dir; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | panic!(format!("tried to perform is_in_fov on entity without facing")); [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] 182 | 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:809:16 [INFO] [stdout] | [INFO] [stdout] 809 | panic!(format!("EntityName {} not expected!", s)); [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] 809 | 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:862:16 [INFO] [stdout] | [INFO] [stdout] 862 | panic!(format!("EntityType {} not expected!", s)); [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] 862 | panic!("EntityType {} not expected!", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_core/src/movement.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | let mut dir = Direction::Right; [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: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | panic!(format!("Facing with diff ({}, {}) not valid!", diff.x, diff.y)); [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] 1117 | panic!("Facing with diff ({}, {}) not valid!", diff.x, diff.y); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> roguelike_core/src/movement.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | let mut dir = Direction::Right; [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_core/src/movement.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | panic!(format!("Direction should not exist {:?}", (dx, dy))); [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] 313 | 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: panic message is not a string literal [INFO] [stdout] --> roguelike_core/src/types.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | panic!(format!("tried to perform is_in_fov on entity without facing")); [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] 182 | 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:809:16 [INFO] [stdout] | [INFO] [stdout] 809 | panic!(format!("EntityName {} not expected!", s)); [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] 809 | 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:862:16 [INFO] [stdout] | [INFO] [stdout] 862 | panic!(format!("EntityType {} not expected!", s)); [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] 862 | 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:1117:16 [INFO] [stdout] | [INFO] [stdout] 1117 | panic!(format!("Facing with diff ({}, {}) not valid!", diff.x, diff.y)); [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] 1117 | 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:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | panic!(format!("Direction should not exist {:?}", (dx, dy))); [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] 313 | panic!("Direction should not exist {:?}", (dx, dy)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> roguelike_engine/src/actions.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | ... config: &Config) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_dir` [INFO] [stdout] --> roguelike_engine/src/input.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | if let Some(input_dir) = InputDirection::from_chr(chr) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/input.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(index) = SKILL_KEYS.iter().position(|key| *key == chr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/input.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(index) = ITEM_KEYS.iter().position(|key| *key == chr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> roguelike_engine/src/actions.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | ... config: &Config) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_dir` [INFO] [stdout] --> roguelike_engine/src/input.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | if let Some(input_dir) = InputDirection::from_chr(chr) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/input.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | if let Some(index) = SKILL_KEYS.iter().position(|key| *key == chr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> roguelike_engine/src/input.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(index) = ITEM_KEYS.iter().position(|key| *key == chr) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_move` [INFO] [stdout] --> roguelike_engine/src/actions.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn handle_move(loc: ActionLoc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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_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] 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:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | ... panic!(format!("Unexpected character {} in entities layer!", chr as u8)); [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] 436 | 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:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | panic!(format!("Layer {} not expected in map file!", layer_index)); [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] 442 | 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:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | panic!(format!("Cannot create {:?} this way", entity_name)); [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] 366 | 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:792:20 [INFO] [stdout] | [INFO] [stdout] 792 | panic!(format!("Hammer direction was not up/down/left/right ({:?})!", blocked)); [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] 792 | 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:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(format!("KeyDir {} unexpected", s)); [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] 43 | panic!("KeyDir {} unexpected", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_move` [INFO] [stdout] --> roguelike_engine/src/actions.rs:751:4 [INFO] [stdout] | [INFO] [stdout] 751 | fn handle_move(loc: ActionLoc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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_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] 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:436:40 [INFO] [stdout] | [INFO] [stdout] 436 | ... panic!(format!("Unexpected character {} in entities layer!", chr as u8)); [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] 436 | 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:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | panic!(format!("Layer {} not expected in map file!", layer_index)); [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] 442 | 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:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | panic!(format!("Cannot create {:?} this way", entity_name)); [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] 366 | 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:792:20 [INFO] [stdout] | [INFO] [stdout] 792 | panic!(format!("Hammer direction was not up/down/left/right ({:?})!", blocked)); [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] 792 | 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:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(format!("KeyDir {} unexpected", s)); [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] 43 | panic!("KeyDir {} unexpected", s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 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: unused variable: `num_cells_y` [INFO] [stdout] --> roguelike_main/src/display.rs:1014:27 [INFO] [stdout] | [INFO] [stdout] 1014 | let (num_cells_x, num_cells_y) = self.num_cells(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cells_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cells_y` [INFO] [stdout] --> roguelike_main/src/display.rs:1014:27 [INFO] [stdout] | [INFO] [stdout] 1014 | let (num_cells_x, num_cells_y) = self.num_cells(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cells_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_main/src/display.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | panic!(format!("Could not find sprite '{}'", name)); [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] 747 | panic!("Could not find sprite '{}'", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> roguelike_main/src/display.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | panic!(format!("Could not find sprite '{}'", name)); [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] 747 | panic!("Could not find sprite '{}'", name); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "46e0e605829fa1efde5777d768aa8a4043589521bb58a46cfddcb82e7c871397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e0e605829fa1efde5777d768aa8a4043589521bb58a46cfddcb82e7c871397", kill_on_drop: false }` [INFO] [stdout] 46e0e605829fa1efde5777d768aa8a4043589521bb58a46cfddcb82e7c871397