[INFO] cloning repository https://github.com/MickoLjudinicko/snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MickoLjudinicko/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMickoLjudinicko%2Fsnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMickoLjudinicko%2Fsnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 20942d1f2b14f80a2abbf6a3992dd811525fa8ec
[INFO] testing MickoLjudinicko/snake against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMickoLjudinicko%2Fsnake" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MickoLjudinicko/snake
[INFO] finished tweaking git repo https://github.com/MickoLjudinicko/snake
[INFO] tweaked toml for git repo https://github.com/MickoLjudinicko/snake written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MickoLjudinicko/snake on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MickoLjudinicko/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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71366988f97c01245f6dc95954484a3874fc4370d9c92f3ae2d4f29723b4654c
[INFO] running `Command { std: "docker" "start" "-a" "71366988f97c01245f6dc95954484a3874fc4370d9c92f3ae2d4f29723b4654c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71366988f97c01245f6dc95954484a3874fc4370d9c92f3ae2d4f29723b4654c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71366988f97c01245f6dc95954484a3874fc4370d9c92f3ae2d4f29723b4654c", kill_on_drop: false }`
[INFO] [stdout] 71366988f97c01245f6dc95954484a3874fc4370d9c92f3ae2d4f29723b4654c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2f0170e328f789341110239cb443b991b9f75434233d5110bcef3d53100a56ed
[INFO] running `Command { std: "docker" "start" "-a" "2f0170e328f789341110239cb443b991b9f75434233d5110bcef3d53100a56ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling bytemuck v1.18.0
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling claxon v0.4.3
[INFO] [stderr]    Compiling hound v3.5.1
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling symphonia-core v0.5.4
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling alsa v0.9.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling symphonia-metadata v0.5.4
[INFO] [stderr]    Compiling symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling symphonia v0.5.4
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling rodio v0.19.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.11s
[INFO] running `Command { std: "docker" "inspect" "2f0170e328f789341110239cb443b991b9f75434233d5110bcef3d53100a56ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f0170e328f789341110239cb443b991b9f75434233d5110bcef3d53100a56ed", kill_on_drop: false }`
[INFO] [stdout] 2f0170e328f789341110239cb443b991b9f75434233d5110bcef3d53100a56ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 83544632171e2ed57eb3ffec0ee7010671c72e00c6bb067c37e25fcc6f9894c8
[INFO] running `Command { std: "docker" "start" "-a" "83544632171e2ed57eb3ffec0ee7010671c72e00c6bb067c37e25fcc6f9894c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "83544632171e2ed57eb3ffec0ee7010671c72e00c6bb067c37e25fcc6f9894c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83544632171e2ed57eb3ffec0ee7010671c72e00c6bb067c37e25fcc6f9894c8", kill_on_drop: false }`
[INFO] [stdout] 83544632171e2ed57eb3ffec0ee7010671c72e00c6bb067c37e25fcc6f9894c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4a1cf465e9bbed6ab1265eae6f561dae221d25db9ac86e6091242021b5e0654f
[INFO] running `Command { std: "docker" "start" "-a" "4a1cf465e9bbed6ab1265eae6f561dae221d25db9ac86e6091242021b5e0654f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/snake/47f6672133f3ec32/deps/snake-47f6672133f3ec32)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/snake/20aadf1b97904b69/deps/snake-20aadf1b97904b69)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/snake_test.rs (/opt/rustwide/target/debug/build/snake/18b862b1e7afe4c5/deps/snake_test-18b862b1e7afe4c5)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test tests::test_body ... ok
[INFO] [stdout] test tests::test_change_direction ... ok
[INFO] [stdout] test tests::test_grow ... ok
[INFO] [stdout] test tests::test_move_forward ... ok
[INFO] [stdout] test tests::test_collides_with_wall ... ok
[INFO] [stdout] test tests::test_snake_initialization ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests snake
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/snake.rs - snake::Snake (line 54) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/snake.rs - snake::Snake (line 54) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Snake`
[INFO] [stdout]   --> src/snake.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 | let mut snake = Snake::new();
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Snake`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 53 + use snake::snake::Snake;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction`
[INFO] [stdout]   --> src/snake.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 | snake.change_direction(Direction::Up);
[INFO] [stdout]    |                        ^^^^^^^^^ use of undeclared type `Direction`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 53 + use snake::direction::Direction;
[INFO] [stdout]    |
[INFO] [stdout] 53 + use tui::layout::Direction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/snake.rs - snake::Snake (line 54)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4a1cf465e9bbed6ab1265eae6f561dae221d25db9ac86e6091242021b5e0654f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a1cf465e9bbed6ab1265eae6f561dae221d25db9ac86e6091242021b5e0654f", kill_on_drop: false }`
[INFO] [stdout] 4a1cf465e9bbed6ab1265eae6f561dae221d25db9ac86e6091242021b5e0654f
