[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-2021-09-08 for beta-1.56-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-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b4ec6a4857498ccfdbae157a86fbcc183bdc59cc1fa25d1832243f1c399a6c [INFO] running `Command { std: "docker" "start" "-a" "08b4ec6a4857498ccfdbae157a86fbcc183bdc59cc1fa25d1832243f1c399a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b4ec6a4857498ccfdbae157a86fbcc183bdc59cc1fa25d1832243f1c399a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b4ec6a4857498ccfdbae157a86fbcc183bdc59cc1fa25d1832243f1c399a6c", kill_on_drop: false }` [INFO] [stdout] 08b4ec6a4857498ccfdbae157a86fbcc183bdc59cc1fa25d1832243f1c399a6c [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11051885b2875e2d8801d01198e18cf872df1a24a179c22050d7ea1c00a81f86 [INFO] running `Command { std: "docker" "start" "-a" "11051885b2875e2d8801d01198e18cf872df1a24a179c22050d7ea1c00a81f86", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling pkg-config v0.3.9 [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: 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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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: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/messaging/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Drop(usize, Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "11051885b2875e2d8801d01198e18cf872df1a24a179c22050d7ea1c00a81f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11051885b2875e2d8801d01198e18cf872df1a24a179c22050d7ea1c00a81f86", kill_on_drop: false }` [INFO] [stdout] 11051885b2875e2d8801d01198e18cf872df1a24a179c22050d7ea1c00a81f86 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31298bda34a75c6472360fd874e6155e14935b55e881f6902df9913464489d60 [INFO] running `Command { std: "docker" "start" "-a" "31298bda34a75c6472360fd874e6155e14935b55e881f6902df9913464489d60", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling roguelike v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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: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/messaging/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Drop(usize, Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "31298bda34a75c6472360fd874e6155e14935b55e881f6902df9913464489d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31298bda34a75c6472360fd874e6155e14935b55e881f6902df9913464489d60", kill_on_drop: false }` [INFO] [stdout] 31298bda34a75c6472360fd874e6155e14935b55e881f6902df9913464489d60 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00ea78fa174e7236425117dcf197fefe87ffc57b286c282cce8f49e3708cab00 [INFO] running `Command { std: "docker" "start" "-a" "00ea78fa174e7236425117dcf197fefe87ffc57b286c282cce8f49e3708cab00", kill_on_drop: false }` [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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/messaging/mod.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | Drop(usize, Box), [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Behavior` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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] | ^^^^^ help: use `dyn`: `dyn Actor` [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] [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 62 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/roguelike-81086ff3f432e199) [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" "00ea78fa174e7236425117dcf197fefe87ffc57b286c282cce8f49e3708cab00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ea78fa174e7236425117dcf197fefe87ffc57b286c282cce8f49e3708cab00", kill_on_drop: false }` [INFO] [stdout] 00ea78fa174e7236425117dcf197fefe87ffc57b286c282cce8f49e3708cab00