[INFO] cloning repository https://github.com/L3nn0x/roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L3nn0x/roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3nn0x%2Froguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3nn0x%2Froguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d8d881af084401a17b07d2a1bff784257ecc3a8 [INFO] checking L3nn0x/roguelike against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3nn0x%2Froguelike" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L3nn0x/roguelike on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/L3nn0x/roguelike [INFO] removed path dependency tcod from git repo https://github.com/L3nn0x/roguelike [INFO] finished tweaking git repo https://github.com/L3nn0x/roguelike [INFO] tweaked toml for git repo https://github.com/L3nn0x/roguelike written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/L3nn0x/roguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tcod) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tcod) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b055ce2523878a2f54384d47448da3fcb3077b26996e9838576bbfea4ad6823 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b055ce2523878a2f54384d47448da3fcb3077b26996e9838576bbfea4ad6823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b055ce2523878a2f54384d47448da3fcb3077b26996e9838576bbfea4ad6823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b055ce2523878a2f54384d47448da3fcb3077b26996e9838576bbfea4ad6823", kill_on_drop: false }` [INFO] [stdout] 0b055ce2523878a2f54384d47448da3fcb3077b26996e9838576bbfea4ad6823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ac409f1c4be7441f0ffa067fe3f0382fe7245e87db3f4ab8e755e7b0805fb2e [INFO] running `Command { std: "docker" "start" "-a" "0ac409f1c4be7441f0ffa067fe3f0382fe7245e87db3f4ab8e755e7b0805fb2e", kill_on_drop: false }` [INFO] [stderr] warning: dependency (tcod) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tynm v0.1.6 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking rogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Push(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Switch(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn render(&self, root: &mut tcod::Console); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | states: Vec> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(state: Box) -> StateMachine { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render(&self, root: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | fn switch(&mut self, state: Box) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | fn push(&mut self, state: Box) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | death_callback: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Properties, &mut Displayable) + std::marker::Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | fn render(&self, screen: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn render(&self, con: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `Component` [INFO] [stdout] --> src/components.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Push(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | Switch(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn render(&self, root: &mut tcod::Console); [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | states: Vec> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(state: Box) -> StateMachine { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn render(&self, root: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | fn switch(&mut self, state: Box) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state_machine.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | fn push(&mut self, state: Box) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | death_callback: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Properties, &mut Displayable) + std::marker::Send + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | fn render(&self, screen: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn render(&self, con: &mut tcod::Console) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn tcod::Console` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0ac409f1c4be7441f0ffa067fe3f0382fe7245e87db3f4ab8e755e7b0805fb2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac409f1c4be7441f0ffa067fe3f0382fe7245e87db3f4ab8e755e7b0805fb2e", kill_on_drop: false }` [INFO] [stdout] 0ac409f1c4be7441f0ffa067fe3f0382fe7245e87db3f4ab8e755e7b0805fb2e