[INFO] updating cached repository https://github.com/alexlai97/snake-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d2a2cbe97eb824aacf2d030d6bc5ee731a1aa102 [INFO] testing alexlai97/snake-rust against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexlai97%2Fsnake-rust" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexlai97/snake-rust on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/alexlai97/snake-rust [INFO] finished tweaking git repo https://github.com/alexlai97/snake-rust [INFO] tweaked toml for git repo https://github.com/alexlai97/snake-rust written to work/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/alexlai97/snake-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] e5792310f5df41cd12f706da8955809bba54042172a4bbdbccda9019f2bf4bf3 [INFO] running `"docker" "start" "-a" "e5792310f5df41cd12f706da8955809bba54042172a4bbdbccda9019f2bf4bf3"` [INFO] [stderr] Compiling ncurses v5.98.0 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling rand_os v0.1.0 [INFO] [stderr] Compiling snake-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variant `Snake_body` should have an upper camel case name [INFO] [stderr] --> src/game.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | Snake_body, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakeBody` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:34:73 [INFO] [stderr] | [INFO] [stderr] 34 | mvwaddch(* self.curwin, self.head_y as i32, self.head_x as i32, '@' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('@' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:43:73 [INFO] [stderr] | [INFO] [stderr] 43 | mvwaddch(* self.curwin, self.head_y as i32, self.head_x as i32, '.' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('.' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:52:73 [INFO] [stderr] | [INFO] [stderr] 52 | mvwaddch(* self.curwin, self.head_y as i32, self.head_x as i32, '.' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('.' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:61:73 [INFO] [stderr] | [INFO] [stderr] 61 | mvwaddch(* self.curwin, self.head_y as i32, self.head_x as i32, '.' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('.' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:72:73 [INFO] [stderr] | [INFO] [stderr] 72 | mvwaddch(* self.curwin, self.head_y as i32, self.head_x as i32, '.' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('.' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:122:63 [INFO] [stderr] | [INFO] [stderr] 122 | mvwaddch(self.board_win, cell.0 as i32, cell.1 as i32, ch as u32); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `(ch as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:126:30 [INFO] [stderr] | [INFO] [stderr] 126 | box_(self.board_win, '|' as u32, '-' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('|' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:126:42 [INFO] [stderr] | [INFO] [stderr] 126 | box_(self.board_win, '|' as u32, '-' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('-' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:150:30 [INFO] [stderr] | [INFO] [stderr] 150 | box_(self.pause_win, '*' as u32, '*' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('*' as u32).into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:150:42 [INFO] [stderr] | [INFO] [stderr] 150 | box_(self.pause_win, '*' as u32, '*' as u32); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected u64, found u32 [INFO] [stderr] | help: you can convert an `u32` to `u64`: `('*' as u32).into()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `snake-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e5792310f5df41cd12f706da8955809bba54042172a4bbdbccda9019f2bf4bf3"` [INFO] running `"docker" "rm" "-f" "e5792310f5df41cd12f706da8955809bba54042172a4bbdbccda9019f2bf4bf3"` [INFO] [stdout] e5792310f5df41cd12f706da8955809bba54042172a4bbdbccda9019f2bf4bf3