[INFO] cloning repository https://github.com/lead999x/wizards_tower [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lead999x/wizards_tower" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead999x%2Fwizards_tower", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead999x%2Fwizards_tower'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4515de31353733bfc9bd87fae13de161372f0d56 [INFO] checking lead999x/wizards_tower against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flead999x%2Fwizards_tower" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lead999x/wizards_tower on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lead999x/wizards_tower [INFO] finished tweaking git repo https://github.com/lead999x/wizards_tower [INFO] tweaked toml for git repo https://github.com/lead999x/wizards_tower written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/lead999x/wizards_tower already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whiteread v0.5.0 [INFO] [stderr] Downloaded console_engine v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 62e6a94ac9128f9cc8800157d0a5422ffbd2c931ebd9d2c774140429e534e068 [INFO] running `Command { std: "docker" "start" "-a" "62e6a94ac9128f9cc8800157d0a5422ffbd2c931ebd9d2c774140429e534e068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62e6a94ac9128f9cc8800157d0a5422ffbd2c931ebd9d2c774140429e534e068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e6a94ac9128f9cc8800157d0a5422ffbd2c931ebd9d2c774140429e534e068", kill_on_drop: false }` [INFO] [stdout] 62e6a94ac9128f9cc8800157d0a5422ffbd2c931ebd9d2c774140429e534e068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58d71d8d959f2423fff456488ef148ff982862734091ac08149b10f152be5efc [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" "58d71d8d959f2423fff456488ef148ff982862734091ac08149b10f152be5efc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking whiteread v0.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking console_engine v1.5.1 [INFO] [stderr] Checking wizards_tower v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/game.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | 'gl: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/game.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | 'gl: loop { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/game.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, fmt, io::{Read, Write}, iter::Iterator, path::{PathBuf, Path}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player = Player::new(AsciiChar::new('@'), map.starting_loc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_layout` [INFO] [stdout] --> src/game.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut map_layout = map.layout.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(map: &Map, player: &Player)->Screen { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_loc` [INFO] [stdout] --> src/game.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let mut starting_loc: (usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut map_res = Map::new(Path::new("test")); [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/game.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player = Player::new(AsciiChar::new('@'), map.starting_loc); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut frame = Screen::new(VP_WIDTH, VP_HEIGHT); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut map_layout = map.layout.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `VP_WIDTH` [INFO] [stdout] --> src/game.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static VP_WIDTH: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `VP_HEIGHT` [INFO] [stdout] --> src/game.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | static VP_HEIGHT: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/game.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(map: &Map, player: &Player)->Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `icon` [INFO] [stdout] --> src/game.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | icon: AsciiChar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location` [INFO] [stdout] --> src/game.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | location: Coord [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/game.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, fmt, io::{Read, Write}, iter::Iterator, path::{PathBuf, Path}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player = Player::new(AsciiChar::new('@'), map.starting_loc); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_layout` [INFO] [stdout] --> src/game.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut map_layout = map.layout.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(map: &Map, player: &Player)->Screen { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_loc` [INFO] [stdout] --> src/game.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let mut starting_loc: (usize, usize); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut map_res = Map::new(Path::new("test")); [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/game.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let mut player = Player::new(AsciiChar::new('@'), map.starting_loc); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut frame = Screen::new(VP_WIDTH, VP_HEIGHT); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut map_layout = map.layout.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `VP_WIDTH` [INFO] [stdout] --> src/game.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | static VP_WIDTH: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `VP_HEIGHT` [INFO] [stdout] --> src/game.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | static VP_HEIGHT: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/game.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn render(map: &Map, player: &Player)->Screen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `icon` [INFO] [stdout] --> src/game.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | icon: AsciiChar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location` [INFO] [stdout] --> src/game.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | location: Coord [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "58d71d8d959f2423fff456488ef148ff982862734091ac08149b10f152be5efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d71d8d959f2423fff456488ef148ff982862734091ac08149b10f152be5efc", kill_on_drop: false }` [INFO] [stdout] 58d71d8d959f2423fff456488ef148ff982862734091ac08149b10f152be5efc