[INFO] cloning repository https://github.com/KeyboardFire/ziabnr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KeyboardFire/ziabnr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeyboardFire%2Fziabnr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeyboardFire%2Fziabnr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae58c7371eef4e9efe792808fe07039658e350bc [INFO] testing KeyboardFire/ziabnr against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeyboardFire%2Fziabnr" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KeyboardFire/ziabnr on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KeyboardFire/ziabnr [INFO] finished tweaking git repo https://github.com/KeyboardFire/ziabnr [INFO] tweaked toml for git repo https://github.com/KeyboardFire/ziabnr written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/KeyboardFire/ziabnr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1416ce329476d7f563ca501d318f643b2d9de6e3873e550b1db0f7f00d756f2 [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" "d1416ce329476d7f563ca501d318f643b2d9de6e3873e550b1db0f7f00d756f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1416ce329476d7f563ca501d318f643b2d9de6e3873e550b1db0f7f00d756f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1416ce329476d7f563ca501d318f643b2d9de6e3873e550b1db0f7f00d756f2", kill_on_drop: false }` [INFO] [stdout] d1416ce329476d7f563ca501d318f643b2d9de6e3873e550b1db0f7f00d756f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57b57f650c296dc6c01cea051ebed91c87b7118000bb2f70378cf0495edebf43 [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" "57b57f650c296dc6c01cea051ebed91c87b7118000bb2f70378cf0495edebf43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.16 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling ncurses v5.82.0 [INFO] [stderr] Compiling ziabnr v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Map = [[Box; 77]; 19]; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MapTile` [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] --> src/map.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn passable(&self, object: &Object) -> bool; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn passable(&self, _: &Object) -> bool { return self.open; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn passable(&self, object: &Object) -> bool; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:15:84 [INFO] [stdout] | [INFO] [stdout] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:27:84 [INFO] [stdout] | [INFO] [stdout] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:58:84 [INFO] [stdout] | [INFO] [stdout] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn move_relative(object: &Object, offset: &Pos, map: &Map, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let mut objects: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gen_rooms.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | let mut map: Map = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 30 | / loop { [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | for i in 0..objects.len() { [INFO] [stdout] 33 | | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | ncurses::endwin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut object, mut after) = after.split_first_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "57b57f650c296dc6c01cea051ebed91c87b7118000bb2f70378cf0495edebf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b57f650c296dc6c01cea051ebed91c87b7118000bb2f70378cf0495edebf43", kill_on_drop: false }` [INFO] [stdout] 57b57f650c296dc6c01cea051ebed91c87b7118000bb2f70378cf0495edebf43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f41325812e4435bc83946e91fb83e3dc04ef3913006b706b8e0d2d971f26b7b [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" "4f41325812e4435bc83946e91fb83e3dc04ef3913006b706b8e0d2d971f26b7b", kill_on_drop: false }` [INFO] [stderr] Compiling ziabnr v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/map.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Map = [[Box; 77]; 19]; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MapTile` [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] --> src/map.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn passable(&self, object: &Object) -> bool; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn passable(&self, _: &Object) -> bool { return self.open; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/map.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | fn passable(&self, object: &Object) -> bool; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:15:84 [INFO] [stdout] | [INFO] [stdout] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:27:84 [INFO] [stdout] | [INFO] [stdout] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/object.rs:58:84 [INFO] [stdout] | [INFO] [stdout] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn move_relative(object: &Object, offset: &Pos, map: &Map, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/util.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let mut objects: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Object` [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gen_rooms.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | let mut map: Map = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 30 | / loop { [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | for i in 0..objects.len() { [INFO] [stdout] 33 | | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stdout] ... | [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | ncurses::endwin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut object, mut after) = after.split_first_mut().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f41325812e4435bc83946e91fb83e3dc04ef3913006b706b8e0d2d971f26b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f41325812e4435bc83946e91fb83e3dc04ef3913006b706b8e0d2d971f26b7b", kill_on_drop: false }` [INFO] [stdout] 4f41325812e4435bc83946e91fb83e3dc04ef3913006b706b8e0d2d971f26b7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32d353527b036705b31bbbb1b94c551bbfb293d524a3ed9b75ec1d0d1487afbd [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" "32d353527b036705b31bbbb1b94c551bbfb293d524a3ed9b75ec1d0d1487afbd", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/map.rs:6:22 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 6 | pub type Map = [[Box; 77]; 19]; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn MapTile` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | fn passable(&self, object: &Object) -> bool; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | fn passable(&self, _: &Object) -> bool { return self.open; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/map.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | fn passable(&self, _: &Object) -> bool { return true; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | fn passable(&self, object: &Object) -> bool; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:15:57 [INFO] [stderr] | [INFO] [stderr] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:15:84 [INFO] [stderr] | [INFO] [stderr] 15 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:27:57 [INFO] [stderr] | [INFO] [stderr] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:27:84 [INFO] [stderr] | [INFO] [stderr] 27 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:55:28 [INFO] [stderr] | [INFO] [stderr] 55 | fn passable(&self, _: &Object) -> bool { return false; } [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:58:84 [INFO] [stderr] | [INFO] [stderr] 58 | fn turn(&mut self, map: &mut Map, before: &mut [Box], after: &mut [Box]) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn move_relative(object: &Object, offset: &Pos, map: &Map, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:6:59 [INFO] [stderr] | [INFO] [stderr] 6 | before: &[Box], after: &[Box]) -> Option { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | let mut objects: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Object` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/gen_rooms.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | let mut map: Map = ::std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 30 | / loop { [INFO] [stderr] 31 | | [INFO] [stderr] 32 | | for i in 0..objects.len() { [INFO] [stderr] 33 | | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stderr] ... | [INFO] [stderr] 50 | | [INFO] [stderr] 51 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 52 | [INFO] [stderr] 53 | ncurses::endwin(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | let (mut before, mut after) = objects.split_at_mut(i); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | let (mut object, mut after) = after.split_first_mut().unwrap(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ziabnr-66fd2196a1b85ef8) [INFO] running `Command { std: "docker" "inspect" "32d353527b036705b31bbbb1b94c551bbfb293d524a3ed9b75ec1d0d1487afbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d353527b036705b31bbbb1b94c551bbfb293d524a3ed9b75ec1d0d1487afbd", kill_on_drop: false }` [INFO] [stdout] 32d353527b036705b31bbbb1b94c551bbfb293d524a3ed9b75ec1d0d1487afbd