[INFO] cloning repository https://github.com/krzysztofgal/snapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krzysztofgal/snapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztofgal%2Fsnapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztofgal%2Fsnapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6af623dbe35af53e66dd68f1d69fe70c9a09ee97
[INFO] testing krzysztofgal/snapi against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrzysztofgal%2Fsnapi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krzysztofgal/snapi
[INFO] finished tweaking git repo https://github.com/krzysztofgal/snapi
[INFO] tweaked toml for git repo https://github.com/krzysztofgal/snapi written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krzysztofgal/snapi on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krzysztofgal/snapi 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-task v0.3.24
[INFO] [stderr]   Downloaded futures-core v0.3.24
[INFO] [stderr]   Downloaded unicode-ident v1.0.4
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] [stderr]   Downloaded futures-channel v0.3.24
[INFO] [stderr]   Downloaded lock_api v0.4.8
[INFO] [stderr]   Downloaded futures-util v0.3.24
[INFO] [stderr]   Downloaded signal-hook v0.3.14
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded axum v0.5.16
[INFO] [stderr]   Downloaded tokio v1.21.1
[INFO] [stderr]   Downloaded axum-core v0.2.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d27137396fb7f00a56d1a4e58462d82d7926e04912e75eff6fa70976d19c7f7
[INFO] running `Command { std: "docker" "start" "-a" "8d27137396fb7f00a56d1a4e58462d82d7926e04912e75eff6fa70976d19c7f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d27137396fb7f00a56d1a4e58462d82d7926e04912e75eff6fa70976d19c7f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d27137396fb7f00a56d1a4e58462d82d7926e04912e75eff6fa70976d19c7f7", kill_on_drop: false }`
[INFO] [stdout] 8d27137396fb7f00a56d1a4e58462d82d7926e04912e75eff6fa70976d19c7f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c313c7ea4eabb176e4e7a4758c92501ab25d29b2ba8de02ad8d10a60124f6ebd
[INFO] running `Command { std: "docker" "start" "-a" "c313c7ea4eabb176e4e7a4758c92501ab25d29b2ba8de02ad8d10a60124f6ebd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling tokio v1.21.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling axum-core v0.2.8
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling tower-http v0.3.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling axum v0.5.16
[INFO] [stderr]    Compiling snapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Tile`
[INFO] [stdout]   --> src/snake_game/mod.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use game_level::{GameLevel, Tile, TileType};
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `len` is never used
[INFO] [stdout]   --> src/snake_game/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait SnakeBehavior {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn len(&self) -> usize;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NullSnake` is never constructed
[INFO] [stdout]   --> src/snake_game/mod.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct NullSnake;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NullFruit` is never constructed
[INFO] [stdout]   --> src/snake_game/mod.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct NullFruit;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]    --> src/snake_game/game_level.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | pub struct LevelDimensions {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 172 |     pub width: usize,
[INFO] [stdout] 173 |     pub height: usize,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.74s
[INFO] running `Command { std: "docker" "inspect" "c313c7ea4eabb176e4e7a4758c92501ab25d29b2ba8de02ad8d10a60124f6ebd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c313c7ea4eabb176e4e7a4758c92501ab25d29b2ba8de02ad8d10a60124f6ebd", kill_on_drop: false }`
[INFO] [stdout] c313c7ea4eabb176e4e7a4758c92501ab25d29b2ba8de02ad8d10a60124f6ebd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63c0bc10db536eb82c02eb3bee3a549edf2768f5a5e6bfd2b2385060ceaa24ff
[INFO] running `Command { std: "docker" "start" "-a" "63c0bc10db536eb82c02eb3bee3a549edf2768f5a5e6bfd2b2385060ceaa24ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling snapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Tile`
[INFO] [stdout]   --> src/snake_game/mod.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use game_level::{GameLevel, Tile, TileType};
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]    --> src/snake_game/game_level.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | pub struct LevelDimensions {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 172 |     pub width: usize,
[INFO] [stdout] 173 |     pub height: usize,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s
[INFO] running `Command { std: "docker" "inspect" "63c0bc10db536eb82c02eb3bee3a549edf2768f5a5e6bfd2b2385060ceaa24ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c0bc10db536eb82c02eb3bee3a549edf2768f5a5e6bfd2b2385060ceaa24ff", kill_on_drop: false }`
[INFO] [stdout] 63c0bc10db536eb82c02eb3bee3a549edf2768f5a5e6bfd2b2385060ceaa24ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5733ec1b10de129c2c19bbb0bd029982005ae83fbad085993bef57e15799da0a
[INFO] running `Command { std: "docker" "start" "-a" "5733ec1b10de129c2c19bbb0bd029982005ae83fbad085993bef57e15799da0a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Tile`
[INFO] [stderr]   --> src/snake_game/mod.rs:10:33
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use game_level::{GameLevel, Tile, TileType};
[INFO] [stderr]    |                                 ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `height` is never read
[INFO] [stderr]    --> src/snake_game/game_level.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 171 | pub struct LevelDimensions {
[INFO] [stderr]     |            --------------- field in this struct
[INFO] [stderr] 172 |     pub width: usize,
[INFO] [stderr] 173 |     pub height: usize,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `snapi` (bin "snapi" test) generated 2 warnings (run `cargo fix --bin "snapi" -p snapi --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snapi-caac57a88ad972e6)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test helper::tests::move_occurrence_counting ... ok
[INFO] [stdout] test snake_game::game_level::tests::level_tile_coordinates ... ok
[INFO] [stdout] test snake_game::tests::level_render ... ok
[INFO] [stdout] test snake_game::tests::snake_movement_and_grow ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5733ec1b10de129c2c19bbb0bd029982005ae83fbad085993bef57e15799da0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5733ec1b10de129c2c19bbb0bd029982005ae83fbad085993bef57e15799da0a", kill_on_drop: false }`
[INFO] [stdout] 5733ec1b10de129c2c19bbb0bd029982005ae83fbad085993bef57e15799da0a
