[INFO] cloning repository https://github.com/Osama530/Rust_snak_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/Rust_snak_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRust_snak_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRust_snak_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] edfeb5f3ddd4eaa876232b1ebc9aee59c2f2e26e
[INFO] testing Osama530/Rust_snak_game against 1.47.0 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRust_snak_game" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Osama530/Rust_snak_game on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Osama530/Rust_snak_game
[INFO] finished tweaking git repo https://github.com/Osama530/Rust_snak_game
[INFO] tweaked toml for git repo https://github.com/Osama530/Rust_snak_game written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Osama530/Rust_snak_game already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "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] d46dff6b04dde1e55b2648e5d2b7ba9674778caba8c7cc34f9b0885ea0953256
[INFO] running `Command { std: "docker" "start" "-a" "d46dff6b04dde1e55b2648e5d2b7ba9674778caba8c7cc34f9b0885ea0953256", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d46dff6b04dde1e55b2648e5d2b7ba9674778caba8c7cc34f9b0885ea0953256", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d46dff6b04dde1e55b2648e5d2b7ba9674778caba8c7cc34f9b0885ea0953256", kill_on_drop: false }`
[INFO] [stdout] d46dff6b04dde1e55b2648e5d2b7ba9674778caba8c7cc34f9b0885ea0953256
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0da34ad37e587a5fec79f52e15603091fd2ca74a3cb112615bc7454685efd7bc
[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" "0da34ad37e587a5fec79f52e15603091fd2ca74a3cb112615bc7454685efd7bc", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling shader_version v0.6.0
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling png v0.16.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling libloading v0.5.2
[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 crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling piston2d-graphics v0.36.0
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling image v0.23.3
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.68.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 piston v0.49.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.63.0
[INFO] [stderr]    Compiling piston_window v0.107.0
[INFO] [stderr]    Compiling snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `new_x`
[INFO] [stdout]    --> src/game.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let new_x = rng.gen_range(1, self.width -1);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_y`
[INFO] [stdout]    --> src/game.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let new_y = rng.gen_range(1, self.hight -1);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 49s
[INFO] running `Command { std: "docker" "inspect" "0da34ad37e587a5fec79f52e15603091fd2ca74a3cb112615bc7454685efd7bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0da34ad37e587a5fec79f52e15603091fd2ca74a3cb112615bc7454685efd7bc", kill_on_drop: false }`
[INFO] [stdout] 0da34ad37e587a5fec79f52e15603091fd2ca74a3cb112615bc7454685efd7bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 995d7432ac714c2b4d9052bfcd122202fdfea3c02b16ff7c4bfc8904073485c0
[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" "995d7432ac714c2b4d9052bfcd122202fdfea3c02b16ff7c4bfc8904073485c0", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `new_x`
[INFO] [stdout]    --> src/game.rs:128:17
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let new_x = rng.gen_range(1, self.width -1);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_y`
[INFO] [stdout]    --> src/game.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let new_y = rng.gen_range(1, self.hight -1);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "995d7432ac714c2b4d9052bfcd122202fdfea3c02b16ff7c4bfc8904073485c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "995d7432ac714c2b4d9052bfcd122202fdfea3c02b16ff7c4bfc8904073485c0", kill_on_drop: false }`
[INFO] [stdout] 995d7432ac714c2b4d9052bfcd122202fdfea3c02b16ff7c4bfc8904073485c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 20e0a483b59e67636ae9e599cddb983650668de3c1d05f75ea936ba41a25890d
[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" "20e0a483b59e67636ae9e599cddb983650668de3c1d05f75ea936ba41a25890d", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `new_x`
[INFO] [stderr]    --> src/game.rs:128:17
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let new_x = rng.gen_range(1, self.width -1);
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_x`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `new_y`
[INFO] [stderr]    --> src/game.rs:129:17
[INFO] [stderr]     |
[INFO] [stderr] 129 |             let new_y = rng.gen_range(1, self.hight -1);
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_y`
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/snake_game-314d60f42eef17b9
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "20e0a483b59e67636ae9e599cddb983650668de3c1d05f75ea936ba41a25890d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20e0a483b59e67636ae9e599cddb983650668de3c1d05f75ea936ba41a25890d", kill_on_drop: false }`
[INFO] [stdout] 20e0a483b59e67636ae9e599cddb983650668de3c1d05f75ea936ba41a25890d
