[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 1.95.0 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fim-skylar%2Fsnake" "/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/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/im-skylar/snake on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded bincode v2.0.0-rc.1 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded virtue v0.0.7 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded bincode_derive v2.0.0-rc.1 [INFO] [stderr] Downloaded crossterm v0.23.2 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded libc v0.2.123 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f1afb2dec6a736b88cdc0ee34814eef9310e01bfbda3742d902e3f6933f0ecc [INFO] running `Command { std: "docker" "start" "-a" "7f1afb2dec6a736b88cdc0ee34814eef9310e01bfbda3742d902e3f6933f0ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f1afb2dec6a736b88cdc0ee34814eef9310e01bfbda3742d902e3f6933f0ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1afb2dec6a736b88cdc0ee34814eef9310e01bfbda3742d902e3f6933f0ecc", kill_on_drop: false }` [INFO] [stdout] 7f1afb2dec6a736b88cdc0ee34814eef9310e01bfbda3742d902e3f6933f0ecc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b9705b33e8e2dea87c35c352d28aefd194e7863767f8e92f0d313f16056a18 [INFO] running `Command { std: "docker" "start" "-a" "c4b9705b33e8e2dea87c35c352d28aefd194e7863767f8e92f0d313f16056a18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [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 parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling virtue v0.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.1 [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 parking_lot v0.12.0 [INFO] [stderr] Compiling bincode v2.0.0-rc.1 [INFO] [stderr] Compiling rand_chacha v0.3.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 proc-macro-error v1.0.4 [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 20.24s [INFO] running `Command { std: "docker" "inspect" "c4b9705b33e8e2dea87c35c352d28aefd194e7863767f8e92f0d313f16056a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b9705b33e8e2dea87c35c352d28aefd194e7863767f8e92f0d313f16056a18", kill_on_drop: false }` [INFO] [stdout] c4b9705b33e8e2dea87c35c352d28aefd194e7863767f8e92f0d313f16056a18 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fdb210d38be898b6cfcd8e9a17aa1d420a5fed8bf22dbd1ce7e05c76bd1f612 [INFO] running `Command { std: "docker" "start" "-a" "3fdb210d38be898b6cfcd8e9a17aa1d420a5fed8bf22dbd1ce7e05c76bd1f612", 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" "3fdb210d38be898b6cfcd8e9a17aa1d420a5fed8bf22dbd1ce7e05c76bd1f612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdb210d38be898b6cfcd8e9a17aa1d420a5fed8bf22dbd1ce7e05c76bd1f612", kill_on_drop: false }` [INFO] [stdout] 3fdb210d38be898b6cfcd8e9a17aa1d420a5fed8bf22dbd1ce7e05c76bd1f612