[INFO] updating cached repository https://github.com/abeyonalaja/rsnake [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3db4c665a25fa57e12c9bf8b5de902ca4c739bb1 [INFO] testing abeyonalaja/rsnake against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frsnake" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abeyonalaja/rsnake on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/abeyonalaja/rsnake [INFO] finished tweaking git repo https://github.com/abeyonalaja/rsnake [INFO] tweaked toml for git repo https://github.com/abeyonalaja/rsnake written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/abeyonalaja/rsnake already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ef69f5f1d8b7a1bb47934d872531b9f2a975b0d8ece23d7d5ad48355e9423f73 [INFO] running `"docker" "start" "-a" "ef69f5f1d8b7a1bb47934d872531b9f2a975b0d8ece23d7d5ad48355e9423f73"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling syn v0.15.41 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.32.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling winit v0.19.1 [INFO] [stderr] Compiling glutin v0.21.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling piston-gfx_texture v0.36.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.61.0 [INFO] [stderr] Compiling piston_window v0.100.0 [INFO] [stderr] Compiling rsnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `draw` [INFO] [stderr] --> src/snake.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use draw::draw_block; [INFO] [stderr] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context`, `G2d` [INFO] [stderr] --> src/snake.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use piston_window::{Context, G2d}; [INFO] [stderr] | ^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::LinkedList` [INFO] [stderr] --> src/snake.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::LinkedList; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/draw.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | BLOCK_SIZE * (width as f64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `f64` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `UP` found for enum `snake::Direction` in the current scope [INFO] [stderr] --> src/snake.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Direction { [INFO] [stderr] | ------------------ variant or associated item `UP` not found here [INFO] [stderr] ... [INFO] [stderr] 19 | Direction::UP => Direction::Down, [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `snake::Direction` [INFO] [stderr] | help: there is a variant with a similar name: `Up` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `UP` found for enum `snake::Direction` in the current scope [INFO] [stderr] --> src/snake.rs:20:43 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Direction { [INFO] [stderr] | ------------------ variant or associated item `UP` not found here [INFO] [stderr] ... [INFO] [stderr] 20 | Direction::Down => Direction::UP, [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `snake::Direction` [INFO] [stderr] | help: there is a variant with a similar name: `Up` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rsnake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ef69f5f1d8b7a1bb47934d872531b9f2a975b0d8ece23d7d5ad48355e9423f73"` [INFO] running `"docker" "rm" "-f" "ef69f5f1d8b7a1bb47934d872531b9f2a975b0d8ece23d7d5ad48355e9423f73"` [INFO] [stdout] ef69f5f1d8b7a1bb47934d872531b9f2a975b0d8ece23d7d5ad48355e9423f73