[INFO] cloning repository https://github.com/tengrommel/play_ground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tengrommel/play_ground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Fplay_ground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Fplay_ground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db813779657c7db5f4e15a6fc52b6af3c1074d36 [INFO] testing tengrommel/play_ground against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Fplay_ground" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tengrommel/play_ground [INFO] finished tweaking git repo https://github.com/tengrommel/play_ground [INFO] tweaked toml for git repo https://github.com/tengrommel/play_ground written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tengrommel/play_ground on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tengrommel/play_ground 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_jitter v0.1.2 [INFO] [stderr] Downloaded stb_truetype v0.2.6 [INFO] [stderr] Downloaded gfx_device_gl v0.15.5 [INFO] [stderr] Downloaded piston-gfx_texture v0.35.0 [INFO] [stderr] Downloaded rand_os v0.1.2 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.56.0 [INFO] [stderr] Downloaded piston_window v0.87.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517dd989ecac07e935d86f5a9a32f64fd750061bbe00b9dede57a9f97265d52c [INFO] running `Command { std: "docker" "start" "-a" "517dd989ecac07e935d86f5a9a32f64fd750061bbe00b9dede57a9f97265d52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517dd989ecac07e935d86f5a9a32f64fd750061bbe00b9dede57a9f97265d52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517dd989ecac07e935d86f5a9a32f64fd750061bbe00b9dede57a9f97265d52c", kill_on_drop: false }` [INFO] [stdout] 517dd989ecac07e935d86f5a9a32f64fd750061bbe00b9dede57a9f97265d52c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9d5930bba58038549627e6002da43a2d57a34d29ce9cb1a65dc6f170b146a3b [INFO] running `Command { std: "docker" "start" "-a" "c9d5930bba58038549627e6002da43a2d57a34d29ce9cb1a65dc6f170b146a3b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.2 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling rusttype v0.7.4 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling andrew v0.1.6 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling safe-transmute v0.10.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling piston2d-graphics v0.30.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling pistoncore-input v0.23.0 [INFO] [stderr] Compiling pistoncore-window v0.35.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.40.0 [INFO] [stderr] Compiling piston v0.40.0 [INFO] [stderr] Compiling piston-gfx_texture v0.35.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.56.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.4 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling pistoncore-glutin_window v0.52.0 [INFO] [stderr] Compiling piston_window v0.87.0 [INFO] [stderr] Compiling play_ground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `snake` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use snake::{Direction, Snake}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::snake` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::{draw_block, draw_rectangle}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/snake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::draw_block; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/snake.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 109 | Direction::Up => (head_x, head_y - 1), [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 112 | Direction::Up => (head_x + 1, head_y), [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Direction::Right` not covered [INFO] [stdout] --> src/snake.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | match moving_dir { [INFO] [stdout] | ^^^^^^^^^^ pattern `Direction::Right` not covered [INFO] [stdout] | [INFO] [stdout] note: `Direction` defined here [INFO] [stdout] --> src/snake.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Right, [INFO] [stdout] | ----- not covered [INFO] [stdout] = note: the matched value is of type `Direction` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 112 ~ Direction::Up => (head_x + 1, head_y), [INFO] [stdout] 113 ~ Direction::Right => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `play_ground` (bin "play_ground") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c9d5930bba58038549627e6002da43a2d57a34d29ce9cb1a65dc6f170b146a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d5930bba58038549627e6002da43a2d57a34d29ce9cb1a65dc6f170b146a3b", kill_on_drop: false }` [INFO] [stdout] c9d5930bba58038549627e6002da43a2d57a34d29ce9cb1a65dc6f170b146a3b