[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 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbelfz%2Fpiston_snake" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/belfz/piston_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/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-4/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" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/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] 0bda082b495e7926ef80c1dd0082c04f49faf4562fe8e0765c2077a6effa98e5 [INFO] running `"docker" "start" "-a" "0bda082b495e7926ef80c1dd0082c04f49faf4562fe8e0765c2077a6effa98e5"` [INFO] [stderr] Compiling serde v1.0.18 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling deflate v0.7.16 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling gl v0.6.3 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.18 [INFO] [stderr] Compiling piston2d-graphics v0.23.0 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.17.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling pistoncore-window v0.30.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling pistoncore-event_loop v0.35.0 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling piston v0.35.0 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols 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 glutin v0.10.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.42.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 38.43s [INFO] running `"docker" "inspect" "0bda082b495e7926ef80c1dd0082c04f49faf4562fe8e0765c2077a6effa98e5"` [INFO] running `"docker" "rm" "-f" "0bda082b495e7926ef80c1dd0082c04f49faf4562fe8e0765c2077a6effa98e5"` [INFO] [stdout] 0bda082b495e7926ef80c1dd0082c04f49faf4562fe8e0765c2077a6effa98e5 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/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] 7a05d0f9d4fa4a3d9f49e717110c6e06d9f51bdccdcdd5cc33d116911cc0a88d [INFO] running `"docker" "start" "-a" "7a05d0f9d4fa4a3d9f49e717110c6e06d9f51bdccdcdd5cc33d116911cc0a88d"` [INFO] [stderr] Compiling piston_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.80s [INFO] running `"docker" "inspect" "7a05d0f9d4fa4a3d9f49e717110c6e06d9f51bdccdcdd5cc33d116911cc0a88d"` [INFO] running `"docker" "rm" "-f" "7a05d0f9d4fa4a3d9f49e717110c6e06d9f51bdccdcdd5cc33d116911cc0a88d"` [INFO] [stdout] 7a05d0f9d4fa4a3d9f49e717110c6e06d9f51bdccdcdd5cc33d116911cc0a88d [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/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] 508966a5b639c44a659772785defdcb301cc6e7f85ef9481271f11c7ad590e9a [INFO] running `"docker" "start" "-a" "508966a5b639c44a659772785defdcb301cc6e7f85ef9481271f11c7ad590e9a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/piston_snake-393fbd7c91a011ae [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test snake::test::has_collision_should_return_false_when_head_does_not_collide ... ok [INFO] [stdout] test direction::test::should_return_up_as_opposite_to_down ... ok [INFO] [stdout] test direction::test::should_return_down_as_opposite_to_up ... ok [INFO] [stdout] test direction::test::should_return_left_as_opposite_to_right ... 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::eat_food_should_add_head_and_advance ... ok [INFO] [stdout] test snake::test::should_change_direction_from_left_to_up ... ok [INFO] [stdout] test direction::test::should_return_right_as_opposite_to_left ... 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_flip_to_other_side_when_advance_left_over_the_boundary ... ok [INFO] [stdout] test snake::test::should_increase_new_segment_on_y_axis_when_advance_down ... ok [INFO] [stdout] test snake::test::should_flip_to_other_side_when_advance_up_over_the_boundary ... 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_not_change_direction_if_new_direction_is_opposite_to_current ... ok [INFO] [stdout] test food::test::next_rand_food_should_return_food_with_position_within_bounds ... 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-7a33ba11ae1be8c7 [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" "508966a5b639c44a659772785defdcb301cc6e7f85ef9481271f11c7ad590e9a"` [INFO] running `"docker" "rm" "-f" "508966a5b639c44a659772785defdcb301cc6e7f85ef9481271f11c7ad590e9a"` [INFO] [stdout] 508966a5b639c44a659772785defdcb301cc6e7f85ef9481271f11c7ad590e9a