[INFO] cloning repository https://github.com/DonoA/RustAutoSnake [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 14c7b9cf87a61e69209b485b15d8d6a219cd3f87 [INFO] testing DonoA/RustAutoSnake against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DonoA/RustAutoSnake on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/DonoA/RustAutoSnake already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a45bebb8cca2c400c070bc7a065ada364f93decf860a1a125f056f80ad5910f [INFO] running `"docker" "start" "-a" "5a45bebb8cca2c400c070bc7a065ada364f93decf860a1a125f056f80ad5910f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | thread::sleep_ms(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:12:46 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_snake_seg(curr: &Direction, next: Option<&Direction>) -> u64 { [INFO] [stderr] | --- expected `u64` because of return type [INFO] [stderr] ... [INFO] [stderr] 12 | Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `u64`, found `u32` [INFO] [stderr] | help: you can convert an `u32` to `u64`: `ncurses::ACS_ULCORNER().into()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/snake.rs:76:58 [INFO] [stderr] | [INFO] [stderr] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print, 1); [INFO] [stderr] | ^^^^^^^^ expected `u32`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 76 | ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print.try_into().unwrap(), 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rust_snake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5a45bebb8cca2c400c070bc7a065ada364f93decf860a1a125f056f80ad5910f"` [INFO] running `"docker" "rm" "-f" "5a45bebb8cca2c400c070bc7a065ada364f93decf860a1a125f056f80ad5910f"` [INFO] [stdout] 5a45bebb8cca2c400c070bc7a065ada364f93decf860a1a125f056f80ad5910f