[INFO] cloning repository https://github.com/OinkIguana/roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OinkIguana/roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinkIguana%2Froguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinkIguana%2Froguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a278b61070b6037f8789a94e54ff4a25afabf7c5 [INFO] testing OinkIguana/roguelike against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOinkIguana%2Froguelike" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OinkIguana/roguelike on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OinkIguana/roguelike [INFO] finished tweaking git repo https://github.com/OinkIguana/roguelike [INFO] tweaked toml for git repo https://github.com/OinkIguana/roguelike written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/OinkIguana/roguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 8b0097bedf56db24802c815da7058b7e528d1a394f60c25c74f3eb52f395aa7c [INFO] running `Command { std: "docker" "start" "-a" "8b0097bedf56db24802c815da7058b7e528d1a394f60c25c74f3eb52f395aa7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b0097bedf56db24802c815da7058b7e528d1a394f60c25c74f3eb52f395aa7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0097bedf56db24802c815da7058b7e528d1a394f60c25c74f3eb52f395aa7c", kill_on_drop: false }` [INFO] [stdout] 8b0097bedf56db24802c815da7058b7e528d1a394f60c25c74f3eb52f395aa7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e02d0d61aa198b430e44060dec8d92678cecab94f86fc057527064bf5640965 [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" "4e02d0d61aa198b430e44060dec8d92678cecab94f86fc057527064bf5640965", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Compiling pancurses v0.9.0 [INFO] [stderr] Compiling roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/engine/behavior/mod.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/engine/behavior/mod.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Map` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/state/player_data.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub inventory: RefCell>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] 13 - pub inventory: RefCell>>, [INFO] [stdout] 13 + pub inventory: RefCell>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | contents: Option>, [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] 12 - contents: Option>, [INFO] [stdout] 12 + contents: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/messaging/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Drop(usize, 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] 14 - Drop(usize, Box), [INFO] [stdout] 14 + Drop(usize, Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/state/mod.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn process_all(mut self, behaviors: Vec>) -> Self { [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] 71 - fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stdout] 71 + fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/mod.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process(&self, action: Action) -> 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] 48 - pub fn process(&self, action: Action) -> Vec> { [INFO] [stdout] 48 + pub fn process(&self, action: Action) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | impl Clone for 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] 101 - impl Clone for Box { [INFO] [stdout] 101 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [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] 7 - fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stdout] 7 + fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [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] 15 - fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [INFO] [stdout] 15 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn step_on(&mut self, other: &mut Actor) {} [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] 17 - fn step_on(&mut self, other: &mut Actor) {} [INFO] [stdout] 17 + fn step_on(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_stepped_on(&mut self, other: &mut Actor) {} [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] 19 - fn be_stepped_on(&mut self, other: &mut Actor) {} [INFO] [stdout] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [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] 22 - fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [INFO] [stdout] 22 + fn can_be_interacted_with(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | fn interact(&mut self, other: &mut Actor) {} [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] 24 - fn interact(&mut self, other: &mut Actor) {} [INFO] [stdout] 24 + fn interact(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | fn be_interacted_with(&mut self, other: &mut Actor) {} [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] 26 - fn be_interacted_with(&mut self, other: &mut Actor) {} [INFO] [stdout] 26 + fn be_interacted_with(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn can_be_used(&self, other: &Actor) -> bool { false } [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] 29 - fn can_be_used(&self, other: &Actor) -> bool { false } [INFO] [stdout] 29 + fn can_be_used(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | fn use_item(&mut self, other: &mut Actor) {} [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 use_item(&mut self, other: &mut Actor) {} [INFO] [stdout] 31 + fn use_item(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:33:60 [INFO] [stdout] | [INFO] [stdout] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [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] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] 33 + fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [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] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] 33 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_be_attacked(&self, other: &Actor) -> bool { false } [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] 36 - fn can_be_attacked(&self, other: &Actor) -> bool { false } [INFO] [stdout] 36 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | fn attack(&mut self, other: &mut Actor) {} [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] 38 - fn attack(&mut self, other: &mut Actor) {} [INFO] [stdout] 38 + fn attack(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn be_attacked(&mut self, other: &mut Actor) {} [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 - fn be_attacked(&mut self, other: &mut Actor) {} [INFO] [stdout] 40 + fn be_attacked(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | fn pick_up(&mut self, item: 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] 56 - fn pick_up(&mut self, item: Box) {} [INFO] [stdout] 56 + fn pick_up(&mut self, item: Box) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_item(&mut self, index: usize) -> Option> { None } [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] 59 - fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stdout] 59 + fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn clone_box(&self) -> 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] 93 - fn clone_box(&self) -> Box; [INFO] [stdout] 93 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn clone_box(&self) -> 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] 96 - fn clone_box(&self) -> Box { [INFO] [stdout] 96 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn clone(&self) -> 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] 102 - fn clone(&self) -> Box { [INFO] [stdout] 102 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | fn react(&self, action: Action) -> 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] 23 - fn react(&self, action: Action) -> Box { [INFO] [stdout] 23 + fn react(&self, action: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_be_attacked(&self, _: &Actor) -> bool { true } [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] 36 - fn can_be_attacked(&self, _: &Actor) -> bool { true } [INFO] [stdout] 36 + fn can_be_attacked(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn be_attacked(&mut self, other: &mut Actor) { [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] 37 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 37 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn pick_up(&mut self, item: 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] 62 - fn pick_up(&mut self, item: Box) { [INFO] [stdout] 62 + fn pick_up(&mut self, item: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_item(&mut self, index: usize) -> Option> { [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] 65 - fn get_item(&mut self, index: usize) -> Option> { [INFO] [stdout] 65 + fn get_item(&mut self, index: usize) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | fn react(&self, _: Action) -> 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] 34 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 34 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | fn can_be_attacked(&self, other: &Actor) -> 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 can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 42 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | fn be_attacked(&mut self, other: &mut Actor) { [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] 45 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 45 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn react(&self, _: Action) -> 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] 35 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 35 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | fn can_be_attacked(&self, other: &Actor) -> 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] 55 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 55 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | fn be_attacked(&mut self, other: &mut Actor) { [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] 58 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 58 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/gold.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [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 can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stdout] 18 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/gold.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 19 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/stairs.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [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] 21 - fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stdout] 21 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/stairs.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn be_stepped_on(&mut self, _: &mut Actor) { [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] 22 - fn be_stepped_on(&mut self, _: &mut Actor) { [INFO] [stdout] 22 + fn be_stepped_on(&mut self, _: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/fountain.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [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 can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [INFO] [stdout] 18 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { !self.used } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/fountain.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_interacted_with(&mut self, other: &mut Actor) { [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] 19 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stdout] 19 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [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] 12 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] 12 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 13 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 13 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn can_be_used(&self, _: &Actor) -> bool { true } [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] 17 - fn can_be_used(&self, _: &Actor) -> bool { true } [INFO] [stdout] 17 + fn can_be_used(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [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 be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] 18 + fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [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 be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] 18 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/chest.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [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] 23 - fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [INFO] [stdout] 23 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { self.contents.is_some() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/chest.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | fn be_interacted_with(&mut self, other: &mut Actor) { [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] 24 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stdout] 24 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/key.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [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] 14 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] 14 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/key.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 15 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 15 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn react(&self, _: Action) -> 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] 36 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 36 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn can_be_attacked(&self, other: &Actor) -> 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] 86 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 86 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | fn attack(&mut self, other: &mut Actor) { [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] 89 - fn attack(&mut self, other: &mut Actor) { [INFO] [stdout] 89 + fn attack(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | fn be_attacked(&mut self, other: &mut Actor) { [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] 93 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 93 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fill(&mut self, mut actor: 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] 45 - pub fn fill(&mut self, mut actor: Box) { [INFO] [stdout] 45 + pub fn fill(&mut self, mut actor: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn process(&self, action: Action) -> 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] 65 - pub fn process(&self, action: Action) -> Box { [INFO] [stdout] 65 + pub fn process(&self, action: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn contents(&self) -> &Option> { [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] 70 - pub fn contents(&self) -> &Option> { [INFO] [stdout] 70 + pub fn contents(&self) -> &Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_been_attacked` [INFO] [stdout] --> src/actors/thief.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | has_been_attacked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Thief` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/actors/thief.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine/behavior/mod.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | replace(&mut map.tiles[i], a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine/behavior/mod.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | replace(&mut map.tiles[neighbour], b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.54s [INFO] running `Command { std: "docker" "inspect" "4e02d0d61aa198b430e44060dec8d92678cecab94f86fc057527064bf5640965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e02d0d61aa198b430e44060dec8d92678cecab94f86fc057527064bf5640965", kill_on_drop: false }` [INFO] [stdout] 4e02d0d61aa198b430e44060dec8d92678cecab94f86fc057527064bf5640965 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d0566cd02252a892b9f4f210cca85c420d6546449558adf0340de748b31da85 [INFO] running `Command { std: "docker" "start" "-a" "7d0566cd02252a892b9f4f210cca85c420d6546449558adf0340de748b31da85", kill_on_drop: false }` [INFO] [stderr] Compiling roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/engine/behavior/mod.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/engine/behavior/mod.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Map` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/state/player_data.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub inventory: RefCell>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] 13 - pub inventory: RefCell>>, [INFO] [stdout] 13 + pub inventory: RefCell>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | contents: Option>, [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] 12 - contents: Option>, [INFO] [stdout] 12 + contents: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/messaging/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Drop(usize, 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] 14 - Drop(usize, Box), [INFO] [stdout] 14 + Drop(usize, Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/state/mod.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn process_all(mut self, behaviors: Vec>) -> Self { [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] 71 - fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stdout] 71 + fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/mod.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn process(&self, action: Action) -> 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] 48 - pub fn process(&self, action: Action) -> Vec> { [INFO] [stdout] 48 + pub fn process(&self, action: Action) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | impl Clone for 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] 101 - impl Clone for Box { [INFO] [stdout] 101 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [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] 7 - fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stdout] 7 + fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [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] 15 - fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [INFO] [stdout] 15 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | fn step_on(&mut self, other: &mut Actor) {} [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] 17 - fn step_on(&mut self, other: &mut Actor) {} [INFO] [stdout] 17 + fn step_on(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_stepped_on(&mut self, other: &mut Actor) {} [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] 19 - fn be_stepped_on(&mut self, other: &mut Actor) {} [INFO] [stdout] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [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] 22 - fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [INFO] [stdout] 22 + fn can_be_interacted_with(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | fn interact(&mut self, other: &mut Actor) {} [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] 24 - fn interact(&mut self, other: &mut Actor) {} [INFO] [stdout] 24 + fn interact(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | fn be_interacted_with(&mut self, other: &mut Actor) {} [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] 26 - fn be_interacted_with(&mut self, other: &mut Actor) {} [INFO] [stdout] 26 + fn be_interacted_with(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn can_be_used(&self, other: &Actor) -> bool { false } [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] 29 - fn can_be_used(&self, other: &Actor) -> bool { false } [INFO] [stdout] 29 + fn can_be_used(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | fn use_item(&mut self, other: &mut Actor) {} [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 use_item(&mut self, other: &mut Actor) {} [INFO] [stdout] 31 + fn use_item(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:33:60 [INFO] [stdout] | [INFO] [stdout] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [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] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] 33 + fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [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] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stdout] 33 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_be_attacked(&self, other: &Actor) -> bool { false } [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] 36 - fn can_be_attacked(&self, other: &Actor) -> bool { false } [INFO] [stdout] 36 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | fn attack(&mut self, other: &mut Actor) {} [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] 38 - fn attack(&mut self, other: &mut Actor) {} [INFO] [stdout] 38 + fn attack(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn be_attacked(&mut self, other: &mut Actor) {} [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 - fn be_attacked(&mut self, other: &mut Actor) {} [INFO] [stdout] 40 + fn be_attacked(&mut self, other: &mut dyn Actor) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | fn pick_up(&mut self, item: 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] 56 - fn pick_up(&mut self, item: Box) {} [INFO] [stdout] 56 + fn pick_up(&mut self, item: Box) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_item(&mut self, index: usize) -> Option> { None } [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] 59 - fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stdout] 59 + fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | fn clone_box(&self) -> 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] 93 - fn clone_box(&self) -> Box; [INFO] [stdout] 93 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn clone_box(&self) -> 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] 96 - fn clone_box(&self) -> Box { [INFO] [stdout] 96 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/actor/mod.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn clone(&self) -> 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] 102 - fn clone(&self) -> Box { [INFO] [stdout] 102 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | fn react(&self, action: Action) -> 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] 23 - fn react(&self, action: Action) -> Box { [INFO] [stdout] 23 + fn react(&self, action: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn can_be_attacked(&self, _: &Actor) -> bool { true } [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] 36 - fn can_be_attacked(&self, _: &Actor) -> bool { true } [INFO] [stdout] 36 + fn can_be_attacked(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn be_attacked(&mut self, other: &mut Actor) { [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] 37 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 37 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn pick_up(&mut self, item: 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] 62 - fn pick_up(&mut self, item: Box) { [INFO] [stdout] 62 + fn pick_up(&mut self, item: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/player.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_item(&mut self, index: usize) -> Option> { [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] 65 - fn get_item(&mut self, index: usize) -> Option> { [INFO] [stdout] 65 + fn get_item(&mut self, index: usize) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | fn react(&self, _: Action) -> 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] 34 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 34 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | fn can_be_attacked(&self, other: &Actor) -> 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 can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 42 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/bat.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | fn be_attacked(&mut self, other: &mut Actor) { [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] 45 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 45 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn react(&self, _: Action) -> 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] 35 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 35 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | fn can_be_attacked(&self, other: &Actor) -> 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] 55 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 55 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/goblin.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | fn be_attacked(&mut self, other: &mut Actor) { [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] 58 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 58 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/gold.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [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 can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stdout] 18 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/gold.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 19 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/stairs.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [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] 21 - fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stdout] 21 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/stairs.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn be_stepped_on(&mut self, _: &mut Actor) { [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] 22 - fn be_stepped_on(&mut self, _: &mut Actor) { [INFO] [stdout] 22 + fn be_stepped_on(&mut self, _: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/fountain.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [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 can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [INFO] [stdout] 18 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { !self.used } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/fountain.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn be_interacted_with(&mut self, other: &mut Actor) { [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] 19 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stdout] 19 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [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] 12 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] 12 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 13 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 13 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | fn can_be_used(&self, _: &Actor) -> bool { true } [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] 17 - fn can_be_used(&self, _: &Actor) -> bool { true } [INFO] [stdout] 17 + fn can_be_used(&self, _: &dyn Actor) -> bool { true } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:18:60 [INFO] [stdout] | [INFO] [stdout] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [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 be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] 18 + fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/potion.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [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 be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stdout] 18 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/chest.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [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] 23 - fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [INFO] [stdout] 23 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { self.contents.is_some() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/chest.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | fn be_interacted_with(&mut self, other: &mut Actor) { [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] 24 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stdout] 24 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/key.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [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] 14 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] 14 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/key.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | fn be_stepped_on(&mut self, other: &mut Actor) { [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] 15 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stdout] 15 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn react(&self, _: Action) -> 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] 36 - fn react(&self, _: Action) -> Box { [INFO] [stdout] 36 + fn react(&self, _: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | fn can_be_attacked(&self, other: &Actor) -> 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] 86 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stdout] 86 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | fn attack(&mut self, other: &mut Actor) { [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] 89 - fn attack(&mut self, other: &mut Actor) { [INFO] [stdout] 89 + fn attack(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actors/thief.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | fn be_attacked(&mut self, other: &mut Actor) { [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] 93 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stdout] 93 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fill(&mut self, mut actor: 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] 45 - pub fn fill(&mut self, mut actor: Box) { [INFO] [stdout] 45 + pub fn fill(&mut self, mut actor: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn process(&self, action: Action) -> 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] 65 - pub fn process(&self, action: Action) -> Box { [INFO] [stdout] 65 + pub fn process(&self, action: Action) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/map/tile.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn contents(&self) -> &Option> { [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] 70 - pub fn contents(&self) -> &Option> { [INFO] [stdout] 70 + pub fn contents(&self) -> &Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `has_been_attacked` [INFO] [stdout] --> src/actors/thief.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | has_been_attacked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Thief` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/actors/thief.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine/behavior/mod.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | replace(&mut map.tiles[i], a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine/behavior/mod.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | replace(&mut map.tiles[neighbour], b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.56s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/roguelike-046b78bfb523ec8f) [INFO] running `Command { std: "docker" "inspect" "7d0566cd02252a892b9f4f210cca85c420d6546449558adf0340de748b31da85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0566cd02252a892b9f4f210cca85c420d6546449558adf0340de748b31da85", kill_on_drop: false }` [INFO] [stdout] 7d0566cd02252a892b9f4f210cca85c420d6546449558adf0340de748b31da85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] bb1360c00ca31911d05d0c52dfa615afce818fb7ed45652130e75a2b33ce7ede [INFO] running `Command { std: "docker" "start" "-a" "bb1360c00ca31911d05d0c52dfa615afce818fb7ed45652130e75a2b33ce7ede", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/engine/behavior/mod.rs:269:20 [INFO] [stderr] | [INFO] [stderr] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/engine/behavior/mod.rs:269:27 [INFO] [stderr] | [INFO] [stderr] 269 | fn exec(&self, usize, &mut Map) -> bool; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Map` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/state/player_data.rs:13:36 [INFO] [stderr] | [INFO] [stderr] 13 | pub inventory: RefCell>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - pub inventory: RefCell>>, [INFO] [stderr] 13 + pub inventory: RefCell>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/map/tile.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | contents: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - contents: Option>, [INFO] [stderr] 12 + contents: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/messaging/mod.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | Drop(usize, Box), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - Drop(usize, Box), [INFO] [stderr] 14 + Drop(usize, Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/state/mod.rs:71:49 [INFO] [stderr] | [INFO] [stderr] 71 | fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 - fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stderr] 71 + fn process_all(mut self, behaviors: Vec>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/map/mod.rs:48:54 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn process(&self, action: Action) -> Vec> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - pub fn process(&self, action: Action) -> Vec> { [INFO] [stderr] 48 + pub fn process(&self, action: Action) -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:101:20 [INFO] [stderr] | [INFO] [stderr] 101 | impl Clone for Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 - impl Clone for Box { [INFO] [stderr] 101 + impl Clone for Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stderr] 7 + fn react(&self, action: Action) -> Box { Box::new(Perform(Action::Idle)) } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:15:41 [INFO] [stderr] | [INFO] [stderr] 15 | fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - fn can_be_stepped_on(&self, other: &Actor) -> bool { false } [INFO] [stderr] 15 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { false } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:17:39 [INFO] [stderr] | [INFO] [stderr] 17 | fn step_on(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - fn step_on(&mut self, other: &mut Actor) {} [INFO] [stderr] 17 + fn step_on(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:19:45 [INFO] [stderr] | [INFO] [stderr] 19 | fn be_stepped_on(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn be_stepped_on(&mut self, other: &mut Actor) {} [INFO] [stderr] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:22:46 [INFO] [stderr] | [INFO] [stderr] 22 | fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - fn can_be_interacted_with(&self, other: &Actor) -> bool { false } [INFO] [stderr] 22 + fn can_be_interacted_with(&self, other: &dyn Actor) -> bool { false } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | fn interact(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - fn interact(&mut self, other: &mut Actor) {} [INFO] [stderr] 24 + fn interact(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:26:50 [INFO] [stderr] | [INFO] [stderr] 26 | fn be_interacted_with(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - fn be_interacted_with(&mut self, other: &mut Actor) {} [INFO] [stderr] 26 + fn be_interacted_with(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:29:35 [INFO] [stderr] | [INFO] [stderr] 29 | fn can_be_used(&self, other: &Actor) -> bool { false } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn can_be_used(&self, other: &Actor) -> bool { false } [INFO] [stderr] 29 + fn can_be_used(&self, other: &dyn Actor) -> bool { false } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:31:40 [INFO] [stderr] | [INFO] [stderr] 31 | fn use_item(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - fn use_item(&mut self, other: &mut Actor) {} [INFO] [stderr] 31 + fn use_item(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:33:60 [INFO] [stderr] | [INFO] [stderr] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stderr] 33 + fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:33:39 [INFO] [stderr] | [INFO] [stderr] 33 | fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn be_used(&mut self, other: &mut Actor) -> Option> { None } [INFO] [stderr] 33 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { None } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | fn can_be_attacked(&self, other: &Actor) -> bool { false } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn can_be_attacked(&self, other: &Actor) -> bool { false } [INFO] [stderr] 36 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { false } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:38:38 [INFO] [stderr] | [INFO] [stderr] 38 | fn attack(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - fn attack(&mut self, other: &mut Actor) {} [INFO] [stderr] 38 + fn attack(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:40:43 [INFO] [stderr] | [INFO] [stderr] 40 | fn be_attacked(&mut self, other: &mut Actor) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - fn be_attacked(&mut self, other: &mut Actor) {} [INFO] [stderr] 40 + fn be_attacked(&mut self, other: &mut dyn Actor) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | fn pick_up(&mut self, item: Box) {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - fn pick_up(&mut self, item: Box) {} [INFO] [stderr] 56 + fn pick_up(&mut self, item: Box) {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:59:56 [INFO] [stderr] | [INFO] [stderr] 59 | fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stderr] 59 + fn get_item(&mut self, index: usize) -> Option> { None } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:93:32 [INFO] [stderr] | [INFO] [stderr] 93 | fn clone_box(&self) -> Box; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - fn clone_box(&self) -> Box; [INFO] [stderr] 93 + fn clone_box(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:96:32 [INFO] [stderr] | [INFO] [stderr] 96 | fn clone_box(&self) -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - fn clone_box(&self) -> Box { [INFO] [stderr] 96 + fn clone_box(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/actor/mod.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | fn clone(&self) -> Box { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - fn clone(&self) -> Box { [INFO] [stderr] 102 + fn clone(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/player.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | fn react(&self, action: Action) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn react(&self, action: Action) -> Box { [INFO] [stderr] 23 + fn react(&self, action: Action) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/player.rs:36:35 [INFO] [stderr] | [INFO] [stderr] 36 | fn can_be_attacked(&self, _: &Actor) -> bool { true } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn can_be_attacked(&self, _: &Actor) -> bool { true } [INFO] [stderr] 36 + fn can_be_attacked(&self, _: &dyn Actor) -> bool { true } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/player.rs:37:43 [INFO] [stderr] | [INFO] [stderr] 37 | fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] 37 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/player.rs:62:37 [INFO] [stderr] | [INFO] [stderr] 62 | fn pick_up(&mut self, item: Box) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - fn pick_up(&mut self, item: Box) { [INFO] [stderr] 62 + fn pick_up(&mut self, item: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/player.rs:65:56 [INFO] [stderr] | [INFO] [stderr] 65 | fn get_item(&mut self, index: usize) -> Option> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - fn get_item(&mut self, index: usize) -> Option> { [INFO] [stderr] 65 + fn get_item(&mut self, index: usize) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/bat.rs:34:39 [INFO] [stderr] | [INFO] [stderr] 34 | fn react(&self, _: Action) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn react(&self, _: Action) -> Box { [INFO] [stderr] 34 + fn react(&self, _: Action) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/bat.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] 42 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/bat.rs:45:43 [INFO] [stderr] | [INFO] [stderr] 45 | fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] 45 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/goblin.rs:35:39 [INFO] [stderr] | [INFO] [stderr] 35 | fn react(&self, _: Action) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - fn react(&self, _: Action) -> Box { [INFO] [stderr] 35 + fn react(&self, _: Action) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/goblin.rs:55:39 [INFO] [stderr] | [INFO] [stderr] 55 | fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] 55 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/goblin.rs:58:43 [INFO] [stderr] | [INFO] [stderr] 58 | fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] 58 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/gold.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stderr] 18 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/gold.rs:19:45 [INFO] [stderr] | [INFO] [stderr] 19 | fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] 19 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/stairs.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - fn can_be_stepped_on(&self, _: &Actor) -> bool { true } [INFO] [stderr] 21 + fn can_be_stepped_on(&self, _: &dyn Actor) -> bool { true } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/stairs.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | fn be_stepped_on(&mut self, _: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - fn be_stepped_on(&mut self, _: &mut Actor) { [INFO] [stderr] 22 + fn be_stepped_on(&mut self, _: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/fountain.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | fn can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn can_be_interacted_with(&self, _: &Actor) -> bool { !self.used } [INFO] [stderr] 18 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { !self.used } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/fountain.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stderr] 19 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/potion.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] 12 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/potion.rs:13:45 [INFO] [stderr] | [INFO] [stderr] 13 | fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] 13 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/potion.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | fn can_be_used(&self, _: &Actor) -> bool { true } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - fn can_be_used(&self, _: &Actor) -> bool { true } [INFO] [stderr] 17 + fn can_be_used(&self, _: &dyn Actor) -> bool { true } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/potion.rs:18:60 [INFO] [stderr] | [INFO] [stderr] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stderr] 18 + fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/potion.rs:18:39 [INFO] [stderr] | [INFO] [stderr] 18 | fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn be_used(&mut self, other: &mut Actor) -> Option> { [INFO] [stderr] 18 + fn be_used(&mut self, other: &mut dyn Actor) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/chest.rs:23:42 [INFO] [stderr] | [INFO] [stderr] 23 | fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn can_be_interacted_with(&self, _: &Actor) -> bool { self.contents.is_some() } [INFO] [stderr] 23 + fn can_be_interacted_with(&self, _: &dyn Actor) -> bool { self.contents.is_some() } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/chest.rs:24:50 [INFO] [stderr] | [INFO] [stderr] 24 | fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - fn be_interacted_with(&mut self, other: &mut Actor) { [INFO] [stderr] 24 + fn be_interacted_with(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/key.rs:14:41 [INFO] [stderr] | [INFO] [stderr] 14 | fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - fn can_be_stepped_on(&self, other: &Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] 14 + fn can_be_stepped_on(&self, other: &dyn Actor) -> bool { other.long_name() == Player::id() } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/key.rs:15:45 [INFO] [stderr] | [INFO] [stderr] 15 | fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - fn be_stepped_on(&mut self, other: &mut Actor) { [INFO] [stderr] 15 + fn be_stepped_on(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/thief.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | fn react(&self, _: Action) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn react(&self, _: Action) -> Box { [INFO] [stderr] 36 + fn react(&self, _: Action) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/thief.rs:86:39 [INFO] [stderr] | [INFO] [stderr] 86 | fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 86 - fn can_be_attacked(&self, other: &Actor) -> bool { [INFO] [stderr] 86 + fn can_be_attacked(&self, other: &dyn Actor) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/thief.rs:89:38 [INFO] [stderr] | [INFO] [stderr] 89 | fn attack(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - fn attack(&mut self, other: &mut Actor) { [INFO] [stderr] 89 + fn attack(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actors/thief.rs:93:43 [INFO] [stderr] | [INFO] [stderr] 93 | fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - fn be_attacked(&mut self, other: &mut Actor) { [INFO] [stderr] 93 + fn be_attacked(&mut self, other: &mut dyn Actor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/map/tile.rs:45:43 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn fill(&mut self, mut actor: Box) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - pub fn fill(&mut self, mut actor: Box) { [INFO] [stderr] 45 + pub fn fill(&mut self, mut actor: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/map/tile.rs:65:50 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn process(&self, action: Action) -> Box { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - pub fn process(&self, action: Action) -> Box { [INFO] [stderr] 65 + pub fn process(&self, action: Action) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/engine/map/tile.rs:70:43 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn contents(&self) -> &Option> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 - pub fn contents(&self) -> &Option> { [INFO] [stderr] 70 + pub fn contents(&self) -> &Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `has_been_attacked` [INFO] [stderr] --> src/actors/thief.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | has_been_attacked: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Thief` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/actors/thief.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/engine/behavior/mod.rs:188:21 [INFO] [stderr] | [INFO] [stderr] 188 | replace(&mut map.tiles[i], a); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/engine/behavior/mod.rs:189:21 [INFO] [stderr] | [INFO] [stderr] 189 | replace(&mut map.tiles[neighbour], b); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `roguelike` (bin "roguelike" test) generated 63 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/roguelike-046b78bfb523ec8f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb1360c00ca31911d05d0c52dfa615afce818fb7ed45652130e75a2b33ce7ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1360c00ca31911d05d0c52dfa615afce818fb7ed45652130e75a2b33ce7ede", kill_on_drop: false }` [INFO] [stdout] bb1360c00ca31911d05d0c52dfa615afce818fb7ed45652130e75a2b33ce7ede