[INFO] cloning repository https://github.com/alexanderbladyko/caverna_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexanderbladyko/caverna_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderbladyko%2Fcaverna_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderbladyko%2Fcaverna_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 068b3bfa0f647edd09952e9749f8186b02103877 [INFO] testing alexanderbladyko/caverna_bot against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexanderbladyko%2Fcaverna_bot" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexanderbladyko/caverna_bot on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexanderbladyko/caverna_bot [INFO] finished tweaking git repo https://github.com/alexanderbladyko/caverna_bot [INFO] tweaked toml for git repo https://github.com/alexanderbladyko/caverna_bot written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/alexanderbladyko/caverna_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded serde v1.0.21 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded serde_yaml v0.7.3 [INFO] [stderr] Downloaded serde_derive v1.0.21 [INFO] [stderr] Downloaded linked-hash-map v0.5.0 [INFO] [stderr] Downloaded clap v2.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1af340ee8b739b3e3d4d604c1c005cb644d352072ec6d34093acec93e4859682 [INFO] running `Command { std: "docker" "start" "-a" "1af340ee8b739b3e3d4d604c1c005cb644d352072ec6d34093acec93e4859682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1af340ee8b739b3e3d4d604c1c005cb644d352072ec6d34093acec93e4859682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af340ee8b739b3e3d4d604c1c005cb644d352072ec6d34093acec93e4859682", kill_on_drop: false }` [INFO] [stdout] 1af340ee8b739b3e3d4d604c1c005cb644d352072ec6d34093acec93e4859682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47a9003d0fb6b792e06dffe5173a55f289df9c9420b6975ac882b509b443d73b [INFO] running `Command { std: "docker" "start" "-a" "47a9003d0fb6b792e06dffe5173a55f289df9c9420b6975ac882b509b443d73b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling clap v2.28.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling caverna_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `hash_set` [INFO] [stdout] --> src/common.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! hash_set( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub actions: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub actions: Vec>, [INFO] [stdout] 23 + pub actions: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - fn as_any(&self) -> &Any; [INFO] [stdout] 17 + fn as_any(&self) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_vec(actions: Vec>) -> Actions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn from_vec(actions: Vec>) -> Actions { [INFO] [stdout] 41 + pub fn from_vec(actions: Vec>) -> Actions { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - fn as_any(&self) -> &Any { [INFO] [stdout] 70 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - fn as_any(&self) -> &Any { [INFO] [stdout] 96 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - fn as_any(&self) -> &Any { [INFO] [stdout] 120 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - fn as_any(&self) -> &Any { [INFO] [stdout] 143 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - fn as_any(&self) -> &Any { [INFO] [stdout] 166 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn as_any(&self) -> &Any { [INFO] [stdout] 203 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 224 - fn as_any(&self) -> &Any { [INFO] [stdout] 224 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 247 - fn as_any(&self) -> &Any { [INFO] [stdout] 247 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 271 - fn as_any(&self) -> &Any { [INFO] [stdout] 271 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 - fn as_any(&self) -> &Any { [INFO] [stdout] 294 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - fn as_any(&self) -> &Any { [INFO] [stdout] 317 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:339:26 [INFO] [stdout] | [INFO] [stdout] 339 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 339 - fn as_any(&self) -> &Any { [INFO] [stdout] 339 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 - fn as_any(&self) -> &Any { [INFO] [stdout] 362 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions/mod.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 - fn as_any(&self) -> &Any { [INFO] [stdout] 385 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/models/game.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_rooms(&self) -> Vec<&Room> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - pub fn get_rooms(&self) -> Vec<&Room> { [INFO] [stdout] 101 + pub fn get_rooms(&self) -> Vec<&dyn Room> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/models/game.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn get_free_moves(&self) -> Vec<&Move> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - pub fn get_free_moves(&self) -> Vec<&Move> { [INFO] [stdout] 219 + pub fn get_free_moves(&self) -> Vec<&dyn Move> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/models/game.rs:234:41 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn get_all_moves(&self) -> Vec<&Move> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 - pub fn get_all_moves(&self) -> Vec<&Move> { [INFO] [stdout] 234 + pub fn get_all_moves(&self) -> Vec<&dyn Move> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_from_string(string: &str) -> Result<&Move, String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_from_string(string: &str) -> Result<&Move, String> { [INFO] [stdout] 16 + pub fn get_from_string(string: &str) -> Result<&dyn Move, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn collect_actions(game: &Game, moves_config: &MovesConfig, moves: Vec<&Move>) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn collect_actions(game: &Game, moves_config: &MovesConfig, moves: Vec<&Move>) -> Vec { [INFO] [stdout] 47 + pub fn collect_actions(game: &Game, moves_config: &MovesConfig, moves: Vec<&dyn Move>) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rooms/core.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_from_string(string: &str) -> Result<&Room, String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn get_from_string(string: &str) -> Result<&Room, String> { [INFO] [stdout] 54 + pub fn get_from_string(string: &str) -> Result<&dyn Room, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/models/game.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | let mut slots: HashSet = HashSet::from( [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the trait `From` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `HashSet: From<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From<[T; N]> for HashSet [INFO] [stdout] where T: Eq, T: Hash; [INFO] [stdout] - impl From for T; [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 75 | self.rooms.iter().map(|r| r.position).collect::() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/models/game.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | let mut slots: HashSet = HashSet::from( [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the trait `From` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `HashSet: From<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl From<[T; N]> for HashSet [INFO] [stdout] where T: Eq, T: Hash; [INFO] [stdout] - impl From for T; [INFO] [stdout] help: consider specifying the type argument in the method call [INFO] [stdout] | [INFO] [stdout] 89 | self.fields.iter().map(|r| r.position).collect::() [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/models/game.rs:270:47 [INFO] [stdout] | [INFO] [stdout] 270 | let number: i64 = match file_name.trim_right_matches(".yml").parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | let moves_list: Vec<&Move> = vec![ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - let moves_list: Vec<&Move> = vec![ [INFO] [stdout] 17 + let moves_list: Vec<&dyn Move> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 102 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 125 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 160 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 180 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:217:34 [INFO] [stdout] | [INFO] [stdout] 217 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 217 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 237 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 237 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:295:34 [INFO] [stdout] | [INFO] [stdout] 295 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 295 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 295 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 315 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 315 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:351:34 [INFO] [stdout] | [INFO] [stdout] 351 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 351 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:367:34 [INFO] [stdout] | [INFO] [stdout] 367 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 367 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:395:34 [INFO] [stdout] | [INFO] [stdout] 395 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 395 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 395 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:407:34 [INFO] [stdout] | [INFO] [stdout] 407 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 407 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 407 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:437:34 [INFO] [stdout] | [INFO] [stdout] 437 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 437 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 437 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 452 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 452 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:483:34 [INFO] [stdout] | [INFO] [stdout] 483 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 483 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:498:34 [INFO] [stdout] | [INFO] [stdout] 498 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 498 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 498 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:528:34 [INFO] [stdout] | [INFO] [stdout] 528 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 528 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:540:34 [INFO] [stdout] | [INFO] [stdout] 540 | let mut actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 - let mut actions: Vec> = Vec::new(); [INFO] [stdout] 540 + let mut actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:560:30 [INFO] [stdout] | [INFO] [stdout] 560 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 560 - let actions: Vec> = Vec::new(); [INFO] [stdout] 560 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:568:30 [INFO] [stdout] | [INFO] [stdout] 568 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 568 - let actions: Vec> = Vec::new(); [INFO] [stdout] 568 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 585 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 585 - let actions: Vec> = Vec::new(); [INFO] [stdout] 585 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:593:30 [INFO] [stdout] | [INFO] [stdout] 593 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 593 - let actions: Vec> = Vec::new(); [INFO] [stdout] 593 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 610 - let actions: Vec> = Vec::new(); [INFO] [stdout] 610 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:618:30 [INFO] [stdout] | [INFO] [stdout] 618 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 618 - let actions: Vec> = Vec::new(); [INFO] [stdout] 618 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:635:30 [INFO] [stdout] | [INFO] [stdout] 635 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 635 - let actions: Vec> = Vec::new(); [INFO] [stdout] 635 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:643:30 [INFO] [stdout] | [INFO] [stdout] 643 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 643 - let actions: Vec> = Vec::new(); [INFO] [stdout] 643 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:660:30 [INFO] [stdout] | [INFO] [stdout] 660 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 660 - let actions: Vec> = Vec::new(); [INFO] [stdout] 660 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:668:30 [INFO] [stdout] | [INFO] [stdout] 668 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 668 - let actions: Vec> = Vec::new(); [INFO] [stdout] 668 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:685:30 [INFO] [stdout] | [INFO] [stdout] 685 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 685 - let actions: Vec> = Vec::new(); [INFO] [stdout] 685 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:693:30 [INFO] [stdout] | [INFO] [stdout] 693 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 693 - let actions: Vec> = Vec::new(); [INFO] [stdout] 693 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:710:30 [INFO] [stdout] | [INFO] [stdout] 710 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 710 - let actions: Vec> = Vec::new(); [INFO] [stdout] 710 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:718:30 [INFO] [stdout] | [INFO] [stdout] 718 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 718 - let actions: Vec> = Vec::new(); [INFO] [stdout] 718 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:735:30 [INFO] [stdout] | [INFO] [stdout] 735 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 735 - let actions: Vec> = Vec::new(); [INFO] [stdout] 735 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:743:30 [INFO] [stdout] | [INFO] [stdout] 743 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 743 - let actions: Vec> = Vec::new(); [INFO] [stdout] 743 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:760:30 [INFO] [stdout] | [INFO] [stdout] 760 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 760 - let actions: Vec> = Vec::new(); [INFO] [stdout] 760 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 768 - let actions: Vec> = Vec::new(); [INFO] [stdout] 768 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:785:30 [INFO] [stdout] | [INFO] [stdout] 785 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 785 - let actions: Vec> = Vec::new(); [INFO] [stdout] 785 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:793:30 [INFO] [stdout] | [INFO] [stdout] 793 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 793 - let actions: Vec> = Vec::new(); [INFO] [stdout] 793 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:810:30 [INFO] [stdout] | [INFO] [stdout] 810 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 810 - let actions: Vec> = Vec::new(); [INFO] [stdout] 810 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:818:30 [INFO] [stdout] | [INFO] [stdout] 818 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 818 - let actions: Vec> = Vec::new(); [INFO] [stdout] 818 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:835:30 [INFO] [stdout] | [INFO] [stdout] 835 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 835 - let actions: Vec> = Vec::new(); [INFO] [stdout] 835 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/core.rs:843:30 [INFO] [stdout] | [INFO] [stdout] 843 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 843 - let actions: Vec> = Vec::new(); [INFO] [stdout] 843 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moves/feeding.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let actions: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - let actions: Vec> = Vec::new(); [INFO] [stdout] 9 + let actions: Vec> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rooms/core.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | let mut dwellings: HashMap<&str, &Room> = HashMap::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - let mut dwellings: HashMap<&str, &Room> = HashMap::new(); [INFO] [stdout] 55 + let mut dwellings: HashMap<&str, &dyn Room> = HashMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut actions: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - let mut actions: Vec> = vec![ [INFO] [stdout] 11 + let mut actions: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let mut actions: Vec> = vec![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - let mut actions: Vec> = vec![ [INFO] [stdout] 35 + let mut actions: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `caverna_bot` due to 3 previous errors; 72 warnings emitted [INFO] running `Command { std: "docker" "inspect" "47a9003d0fb6b792e06dffe5173a55f289df9c9420b6975ac882b509b443d73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a9003d0fb6b792e06dffe5173a55f289df9c9420b6975ac882b509b443d73b", kill_on_drop: false }` [INFO] [stdout] 47a9003d0fb6b792e06dffe5173a55f289df9c9420b6975ac882b509b443d73b