[INFO] cloning repository https://github.com/im-skylar/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/im-skylar/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-skylar%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-skylar%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7b5b03552889dfe90d0b28371b934eecffbdf64 [INFO] testing im-skylar/snake against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-skylar%2Fsnake" "/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/im-skylar/snake [INFO] finished tweaking git repo https://github.com/im-skylar/snake [INFO] tweaked toml for git repo https://github.com/im-skylar/snake written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/im-skylar/snake on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/im-skylar/snake 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded virtue v0.0.7 [INFO] [stderr] Downloaded bincode v2.0.0-rc.1 [INFO] [stderr] Downloaded bincode_derive v2.0.0-rc.1 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded clap_derive v3.1.18 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded crossterm v0.23.2 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff4ca39f341a09de1d25cbccc02ddd956c490c2e753273b0996b30782dfe5324 [INFO] running `Command { std: "docker" "start" "-a" "ff4ca39f341a09de1d25cbccc02ddd956c490c2e753273b0996b30782dfe5324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff4ca39f341a09de1d25cbccc02ddd956c490c2e753273b0996b30782dfe5324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4ca39f341a09de1d25cbccc02ddd956c490c2e753273b0996b30782dfe5324", kill_on_drop: false }` [INFO] [stdout] ff4ca39f341a09de1d25cbccc02ddd956c490c2e753273b0996b30782dfe5324 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b926bbb5fd4bf1d968d6d0fe969bc4da1b0465a37846b3abb9b06931e92f4183 [INFO] running `Command { std: "docker" "start" "-a" "b926bbb5fd4bf1d968d6d0fe969bc4da1b0465a37846b3abb9b06931e92f4183", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling virtue v0.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling bincode v2.0.0-rc.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling snake v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let (mut x, mut y) = *self.snake.pos.last().unwrap(); [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:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let (mut x, mut y) = *self.snake.pos.last().unwrap(); [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/highscore.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(mut parsed_data) = read_and_parse() { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.59s [INFO] running `Command { std: "docker" "inspect" "b926bbb5fd4bf1d968d6d0fe969bc4da1b0465a37846b3abb9b06931e92f4183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b926bbb5fd4bf1d968d6d0fe969bc4da1b0465a37846b3abb9b06931e92f4183", kill_on_drop: false }` [INFO] [stdout] b926bbb5fd4bf1d968d6d0fe969bc4da1b0465a37846b3abb9b06931e92f4183 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bba389c55053d258f4c0f9d023e73be7b36c301180be5ffced63dc04c5d30ca [INFO] running `Command { std: "docker" "start" "-a" "7bba389c55053d258f4c0f9d023e73be7b36c301180be5ffced63dc04c5d30ca", kill_on_drop: false }` [INFO] [stderr] Compiling snake v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/game.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^^ ---- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: expected `Args`, found `({integer}, {integer})` [INFO] [stdout] --> src/game.rs:246:31 [INFO] [stdout] | [INFO] [stdout] 246 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(args: crate::Args) -> Game { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 246 - let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] 246 + let mut g = Game::new(/* Args */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/game.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^^ ---- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: expected `Args`, found `({integer}, {integer})` [INFO] [stdout] --> src/game.rs:251:31 [INFO] [stdout] | [INFO] [stdout] 251 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(args: crate::Args) -> Game { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 251 - let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] 251 + let mut g = Game::new(/* Args */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/game.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^^ ---- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: expected `Args`, found `({integer}, {integer})` [INFO] [stdout] --> src/game.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 257 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(args: crate::Args) -> Game { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 257 - let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] 257 + let mut g = Game::new(/* Args */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/game.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^^ ---- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: expected `Args`, found `({integer}, {integer})` [INFO] [stdout] --> src/game.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(args: crate::Args) -> Game { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 263 - let mut g = Game::new((10, 10), true, 0); [INFO] [stdout] 263 + let mut g = Game::new(/* Args */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/game.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | let mut g = Game::new((10, 10), true, 1); [INFO] [stdout] | ^^^^^^^^^ ---- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `bool` [INFO] [stdout] | [INFO] [stdout] note: expected `Args`, found `({integer}, {integer})` [INFO] [stdout] --> src/game.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | let mut g = Game::new((10, 10), true, 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected struct `Args` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(args: crate::Args) -> Game { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 272 - let mut g = Game::new((10, 10), true, 1); [INFO] [stdout] 272 + let mut g = Game::new(/* Args */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let (mut x, mut y) = *self.snake.pos.last().unwrap(); [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:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let (mut x, mut y) = *self.snake.pos.last().unwrap(); [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/highscore.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(mut parsed_data) = read_and_parse() { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake" test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7bba389c55053d258f4c0f9d023e73be7b36c301180be5ffced63dc04c5d30ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bba389c55053d258f4c0f9d023e73be7b36c301180be5ffced63dc04c5d30ca", kill_on_drop: false }` [INFO] [stdout] 7bba389c55053d258f4c0f9d023e73be7b36c301180be5ffced63dc04c5d30ca