[INFO] cloning repository https://github.com/DonoA/RustAutoSnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DonoA/RustAutoSnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14c7b9cf87a61e69209b485b15d8d6a219cd3f87 [INFO] checking DonoA/RustAutoSnake against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DonoA/RustAutoSnake on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DonoA/RustAutoSnake [INFO] finished tweaking git repo https://github.com/DonoA/RustAutoSnake [INFO] tweaked toml for git repo https://github.com/DonoA/RustAutoSnake written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DonoA/RustAutoSnake 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.99.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 400b93b83188459d0bce99f63d06911e47bc45acb1024493d5c0f4d8d576bb51 [INFO] running `Command { std: "docker" "start" "-a" "400b93b83188459d0bce99f63d06911e47bc45acb1024493d5c0f4d8d576bb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400b93b83188459d0bce99f63d06911e47bc45acb1024493d5c0f4d8d576bb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400b93b83188459d0bce99f63d06911e47bc45acb1024493d5c0f4d8d576bb51", kill_on_drop: false }` [INFO] [stdout] 400b93b83188459d0bce99f63d06911e47bc45acb1024493d5c0f4d8d576bb51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad1517bc7eff78d4a9e425639103b424147c68f0c709631fcbbfb75f77ffca1 [INFO] running `Command { std: "docker" "start" "-a" "bad1517bc7eff78d4a9e425639103b424147c68f0c709631fcbbfb75f77ffca1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking rust_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | thread::sleep_ms(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | thread::sleep_ms(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_snake_seg(curr: &Direction, next: Option<&Direction>) -> u64 { [INFO] [stdout] | --- expected `u64` because of return type [INFO] [stdout] ... [INFO] [stdout] 12 | Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 12 | Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print, 1); [INFO] [stdout] | ---------------- ^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ncurses-5.99.0/src/lib.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn mvhline(y: i32, x: i32, ch: chtype, n: i32) -> i32 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print.try_into().unwrap(), 1); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_snake_seg(curr: &Direction, next: Option<&Direction>) -> u64 { [INFO] [stdout] | --- expected `u64` because of return type [INFO] [stdout] ... [INFO] [stdout] 12 | Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 12 | Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print, 1); [INFO] [stdout] | ---------------- ^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ncurses-5.99.0/src/lib.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn mvhline(y: i32, x: i32, ch: chtype, n: i32) -> i32 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print.try_into().unwrap(), 1); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pl` [INFO] [stdout] --> src/main.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | std::panic::set_hook(Box::new(|pl| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pl` [INFO] [stdout] --> src/main.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | std::panic::set_hook(Box::new(|pl| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_snake` (bin "rust_snake") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_snake` (bin "rust_snake" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bad1517bc7eff78d4a9e425639103b424147c68f0c709631fcbbfb75f77ffca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad1517bc7eff78d4a9e425639103b424147c68f0c709631fcbbfb75f77ffca1", kill_on_drop: false }` [INFO] [stdout] bad1517bc7eff78d4a9e425639103b424147c68f0c709631fcbbfb75f77ffca1 [INFO] checking DonoA/RustAutoSnake against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DonoA/RustAutoSnake on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DonoA/RustAutoSnake [INFO] finished tweaking git repo https://github.com/DonoA/RustAutoSnake [INFO] tweaked toml for git repo https://github.com/DonoA/RustAutoSnake written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DonoA/RustAutoSnake 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2953088bd6e9440d985a294473d6b285721113fa4d333e00ffcb69ad20b6ce59 [INFO] running `Command { std: "docker" "start" "-a" "2953088bd6e9440d985a294473d6b285721113fa4d333e00ffcb69ad20b6ce59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2953088bd6e9440d985a294473d6b285721113fa4d333e00ffcb69ad20b6ce59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2953088bd6e9440d985a294473d6b285721113fa4d333e00ffcb69ad20b6ce59", kill_on_drop: false }` [INFO] [stdout] 2953088bd6e9440d985a294473d6b285721113fa4d333e00ffcb69ad20b6ce59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ebae51d873936da634609f0b00ae9a8f329e482e41eea749a595261de05c374 [INFO] running `Command { std: "docker" "start" "-a" "6ebae51d873936da634609f0b00ae9a8f329e482e41eea749a595261de05c374", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "6ebae51d873936da634609f0b00ae9a8f329e482e41eea749a595261de05c374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebae51d873936da634609f0b00ae9a8f329e482e41eea749a595261de05c374", kill_on_drop: false }` [INFO] [stdout] 6ebae51d873936da634609f0b00ae9a8f329e482e41eea749a595261de05c374