[INFO] cloning repository https://github.com/gusbmurphy/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gusbmurphy/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusbmurphy%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusbmurphy%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b8c2bd03604984b0fce3fb1c80e5a80e0c8fc0c [INFO] testing gusbmurphy/snake against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusbmurphy%2Fsnake" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gusbmurphy/snake [INFO] finished tweaking git repo https://github.com/gusbmurphy/snake [INFO] tweaked toml for git repo https://github.com/gusbmurphy/snake written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gusbmurphy/snake on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gusbmurphy/snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f170eff908ebbcc1cf655f2cdbbfb367e84a61dcf99e20f1e159326fd9376cec [INFO] running `Command { std: "docker" "start" "-a" "f170eff908ebbcc1cf655f2cdbbfb367e84a61dcf99e20f1e159326fd9376cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f170eff908ebbcc1cf655f2cdbbfb367e84a61dcf99e20f1e159326fd9376cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f170eff908ebbcc1cf655f2cdbbfb367e84a61dcf99e20f1e159326fd9376cec", kill_on_drop: false }` [INFO] [stdout] f170eff908ebbcc1cf655f2cdbbfb367e84a61dcf99e20f1e159326fd9376cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 725d070079310a010600f24d46b3dc7a9e72866affd01361732a21c9a5a5384b [INFO] running `Command { std: "docker" "start" "-a" "725d070079310a010600f24d46b3dc7a9e72866affd01361732a21c9a5a5384b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling wide v0.7.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling ultraviolet v0.9.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "725d070079310a010600f24d46b3dc7a9e72866affd01361732a21c9a5a5384b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725d070079310a010600f24d46b3dc7a9e72866affd01361732a21c9a5a5384b", kill_on_drop: false }` [INFO] [stdout] 725d070079310a010600f24d46b3dc7a9e72866affd01361732a21c9a5a5384b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97e95dc7b407793116626d84218adaa98799dbc001729d884abd087268a78523 [INFO] running `Command { std: "docker" "start" "-a" "97e95dc7b407793116626d84218adaa98799dbc001729d884abd087268a78523", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.80s [INFO] running `Command { std: "docker" "inspect" "97e95dc7b407793116626d84218adaa98799dbc001729d884abd087268a78523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e95dc7b407793116626d84218adaa98799dbc001729d884abd087268a78523", kill_on_drop: false }` [INFO] [stdout] 97e95dc7b407793116626d84218adaa98799dbc001729d884abd087268a78523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64a4d9d8823672a5571fb32ac9f34deac53966b38f68489b28110e34efa9c633 [INFO] running `Command { std: "docker" "start" "-a" "64a4d9d8823672a5571fb32ac9f34deac53966b38f68489b28110e34efa9c633", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake-e3c01d67e58cc43a) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test board::tests::added_tail_node_has_direction_of_head ... ok [INFO] [stdout] test board::tests::get_score_returns_current_score ... ok [INFO] [stdout] test board::tests::on_tick_after_scoring_tick_node_is_added_where_apple_was ... ok [INFO] [stdout] test board::tests::right_after_scoring_tick_no_node_is_added ... ok [INFO] [stdout] test board::tests::turns_are_removed_after_last_node_has_hit_them ... ok [INFO] [stdout] test board::tests::with_tail_180_turn_is_not_allowed ... ok [INFO] [stdout] test snake::tests::change_facing_sets_facing ... ok [INFO] [stdout] test board::tests::score_is_incremented_if_player_is_on_apple_after_tick ... ok [INFO] [stdout] test snake::tests::get_facing_returns_facing ... ok [INFO] [stdout] test board::tests::snake_tail_node_moves_in_direction_of_facing ... ok [INFO] [stdout] test board::tests::tail_node_takes_direction_of_turn ... ok [INFO] [stdout] test board::tests::turn_is_added_when_player_turns ... ok [INFO] [stdout] test snake::tests::move_forward_changes_position::case_1 ... ok [INFO] [stdout] test board::tests::turn_is_not_added_if_direction_given_at_tick_is_same_as_snake_facing ... ok [INFO] [stdout] test snake::tests::move_forward_changes_position::case_2 ... ok [INFO] [stdout] test board::tests::snake_is_moved_in_new_direction_after_tick ... ok [INFO] [stdout] test snake::tests::move_forward_changes_position::case_3 ... ok [INFO] [stdout] test board::tests::get_screen_representations_returns_correct_order ... ok [INFO] [stdout] test snake::tests::move_forward_changes_position::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64a4d9d8823672a5571fb32ac9f34deac53966b38f68489b28110e34efa9c633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a4d9d8823672a5571fb32ac9f34deac53966b38f68489b28110e34efa9c633", kill_on_drop: false }` [INFO] [stdout] 64a4d9d8823672a5571fb32ac9f34deac53966b38f68489b28110e34efa9c633