[INFO] cloning repository https://github.com/Gromimousse/snakyduck
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gromimousse/snakyduck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGromimousse%2Fsnakyduck", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGromimousse%2Fsnakyduck'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c9b0e892e6b7cc3b7ac3622571237c8880c4379
[INFO] checking Gromimousse/snakyduck/4c9b0e892e6b7cc3b7ac3622571237c8880c4379 against master#80b898258da78fdd1262438126aa0cf90e395f0c for pr-149195-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGromimousse%2Fsnakyduck" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Gromimousse/snakyduck
[INFO] finished tweaking git repo https://github.com/Gromimousse/snakyduck
[INFO] tweaked toml for git repo https://github.com/Gromimousse/snakyduck written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gromimousse/snakyduck on toolchain 80b898258da78fdd1262438126aa0cf90e395f0c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gromimousse/snakyduck 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" "+80b898258da78fdd1262438126aa0cf90e395f0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.28
[INFO] [stderr]   Downloaded ncurses v5.98.0
[INFO] [stderr]   Downloaded rand v0.4.5
[INFO] [stderr]   Downloaded libc v0.2.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aac9ef83a192fec1df64cae2a8d2df80f954632da55db4841a0ccfd1445570e4
[INFO] running `Command { std: "docker" "start" "-a" "aac9ef83a192fec1df64cae2a8d2df80f954632da55db4841a0ccfd1445570e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aac9ef83a192fec1df64cae2a8d2df80f954632da55db4841a0ccfd1445570e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aac9ef83a192fec1df64cae2a8d2df80f954632da55db4841a0ccfd1445570e4", kill_on_drop: false }`
[INFO] [stdout] aac9ef83a192fec1df64cae2a8d2df80f954632da55db4841a0ccfd1445570e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef4bd64328b297abb737cfcac2e71ba2b52181adcc6836482e6a8a2d878d7889
[INFO] running `Command { std: "docker" "start" "-a" "ef4bd64328b297abb737cfcac2e71ba2b52181adcc6836482e6a8a2d878d7889", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]    Compiling cc v1.0.28
[INFO] [stderr]    Compiling ncurses v5.98.0
[INFO] [stderr]     Checking rand v0.4.5
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking snakyduck v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:88:39
[INFO] [stdout]     |
[INFO] [stdout]  88 |         mvwaddch(win, self.y, self.x, ch);
[INFO] [stdout]     |         --------                      ^^ expected `u32`, found `u64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout]  88 |         mvwaddch(win, self.y, self.x, ch.try_into().unwrap());
[INFO] [stdout]     |                                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:254:55
[INFO] [stdout]     |
[INFO] [stdout] 254 |         mvwaddch(win, self.body[0].y, self.body[0].x, head);
[INFO] [stdout]     |         --------                                      ^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 254 |         mvwaddch(win, self.body[0].y, self.body[0].x, head.try_into().unwrap());
[INFO] [stdout]     |                                                           ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:88:39
[INFO] [stdout]     |
[INFO] [stdout]  88 |         mvwaddch(win, self.y, self.x, ch);
[INFO] [stdout]     |         --------                      ^^ expected `u32`, found `u64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout]  88 |         mvwaddch(win, self.y, self.x, ch.try_into().unwrap());
[INFO] [stdout]     |                                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:256:45
[INFO] [stdout]     |
[INFO] [stdout] 256 |             mvwaddch(win, block.y, block.x, body);
[INFO] [stdout]     |             --------                        ^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 256 |             mvwaddch(win, block.y, block.x, body.try_into().unwrap());
[INFO] [stdout]     |                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:262:45
[INFO] [stdout]     |
[INFO] [stdout] 262 |             mvwaddch(win, block.y, block.x, ' ' as u64);
[INFO] [stdout]     |             --------                        ^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 262 |             mvwaddch(win, block.y, block.x, (' ' as u64).try_into().unwrap());
[INFO] [stdout]     |                                             +          +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:254:55
[INFO] [stdout]     |
[INFO] [stdout] 254 |         mvwaddch(win, self.body[0].y, self.body[0].x, head);
[INFO] [stdout]     |         --------                                      ^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 254 |         mvwaddch(win, self.body[0].y, self.body[0].x, head.try_into().unwrap());
[INFO] [stdout]     |                                                           ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:256:45
[INFO] [stdout]     |
[INFO] [stdout] 256 |             mvwaddch(win, block.y, block.x, body);
[INFO] [stdout]     |             --------                        ^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 256 |             mvwaddch(win, block.y, block.x, body.try_into().unwrap());
[INFO] [stdout]     |                                                 ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/game.rs:262:45
[INFO] [stdout]     |
[INFO] [stdout] 262 |             mvwaddch(win, block.y, block.x, ' ' as u64);
[INFO] [stdout]     |             --------                        ^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncurses-5.98.0/src/lib.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn mvwaddch(w: WINDOW, y: i32, x: i32, ch: chtype) -> i32
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 262 |             mvwaddch(win, block.y, block.x, (' ' as u64).try_into().unwrap());
[INFO] [stdout]     |                                             +          +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut head = &mut self.body[0];
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut head = &mut self.body[0];
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snakyduck` (bin "snakyduck" test) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `snakyduck` (bin "snakyduck") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ef4bd64328b297abb737cfcac2e71ba2b52181adcc6836482e6a8a2d878d7889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef4bd64328b297abb737cfcac2e71ba2b52181adcc6836482e6a8a2d878d7889", kill_on_drop: false }`
[INFO] [stdout] ef4bd64328b297abb737cfcac2e71ba2b52181adcc6836482e6a8a2d878d7889
