[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3nn0x%2Froguelike" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L3nn0x/roguelike on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-3/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-3/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12910eb80da0e337fa817b1a3f10785c2c4bef90cefba7363ae88b197dc25ce4 [INFO] running `Command { std: "docker" "start" "-a" "12910eb80da0e337fa817b1a3f10785c2c4bef90cefba7363ae88b197dc25ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12910eb80da0e337fa817b1a3f10785c2c4bef90cefba7363ae88b197dc25ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12910eb80da0e337fa817b1a3f10785c2c4bef90cefba7363ae88b197dc25ce4", kill_on_drop: false }` [INFO] [stdout] 12910eb80da0e337fa817b1a3f10785c2c4bef90cefba7363ae88b197dc25ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90788ba3c3590e1320ad867ede862167199b3f7488b720ff631221506daa6858 [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" "90788ba3c3590e1320ad867ede862167199b3f7488b720ff631221506daa6858", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tynm v0.1.4 [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" "90788ba3c3590e1320ad867ede862167199b3f7488b720ff631221506daa6858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90788ba3c3590e1320ad867ede862167199b3f7488b720ff631221506daa6858", kill_on_drop: false }` [INFO] [stdout] 90788ba3c3590e1320ad867ede862167199b3f7488b720ff631221506daa6858