[INFO] cloning repository https://github.com/vandomej/Crogue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vandomej/Crogue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandomej%2FCrogue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandomej%2FCrogue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 201af78081872e1782e2dc7c63a170b3abf00493 [INFO] checking vandomej/Crogue against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandomej%2FCrogue" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vandomej/Crogue on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vandomej/Crogue [INFO] finished tweaking git repo https://github.com/vandomej/Crogue [INFO] tweaked toml for git repo https://github.com/vandomej/Crogue written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vandomej/Crogue already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28920beb7b8daaa488d2521a27060a562d3d973994adc5eb0a072781873f312a [INFO] running `Command { std: "docker" "start" "-a" "28920beb7b8daaa488d2521a27060a562d3d973994adc5eb0a072781873f312a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28920beb7b8daaa488d2521a27060a562d3d973994adc5eb0a072781873f312a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28920beb7b8daaa488d2521a27060a562d3d973994adc5eb0a072781873f312a", kill_on_drop: false }` [INFO] [stdout] 28920beb7b8daaa488d2521a27060a562d3d973994adc5eb0a072781873f312a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 378b7bb1e7293f77e1a8f4dcf4dae3b3da0e14801de79eeb6f3f2f39161148be [INFO] running `Command { std: "docker" "start" "-a" "378b7bb1e7293f77e1a8f4dcf4dae3b3da0e14801de79eeb6f3f2f39161148be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking crogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/scene.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &GameObject) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &dyn GameObject) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:42:64 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:31:72 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/scene.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &GameObject) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &dyn GameObject) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:42:64 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:57 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:101 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:305:63 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:31:72 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:57 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:101 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:305:63 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/scene.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut line = format!("{:2}", "YOU HAVE DIED."); [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] --> src/game/scene.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut line = format!("{:2}", "YOU HAVE DIED."); [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: method `clear` is never used [INFO] [stdout] --> src/game/actors/enemy.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&self, mut window: &Root) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `walls` is never read [INFO] [stdout] --> src/game/map/mapgen.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tile` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy_gen` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/game/actors/enemy.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&self, mut window: &Root) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `walls` is never read [INFO] [stdout] --> src/game/map/mapgen.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tile` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy_gen` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.10s [INFO] running `Command { std: "docker" "inspect" "378b7bb1e7293f77e1a8f4dcf4dae3b3da0e14801de79eeb6f3f2f39161148be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378b7bb1e7293f77e1a8f4dcf4dae3b3da0e14801de79eeb6f3f2f39161148be", kill_on_drop: false }` [INFO] [stdout] 378b7bb1e7293f77e1a8f4dcf4dae3b3da0e14801de79eeb6f3f2f39161148be [INFO] checking vandomej/Crogue against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvandomej%2FCrogue" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vandomej/Crogue on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vandomej/Crogue [INFO] finished tweaking git repo https://github.com/vandomej/Crogue [INFO] tweaked toml for git repo https://github.com/vandomej/Crogue written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vandomej/Crogue already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79e0609d868716aa92424118290d98e21c66b48d83ae5b45be0d6e61897f632a [INFO] running `Command { std: "docker" "start" "-a" "79e0609d868716aa92424118290d98e21c66b48d83ae5b45be0d6e61897f632a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79e0609d868716aa92424118290d98e21c66b48d83ae5b45be0d6e61897f632a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e0609d868716aa92424118290d98e21c66b48d83ae5b45be0d6e61897f632a", kill_on_drop: false }` [INFO] [stdout] 79e0609d868716aa92424118290d98e21c66b48d83ae5b45be0d6e61897f632a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7f741fda05acab375b4b34afc88e70fa8d1e40b87a62e58ba05927dcc93f4be [INFO] running `Command { std: "docker" "start" "-a" "d7f741fda05acab375b4b34afc88e70fa8d1e40b87a62e58ba05927dcc93f4be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking crogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/scene.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &GameObject) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &dyn GameObject) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/scene.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | tiles: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:42:64 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:31:72 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn move_object(&mut self, tiles: &Vec>, x: i32, y: i32) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/game_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &GameObject) -> bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn is_adjacent_to(&self, other: &dyn GameObject) -> bool [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | pub fn update(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/actors/player.rs:42:64 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn handle_key(&mut self, key: Option, tiles: &Vec>) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:57 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:101 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:305:63 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:31:72 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn empty_gen(map_width: i32, map_height: i32) -> (Map, Vec>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn new_floor(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn new_wall(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn new_up_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w:i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:90:58 [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | fn new_down_staircase(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h:i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn draw_box(map: &mut Map, tiles: &mut Vec>, x: i32, y: i32, w: i32, h: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:57 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:179:101 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | pub fn add_to_map(rooms: &Vec, m: Map, t: Vec>, first_floor: bool) -> (Map, Vec>){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:305:63 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | pub fn bsp_gen(seed: u32, first_floor: bool) -> (Map, Vec>, (i32, i32)) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | let mut tiles: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/map/mapgen.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | let mut map: (Map, Vec>) = empty_gen(CONFIG.game.screen_width, CONFIG.game.screen_height); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/scene.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut line = format!("{:2}", "YOU HAVE DIED."); [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] --> src/game/scene.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut line = format!("{:2}", "YOU HAVE DIED."); [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: method `clear` is never used [INFO] [stdout] --> src/game/actors/enemy.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&self, mut window: &Root) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `walls` is never read [INFO] [stdout] --> src/game/map/mapgen.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tile` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy_gen` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GameSettings` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_BspSettings` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/game/actors/enemy.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Enemy { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear(&self, mut window: &Root) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `walls` is never read [INFO] [stdout] --> src/game/map/mapgen.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tile` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_tile(w: i32, h: i32, map_width: i32, map_height: i32) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dummy_gen` is never used [INFO] [stdout] --> src/game/map/mapgen.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn dummy_gen(map_w: i32, map_h: i32) -> (Map, Vec>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_GameSettings` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_BspSettings` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crogue` (bin "crogue") due to 4 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crogue` (bin "crogue" test) due to 4 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7f741fda05acab375b4b34afc88e70fa8d1e40b87a62e58ba05927dcc93f4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f741fda05acab375b4b34afc88e70fa8d1e40b87a62e58ba05927dcc93f4be", kill_on_drop: false }` [INFO] [stdout] d7f741fda05acab375b4b34afc88e70fa8d1e40b87a62e58ba05927dcc93f4be