[INFO] cloning repository https://github.com/yykkxk/ncurses-rust-games [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yykkxk/ncurses-rust-games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a84eaf918f86e8f2e3976171642589a73a7b46e [INFO] testing yykkxk/ncurses-rust-games against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyykkxk%2Fncurses-rust-games" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yykkxk/ncurses-rust-games on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yykkxk/ncurses-rust-games [INFO] finished tweaking git repo https://github.com/yykkxk/ncurses-rust-games [INFO] tweaked toml for git repo https://github.com/yykkxk/ncurses-rust-games written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/yykkxk/ncurses-rust-games already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b955a6921ff6c0c03d72b134865c65bc44ef5afa81e3d0afc41d1a75c48e14b [INFO] running `Command { std: "docker" "start" "-a" "3b955a6921ff6c0c03d72b134865c65bc44ef5afa81e3d0afc41d1a75c48e14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b955a6921ff6c0c03d72b134865c65bc44ef5afa81e3d0afc41d1a75c48e14b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b955a6921ff6c0c03d72b134865c65bc44ef5afa81e3d0afc41d1a75c48e14b", kill_on_drop: false }` [INFO] [stdout] 3b955a6921ff6c0c03d72b134865c65bc44ef5afa81e3d0afc41d1a75c48e14b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1bb92b3f4a5f5aa06b3aa0f6a4e4809febffdebe8a5f67796ca5540c346941bd [INFO] running `Command { std: "docker" "start" "-a" "1bb92b3f4a5f5aa06b3aa0f6a4e4809febffdebe8a5f67796ca5540c346941bd", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mygames v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ncurses_space_invaders.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | keypad(stdscr, true); [INFO] [stdout] | ^^^^^^ expected *-ptr, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut i8` [INFO] [stdout] found fn item `fn() -> *mut i8 {ncurses::stdscr}` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 13 | keypad(stdscr(), true); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ncurses_space_invaders.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | getmaxyx(stdscr, &mut max_y, &mut max_x); [INFO] [stdout] | ^^^^^^ expected *-ptr, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut i8` [INFO] [stdout] found fn item `fn() -> *mut i8 {ncurses::stdscr}` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 19 | getmaxyx(stdscr(), &mut max_y, &mut max_x); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ncurses_space_invaders.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | mvaddch(p.1, p.0, ch as u64); [INFO] [stdout] | ^^^^^^^^^ expected `u32`, found `u64` [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] 65 | mvaddch(p.1, p.0, (ch as u64).try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mygames` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1bb92b3f4a5f5aa06b3aa0f6a4e4809febffdebe8a5f67796ca5540c346941bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bb92b3f4a5f5aa06b3aa0f6a4e4809febffdebe8a5f67796ca5540c346941bd", kill_on_drop: false }` [INFO] [stdout] 1bb92b3f4a5f5aa06b3aa0f6a4e4809febffdebe8a5f67796ca5540c346941bd