[INFO] updating cached repository https://github.com/L3nn0x/roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d8d881af084401a17b07d2a1bff784257ecc3a8 [INFO] testing L3nn0x/roguelike against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL3nn0x%2Froguelike" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L3nn0x/roguelike on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/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" "+1.45.2" "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-7/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 991fe47b012edbbd57c6a658fcf596151aaf07d3055e430aa6438488423ee713 [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" "991fe47b012edbbd57c6a658fcf596151aaf07d3055e430aa6438488423ee713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "991fe47b012edbbd57c6a658fcf596151aaf07d3055e430aa6438488423ee713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991fe47b012edbbd57c6a658fcf596151aaf07d3055e430aa6438488423ee713", kill_on_drop: false }` [INFO] [stdout] 991fe47b012edbbd57c6a658fcf596151aaf07d3055e430aa6438488423ee713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6dc5d60e6a35dc81186bf6d4fd816a21c4a7b367a0fddb9bd7cee9dd93d989 [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" "1c6dc5d60e6a35dc81186bf6d4fd816a21c4a7b367a0fddb9bd7cee9dd93d989", 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 syn v1.0.38 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling tynm v0.1.4 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling tcod v0.15.0 [INFO] [stderr] Compiling 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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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 specs::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 1 | use specs::world::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] running `Command { std: "docker" "inspect" "1c6dc5d60e6a35dc81186bf6d4fd816a21c4a7b367a0fddb9bd7cee9dd93d989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6dc5d60e6a35dc81186bf6d4fd816a21c4a7b367a0fddb9bd7cee9dd93d989", kill_on_drop: false }` [INFO] [stdout] 1c6dc5d60e6a35dc81186bf6d4fd816a21c4a7b367a0fddb9bd7cee9dd93d989