[INFO] updating cached repository https://github.com/belfz/piston_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] c41b83c205017aa4253345da9a775eaf88551ddb [INFO] testing belfz/piston_snake against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbelfz%2Fpiston_snake" "work/builds/worker-9/source"` [INFO] [stderr] Cloning into 'work/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/belfz/piston_snake on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/belfz/piston_snake [INFO] finished tweaking git repo https://github.com/belfz/piston_snake [INFO] tweaked toml for git repo https://github.com/belfz/piston_snake written to work/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/belfz/piston_snake already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] c8ee19dfaadafb153885442fb8b24d360da34c703b5e6f4bfc269c2371ca579c [INFO] running `"docker" "start" "-a" "c8ee19dfaadafb153885442fb8b24d360da34c703b5e6f4bfc269c2371ca579c"` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling bitflags v1.0.0 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling futures v0.1.15 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling odds v0.2.25 [INFO] [stderr] Compiling serde v1.0.18 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling linked-hash-map v0.0.10 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling inflate v0.3.3 [INFO] [stderr] Compiling deflate v0.7.16 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling stb_truetype v0.2.1 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling arrayvec v0.3.23 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.18 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.2.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling glutin v0.10.0 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling gl v0.6.3 [INFO] [stderr] Compiling piston2d-graphics v0.23.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling image v0.17.0 [INFO] [stderr] Compiling pistoncore-window v0.30.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling pistoncore-event_loop v0.35.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.42.0 [INFO] [stderr] Compiling piston v0.35.0 [INFO] [stderr] Compiling gfx v0.16.1 [INFO] [stderr] Compiling gfx_device_gl v0.14.4 [INFO] [stderr] Compiling piston-gfx_texture v0.29.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.46.0 [INFO] [stderr] Compiling piston_window v0.73.0 [INFO] [stderr] Compiling piston_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.55s [INFO] running `"docker" "inspect" "c8ee19dfaadafb153885442fb8b24d360da34c703b5e6f4bfc269c2371ca579c"` [INFO] running `"docker" "rm" "-f" "c8ee19dfaadafb153885442fb8b24d360da34c703b5e6f4bfc269c2371ca579c"` [INFO] [stdout] c8ee19dfaadafb153885442fb8b24d360da34c703b5e6f4bfc269c2371ca579c [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/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" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 3f4551871d91a73fde85bf6f357a2910eb44e601110965dc12df46643c2bb749 [INFO] running `"docker" "start" "-a" "3f4551871d91a73fde85bf6f357a2910eb44e601110965dc12df46643c2bb749"` [INFO] [stderr] Compiling piston_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.00s [INFO] running `"docker" "inspect" "3f4551871d91a73fde85bf6f357a2910eb44e601110965dc12df46643c2bb749"` [INFO] running `"docker" "rm" "-f" "3f4551871d91a73fde85bf6f357a2910eb44e601110965dc12df46643c2bb749"` [INFO] [stdout] 3f4551871d91a73fde85bf6f357a2910eb44e601110965dc12df46643c2bb749 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-9/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" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] ee463d9e7bb8b799d9f9016a7f3b6778d44844e1af8f53a14709c6fd42e3c730 [INFO] running `"docker" "start" "-a" "ee463d9e7bb8b799d9f9016a7f3b6778d44844e1af8f53a14709c6fd42e3c730"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/piston_snake-eaee9524a95e6ac2 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test direction::test::should_return_right_as_opposite_to_left ... ok [INFO] [stdout] test direction::test::should_return_left_as_opposite_to_right ... ok [INFO] [stdout] test direction::test::should_return_down_as_opposite_to_up ... ok [INFO] [stdout] test direction::test::should_return_up_as_opposite_to_down ... ok [INFO] [stdout] test food::test::next_rand_food_should_return_food_with_position_within_bounds ... ok [INFO] [stdout] test snake::test::has_collision_should_return_true_when_head_collides_with_at_least_one_segment ... ok [INFO] [stdout] test snake::test::has_collision_should_return_false_when_head_does_not_collide ... ok [INFO] [stdout] test snake::test::eat_food_should_add_head_and_advance ... ok [INFO] [stdout] test snake::test::should_change_direction_from_left_to_up ... ok [INFO] [stdout] test snake::test::should_flip_to_other_side_when_advance_left_over_the_boundary ... ok [INFO] [stdout] test snake::test::should_flip_to_other_side_when_advance_down_over_the_boundary ... ok [INFO] [stdout] test snake::test::should_decrease_new_segment_on_y_axis_when_advance_up ... ok [INFO] [stdout] test snake::test::should_create_new_snake ... ok [INFO] [stdout] test snake::test::should_flip_to_other_side_when_advance_right_over_the_boundary ... ok [INFO] [stdout] test snake::test::should_flip_to_other_side_when_advance_up_over_the_boundary ... ok [INFO] [stdout] test snake::test::should_not_change_direction_if_new_direction_is_opposite_to_current ... ok [INFO] [stdout] test snake::test::should_increase_new_segment_on_y_axis_when_advance_down ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/piston_snake-ec0c214e1e98323f [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] [stderr] Doc-tests piston_snake [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 `"docker" "inspect" "ee463d9e7bb8b799d9f9016a7f3b6778d44844e1af8f53a14709c6fd42e3c730"` [INFO] running `"docker" "rm" "-f" "ee463d9e7bb8b799d9f9016a7f3b6778d44844e1af8f53a14709c6fd42e3c730"` [INFO] [stdout] ee463d9e7bb8b799d9f9016a7f3b6778d44844e1af8f53a14709c6fd42e3c730