[INFO] cloning repository https://github.com/toni1606/snake-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toni1606/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoni1606%2Fsnake-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoni1606%2Fsnake-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c7483455e93a35f633c9db57ecc3a298e2090b6 [INFO] testing toni1606/snake-rs against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoni1606%2Fsnake-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toni1606/snake-rs on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toni1606/snake-rs [INFO] finished tweaking git repo https://github.com/toni1606/snake-rs [INFO] tweaked toml for git repo https://github.com/toni1606/snake-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/toni1606/snake-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d5ddeb17251e6e51a6cf05884f6a8c11fbc51f8f87367e199551778c85235591 [INFO] running `Command { std: "docker" "start" "-a" "d5ddeb17251e6e51a6cf05884f6a8c11fbc51f8f87367e199551778c85235591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ddeb17251e6e51a6cf05884f6a8c11fbc51f8f87367e199551778c85235591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ddeb17251e6e51a6cf05884f6a8c11fbc51f8f87367e199551778c85235591", kill_on_drop: false }` [INFO] [stdout] d5ddeb17251e6e51a6cf05884f6a8c11fbc51f8f87367e199551778c85235591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de0cf20fb31df5b221836e8325d1d775c8b7652a88cfcfd4d018e32ca19bec1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0de0cf20fb31df5b221836e8325d1d775c8b7652a88cfcfd4d018e32ca19bec1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `disable_raw_mode` [INFO] [stdout] --> src/data_structures/game.rs:8:77 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::terminal::{Clear, ClearType, size, SetSize, enable_raw_mode, disable_raw_mode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Show` [INFO] [stdout] --> src/data_structures/game.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crossterm::cursor::{Show, MoveTo, Hide}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `KeyModifiers` [INFO] [stdout] --> src/data_structures/game.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use crossterm::event::{poll, read, Event, KeyCode, KeyModifiers, KeyEvent}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data_structures/game.rs:93:47 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_command(&self, wait_for: Duration) -> Option { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0de0cf20fb31df5b221836e8325d1d775c8b7652a88cfcfd4d018e32ca19bec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de0cf20fb31df5b221836e8325d1d775c8b7652a88cfcfd4d018e32ca19bec1", kill_on_drop: false }` [INFO] [stdout] 0de0cf20fb31df5b221836e8325d1d775c8b7652a88cfcfd4d018e32ca19bec1