[INFO] updating cached repository RicheyRyan/snake [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/RicheyRyan/snake [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/RicheyRyan/snake" "work/ex/beta-1.37-6/sources/1.36.0/gh/RicheyRyan/snake"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/RicheyRyan/snake'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/RicheyRyan/snake" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/RicheyRyan/snake"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/RicheyRyan/snake'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3ec9a5f2afe5d55ad62ec3cbf458191f3a3832ab [INFO] sha for GitHub repo RicheyRyan/snake: 3ec9a5f2afe5d55ad62ec3cbf458191f3a3832ab [INFO] validating manifest of RicheyRyan/snake on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of RicheyRyan/snake on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing RicheyRyan/snake [INFO] finished frobbing RicheyRyan/snake [INFO] frobbed toml for RicheyRyan/snake written to work/ex/beta-1.37-6/sources/1.36.0/gh/RicheyRyan/snake/Cargo.toml [INFO] started frobbing RicheyRyan/snake [INFO] finished frobbing RicheyRyan/snake [INFO] frobbed toml for RicheyRyan/snake written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/RicheyRyan/snake/Cargo.toml [INFO] crate RicheyRyan/snake already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/RicheyRyan/snake/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing RicheyRyan/snake against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/RicheyRyan/snake:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 08039c263b529039b6d886119834127b4a02f5d845354806113cbb2a74922e42 [INFO] running `"docker" "start" "-a" "08039c263b529039b6d886119834127b4a02f5d845354806113cbb2a74922e42"` [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling snake v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `SIGINT` [INFO] [stderr] --> src/main.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use libc::{ SIGINT }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | getmaxyx(stdscr, &mut max_y, &mut max_x); [INFO] [stderr] | ^^^^^^ expected *-ptr, found fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut i8` [INFO] [stderr] found type `fn() -> *mut i8 {ncurses::stdscr}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | keypad(stdscr,true); [INFO] [stderr] | ^^^^^^ expected *-ptr, found fn item [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut i8` [INFO] [stderr] found type `fn() -> *mut i8 {ncurses::stdscr}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `snake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08039c263b529039b6d886119834127b4a02f5d845354806113cbb2a74922e42"` [INFO] running `"docker" "rm" "-f" "08039c263b529039b6d886119834127b4a02f5d845354806113cbb2a74922e42"` [INFO] [stdout] 08039c263b529039b6d886119834127b4a02f5d845354806113cbb2a74922e42