[INFO] cloning repository https://github.com/Michael2004-ukpeh/snake-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michael2004-ukpeh/snake-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael2004-ukpeh%2Fsnake-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael2004-ukpeh%2Fsnake-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f52f2d8fe6ecb47eac960bf4d6732c3b2b0c186 [INFO] testing Michael2004-ukpeh/snake-rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael2004-ukpeh%2Fsnake-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michael2004-ukpeh/snake-rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Michael2004-ukpeh/snake-rust [INFO] finished tweaking git repo https://github.com/Michael2004-ukpeh/snake-rust [INFO] tweaked toml for git repo https://github.com/Michael2004-ukpeh/snake-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Michael2004-ukpeh/snake-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] ecc017a78347be8a04e2c2fd473efd88b58ae4143dac986342d3f5e07890e8ff [INFO] running `Command { std: "docker" "start" "-a" "ecc017a78347be8a04e2c2fd473efd88b58ae4143dac986342d3f5e07890e8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecc017a78347be8a04e2c2fd473efd88b58ae4143dac986342d3f5e07890e8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc017a78347be8a04e2c2fd473efd88b58ae4143dac986342d3f5e07890e8ff", kill_on_drop: false }` [INFO] [stdout] ecc017a78347be8a04e2c2fd473efd88b58ae4143dac986342d3f5e07890e8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 606bf39960d6de5f17038b8b5ecb204a51ddcd55f0089eb4a500f4bd9018998f [INFO] running `Command { std: "docker" "start" "-a" "606bf39960d6de5f17038b8b5ecb204a51ddcd55f0089eb4a500f4bd9018998f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling spin_sleep v1.1.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling nanorand v0.6.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.11 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling piston-gfx_texture v0.42.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.76.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.123.0 [INFO] [stderr] Compiling mysnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/snake.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let direction: Direction = rand::random(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BORDER_COLOR` [INFO] [stdout] --> src/color.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const BORDER_COLOR: Color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_coord_u32` [INFO] [stdout] --> src/draw.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn to_coord_u32(game_coord: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FPS` [INFO] [stdout] --> src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const FPS: f64 = 10.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fps_in_ms` [INFO] [stdout] --> src/game.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn fps_in_ms(fps: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to_dir` [INFO] [stdout] --> src/physics.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn move_to_dir(&mut self, dir: Direction) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 49s [INFO] running `Command { std: "docker" "inspect" "606bf39960d6de5f17038b8b5ecb204a51ddcd55f0089eb4a500f4bd9018998f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606bf39960d6de5f17038b8b5ecb204a51ddcd55f0089eb4a500f4bd9018998f", kill_on_drop: false }` [INFO] [stdout] 606bf39960d6de5f17038b8b5ecb204a51ddcd55f0089eb4a500f4bd9018998f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] a4f189bb6838a842143aa1ed91aeba43198956f75f783be34d5eb93ce44c0245 [INFO] running `Command { std: "docker" "start" "-a" "a4f189bb6838a842143aa1ed91aeba43198956f75f783be34d5eb93ce44c0245", kill_on_drop: false }` [INFO] [stderr] Compiling mysnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/game.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/snake.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let direction: Direction = rand::random(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BORDER_COLOR` [INFO] [stdout] --> src/color.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const BORDER_COLOR: Color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_coord_u32` [INFO] [stdout] --> src/draw.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn to_coord_u32(game_coord: i32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FPS` [INFO] [stdout] --> src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const FPS: f64 = 10.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fps_in_ms` [INFO] [stdout] --> src/game.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn fps_in_ms(fps: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to_dir` [INFO] [stdout] --> src/physics.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn move_to_dir(&mut self, dir: Direction) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.70s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mysnake-9644ac469d47027f) [INFO] running `Command { std: "docker" "inspect" "a4f189bb6838a842143aa1ed91aeba43198956f75f783be34d5eb93ce44c0245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f189bb6838a842143aa1ed91aeba43198956f75f783be34d5eb93ce44c0245", kill_on_drop: false }` [INFO] [stdout] a4f189bb6838a842143aa1ed91aeba43198956f75f783be34d5eb93ce44c0245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 10f3a4e4213aaf973cacf024207a79f48e973a60fd9ac34eccb19bf96118bd8a [INFO] running `Command { std: "docker" "start" "-a" "10f3a4e4213aaf973cacf024207a79f48e973a60fd9ac34eccb19bf96118bd8a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `thread_rng` [INFO] [stderr] --> src/game.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston_window::types::Color` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use piston_window::types::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `direction` [INFO] [stderr] --> src/snake.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let direction: Direction = rand::random(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BORDER_COLOR` [INFO] [stderr] --> src/color.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const BORDER_COLOR: Color = [0.5, 0.5, 0.5, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_coord_u32` [INFO] [stderr] --> src/draw.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn to_coord_u32(game_coord: i32) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FPS` [INFO] [stderr] --> src/game.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const FPS: f64 = 10.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fps_in_ms` [INFO] [stderr] --> src/game.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn fps_in_ms(fps: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `move_to_dir` [INFO] [stderr] --> src/physics.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn move_to_dir(&mut self, dir: Direction) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mysnake` (bin "mysnake" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mysnake-9644ac469d47027f) [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10f3a4e4213aaf973cacf024207a79f48e973a60fd9ac34eccb19bf96118bd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f3a4e4213aaf973cacf024207a79f48e973a60fd9ac34eccb19bf96118bd8a", kill_on_drop: false }` [INFO] [stdout] 10f3a4e4213aaf973cacf024207a79f48e973a60fd9ac34eccb19bf96118bd8a