[INFO] updating cached repository https://github.com/povilasb/snake [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 24718dd9918cab67b5fa4edafa926f879b71f803 [INFO] testing povilasb/snake against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpovilasb%2Fsnake" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/povilasb/snake on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/povilasb/snake [INFO] finished tweaking git repo https://github.com/povilasb/snake [INFO] tweaked toml for git repo https://github.com/povilasb/snake written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/povilasb/snake already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "build" "--frozen"` [INFO] [stdout] 64414c992e53b64e600c3f062ee9fa2070800284d5854173c9fc9ebbf6d23d83 [INFO] running `"docker" "start" "-a" "64414c992e53b64e600c3f062ee9fa2070800284d5854173c9fc9ebbf6d23d83"` [INFO] [stderr] Compiling unwrap v1.1.0 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling framebuffer v0.1.6 [INFO] [stderr] Compiling rust-gfx v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.96s [INFO] running `"docker" "inspect" "64414c992e53b64e600c3f062ee9fa2070800284d5854173c9fc9ebbf6d23d83"` [INFO] running `"docker" "rm" "-f" "64414c992e53b64e600c3f062ee9fa2070800284d5854173c9fc9ebbf6d23d83"` [INFO] [stdout] 64414c992e53b64e600c3f062ee9fa2070800284d5854173c9fc9ebbf6d23d83 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] c23f9c1e82624da1959326c7cdd4738904120e1cb4dfaaf1b9eb7270463416a4 [INFO] running `"docker" "start" "-a" "c23f9c1e82624da1959326c7cdd4738904120e1cb4dfaaf1b9eb7270463416a4"` [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling hamcrest v0.1.3 [INFO] [stderr] Compiling rust-gfx v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.93s [INFO] running `"docker" "inspect" "c23f9c1e82624da1959326c7cdd4738904120e1cb4dfaaf1b9eb7270463416a4"` [INFO] running `"docker" "rm" "-f" "c23f9c1e82624da1959326c7cdd4738904120e1cb4dfaaf1b9eb7270463416a4"` [INFO] [stdout] c23f9c1e82624da1959326c7cdd4738904120e1cb4dfaaf1b9eb7270463416a4 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "test" "--frozen"` [INFO] [stdout] 9e34ee25dec6893dcd259ac0ebb1c1dae7392ec334ae7906412946e99f9c2e0d [INFO] running `"docker" "start" "-a" "9e34ee25dec6893dcd259ac0ebb1c1dae7392ec334ae7906412946e99f9c2e0d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_gfx-1a3e12d2cc68313e [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test game::tests::plane::head_on_food::it_returns_true_when_snake_head_coordinates_match_food_coordinates ... ok [INFO] [stdout] test game::tests::plane::head_on_food::it_returns_false_when_snake_head_coordinates_match_food_coordinates ... ok [INFO] [stdout] test game::tests::plane::move_to::it_decreases_head_x_when_direction_is_left ... ok [INFO] [stdout] test game::tests::plane::move_to::it_updates_head_direction_with_the_specified_one ... ok [INFO] [stdout] test game::tests::cell::random::it_places_food_inside_plane ... ok [INFO] [stdout] test game::tests::plane::move_to::it_shifts_body_parts_right ... ok [INFO] [stdout] test game::tests::plane::move_to::it_increases_head_x_when_direction_is_right ... ok [INFO] [stdout] test game::tests::plane::eat_food::it_appends_food_to_snake_body ... ok [INFO] [stdout] test game::tests::plane::randomize_food::it_picks_any_place_except_where_snake_is ... ok [INFO] [stdout] test game::tests::plane::randomize_food::it_places_food_inside_plane ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "9e34ee25dec6893dcd259ac0ebb1c1dae7392ec334ae7906412946e99f9c2e0d"` [INFO] running `"docker" "rm" "-f" "9e34ee25dec6893dcd259ac0ebb1c1dae7392ec334ae7906412946e99f9c2e0d"` [INFO] [stdout] 9e34ee25dec6893dcd259ac0ebb1c1dae7392ec334ae7906412946e99f9c2e0d