[INFO] cloning repository https://github.com/mipli/wily-the-wizard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mipli/wily-the-wizard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmipli%2Fwily-the-wizard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmipli%2Fwily-the-wizard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c0616c3b477510e8401288b816826f40e366265 [INFO] testing mipli/wily-the-wizard against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmipli%2Fwily-the-wizard" "/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/mipli/wily-the-wizard on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mipli/wily-the-wizard [INFO] finished tweaking git repo https://github.com/mipli/wily-the-wizard [INFO] tweaked toml for git repo https://github.com/mipli/wily-the-wizard written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mipli/wily-the-wizard already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mipli/spawning-pool.git` [INFO] [stderr] Updating git repository `https://github.com/Gustorn/tcod-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded Inflector v0.11.2 [INFO] [stderr] Downloaded simple-stopwatch v0.1.4 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b57d400935d1dd20927179435dcc6c727cb9cf1652425fe54837da3b4f398af [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" "0b57d400935d1dd20927179435dcc6c727cb9cf1652425fe54837da3b4f398af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b57d400935d1dd20927179435dcc6c727cb9cf1652425fe54837da3b4f398af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b57d400935d1dd20927179435dcc6c727cb9cf1652425fe54837da3b4f398af", kill_on_drop: false }` [INFO] [stdout] 0b57d400935d1dd20927179435dcc6c727cb9cf1652425fe54837da3b4f398af [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d1ea9fb15f012d561f0e5607eef0d9a6288dd9c92857940cd0c79a0d263570 [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" "d1d1ea9fb15f012d561f0e5607eef0d9a6288dd9c92857940cd0c79a0d263570", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.43 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling simple-stopwatch v0.1.4 [INFO] [stderr] Compiling syn v0.13.4 [INFO] [stderr] Compiling tcod-sys v5.0.0 (https://github.com/Gustorn/tcod-rs.git?branch=tcod-16-upstream-rebase#a7d69d16) [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.43 [INFO] [stderr] Compiling Inflector v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.16 [INFO] [stderr] Compiling geo v0.1.0 (/opt/rustwide/workdir/geo) [INFO] [stderr] Compiling spawning_pool v0.1.0 (https://github.com/mipli/spawning-pool.git#df795ff2) [INFO] [stderr] Compiling map_generator v0.1.0 (/opt/rustwide/workdir/map_generator) [INFO] [stdout] warning: unused variable: `min_size` [INFO] [stdout] --> map_generator/src/roomsy.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn generate(width: i32, height: i32, min_size: i32, rng: &mut T) -> Map { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> map_generator/src/tower.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub current: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tcod v0.12.1 (https://github.com/Gustorn/tcod-rs.git?branch=tcod-16-upstream-rebase#a7d69d16) [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/win.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WinScreenCallback = FnMut(&mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Box)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/win.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WinScreenCallback = FnMut(&mut Box); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_entity_target.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_entity_target.rs:21:76 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_position_target.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_position_target.rs:20:77 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(origin: Point, range: i32, _state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_ray_target.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_ray_target.rs:22:76 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_projectile_target.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_projectile_target.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add(&mut self, screen: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | pub type ScreenPointer = Rc>>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | fn add_callback(&mut self, _callback: Box) {} [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bsp`, `tower` [INFO] [stdout] --> game/src/map.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use map_generator::{Map as GeneratedMap, bsp, tower, corridor}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfHeal` [INFO] [stdout] --> game/src/screens/game_screen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SelfHeal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target` [INFO] [stdout] --> game/src/screens/inventory_screen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | target: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mouse` [INFO] [stdout] --> game/src/screens/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mouse: Mouse [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> game/src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.60s [INFO] running `Command { std: "docker" "inspect" "d1d1ea9fb15f012d561f0e5607eef0d9a6288dd9c92857940cd0c79a0d263570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d1ea9fb15f012d561f0e5607eef0d9a6288dd9c92857940cd0c79a0d263570", kill_on_drop: false }` [INFO] [stdout] d1d1ea9fb15f012d561f0e5607eef0d9a6288dd9c92857940cd0c79a0d263570 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f31e73eeeeba4944073e01f6b6582cf45362480bd083f34861d7a05cdbff34e5 [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" "f31e73eeeeba4944073e01f6b6582cf45362480bd083f34861d7a05cdbff34e5", kill_on_drop: false }` [INFO] [stderr] Compiling geo v0.1.0 (/opt/rustwide/workdir/geo) [INFO] [stderr] Compiling map_generator v0.1.0 (/opt/rustwide/workdir/map_generator) [INFO] [stdout] warning: unused variable: `min_size` [INFO] [stdout] --> map_generator/src/roomsy.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn generate(width: i32, height: i32, min_size: i32, rng: &mut T) -> Map { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current` [INFO] [stdout] --> map_generator/src/tower.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub current: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] error[E0432]: unresolved import `bsp` [INFO] [stdout] --> map_generator/src/bsp.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use bsp::*; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::bsp` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 219 | fn test_leaf_equality(actual: &Leaf, expected: &Leaf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | fn test_leaf_equality(actual: &Leaf, expected: &Leaf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> map_generator/src/bsp.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let mut root = Leaf::new(0, 0, 10, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | split(&mut root, 3, &mut rng); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::split; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_rooms` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | create_rooms(&mut root, 3, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::create_rooms; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | let leaf = Leaf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | dim: Rect::new( 0, 0, 10, 10), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:253:33 [INFO] [stdout] | [INFO] [stdout] 253 | left: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | dim: Rect::new( 0, 0, 10, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | left: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | dim: Rect::new( 0, 0, 6, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | room: Some(Rect::new( 0, 0, 4, 3)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | right: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | dim: Rect::new( 6, 0, 4, 4), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | room: Some(Rect::new( 6, 0, 3, 3)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:272:34 [INFO] [stdout] | [INFO] [stdout] 272 | right: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | dim: Rect::new( 0, 4, 10, 6), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:276:37 [INFO] [stdout] | [INFO] [stdout] 276 | left: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | dim: Rect::new( 0, 4, 3, 6), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:283:38 [INFO] [stdout] | [INFO] [stdout] 283 | right: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:284:26 [INFO] [stdout] | [INFO] [stdout] 284 | dim: Rect::new( 3, 4, 7, 6), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | left: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | dim: Rect::new( 3, 4, 4, 6), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | room: Some(Rect::new( 3, 4, 3, 5)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Leaf` in this scope [INFO] [stdout] --> map_generator/src/bsp.rs:294:42 [INFO] [stdout] | [INFO] [stdout] 294 | right: Box::new(Some(Leaf{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect` [INFO] [stdout] --> map_generator/src/bsp.rs:295:30 [INFO] [stdout] | [INFO] [stdout] 295 | dim: Rect::new( 7, 4, 3, 6), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 216 | use crate::bsp::Rect; [INFO] [stdout] | [INFO] [stdout] 216 | use geo::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `map_generator` [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/win.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WinScreenCallback = FnMut(&mut Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut Box)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/win.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub type WinScreenCallback = FnMut(&mut Box); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_entity_target.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_entity_target.rs:21:76 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_position_target.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_position_target.rs:20:77 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(origin: Point, range: i32, _state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_ray_target.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_ray_target.rs:22:76 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Point, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_projectile_target.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | callback: Box)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/spell_projectile_target.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(origin: Point, range: i32, state: &GameState, callback: Box)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(EntityId, &mut GameState, &mut Vec)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add(&mut self, screen: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | pub type ScreenPointer = Rc>>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Screen` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/screens/mod.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | fn add_callback(&mut self, _callback: Box) {} [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fn()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bsp`, `tower` [INFO] [stdout] --> game/src/map.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use map_generator::{Map as GeneratedMap, bsp, tower, corridor}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SelfHeal` [INFO] [stdout] --> game/src/screens/game_screen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | SelfHeal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target` [INFO] [stdout] --> game/src/screens/inventory_screen.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | target: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mouse` [INFO] [stdout] --> game/src/screens/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | mouse: Mouse [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> game/src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f31e73eeeeba4944073e01f6b6582cf45362480bd083f34861d7a05cdbff34e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f31e73eeeeba4944073e01f6b6582cf45362480bd083f34861d7a05cdbff34e5", kill_on_drop: false }` [INFO] [stdout] f31e73eeeeba4944073e01f6b6582cf45362480bd083f34861d7a05cdbff34e5