[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#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGromimousse%2Fsnakyduck" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gromimousse/snakyduck on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded rand v0.4.5 [INFO] [stderr] Downloaded ncurses v5.98.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d09536f7b4501ef468f49221fd5a782c526fed6f38dfb54deba1eac5388a993 [INFO] running `Command { std: "docker" "start" "-a" "4d09536f7b4501ef468f49221fd5a782c526fed6f38dfb54deba1eac5388a993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d09536f7b4501ef468f49221fd5a782c526fed6f38dfb54deba1eac5388a993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d09536f7b4501ef468f49221fd5a782c526fed6f38dfb54deba1eac5388a993", kill_on_drop: false }` [INFO] [stdout] 4d09536f7b4501ef468f49221fd5a782c526fed6f38dfb54deba1eac5388a993 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80494f151ce1a8bacec3176f1585b7899bd54e18682b877eca42c2192099340 [INFO] running `Command { std: "docker" "start" "-a" "c80494f151ce1a8bacec3176f1585b7899bd54e18682b877eca42c2192099340", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling pkg-config v0.3.14 [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: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: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: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] 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" "c80494f151ce1a8bacec3176f1585b7899bd54e18682b877eca42c2192099340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80494f151ce1a8bacec3176f1585b7899bd54e18682b877eca42c2192099340", kill_on_drop: false }` [INFO] [stdout] c80494f151ce1a8bacec3176f1585b7899bd54e18682b877eca42c2192099340