[INFO] cloning repository https://github.com/angeljreyes/minesweeper-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angeljreyes/minesweeper-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeljreyes%2Fminesweeper-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeljreyes%2Fminesweeper-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7eafb407e5c9c49a2fe08b2b87c13ea3237b88a9 [INFO] checking angeljreyes/minesweeper-rs against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangeljreyes%2Fminesweeper-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/angeljreyes/minesweeper-rs [INFO] finished tweaking git repo https://github.com/angeljreyes/minesweeper-rs [INFO] tweaked toml for git repo https://github.com/angeljreyes/minesweeper-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/angeljreyes/minesweeper-rs on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/angeljreyes/minesweeper-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded unicode-segmentation v1.11.0 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac53c9dafae13ee11e3b185abd5d12fdd4f965661c2014b292c6445bec0158b0 [INFO] running `Command { std: "docker" "start" "-a" "ac53c9dafae13ee11e3b185abd5d12fdd4f965661c2014b292c6445bec0158b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac53c9dafae13ee11e3b185abd5d12fdd4f965661c2014b292c6445bec0158b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac53c9dafae13ee11e3b185abd5d12fdd4f965661c2014b292c6445bec0158b0", kill_on_drop: false }` [INFO] [stdout] ac53c9dafae13ee11e3b185abd5d12fdd4f965661c2014b292c6445bec0158b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41246813db25fc186ad04dc641fa0a24392fdf0095dcd473ab4a2513d2b6ec72 [INFO] running `Command { std: "docker" "start" "-a" "41246813db25fc186ad04dc641fa0a24392fdf0095dcd473ab4a2513d2b6ec72", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking minesweeper-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get` and `set_pos` are never used [INFO] [stdout] --> src/field.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get(&self, index: UIdx) -> Option<&Tile> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_pos(&mut self, index: UIdx) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_up` is never used [INFO] [stdout] --> src/term.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn move_cursor_up(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_down` is never used [INFO] [stdout] --> src/term.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn move_cursor_down(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_left` is never used [INFO] [stdout] --> src/term.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn move_cursor_left(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn adjacent(&self, pos: UIdx) -> AdjacentTiles { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn adjacent(&self, pos: UIdx) -> AdjacentTiles<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/field.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn tile_mut<'a>(&'a mut self) -> &mut Tile { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | pub fn tile_mut<'a>(&'a mut self) -> &'a mut Tile { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `set_pos` are never used [INFO] [stdout] --> src/field.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get(&self, index: UIdx) -> Option<&Tile> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_pos(&mut self, index: UIdx) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_up` is never used [INFO] [stdout] --> src/term.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn move_cursor_up(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_down` is never used [INFO] [stdout] --> src/term.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn move_cursor_down(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_cursor_left` is never used [INFO] [stdout] --> src/term.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn move_cursor_left(n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn adjacent(&self, pos: UIdx) -> AdjacentTiles { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn adjacent(&self, pos: UIdx) -> AdjacentTiles<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/field.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn tile_mut<'a>(&'a mut self) -> &mut Tile { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | pub fn tile_mut<'a>(&'a mut self) -> &'a mut Tile { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "41246813db25fc186ad04dc641fa0a24392fdf0095dcd473ab4a2513d2b6ec72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41246813db25fc186ad04dc641fa0a24392fdf0095dcd473ab4a2513d2b6ec72", kill_on_drop: false }` [INFO] [stdout] 41246813db25fc186ad04dc641fa0a24392fdf0095dcd473ab4a2513d2b6ec72