[INFO] updating cached repository https://github.com/LeelooE/Tetris [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] baeabb3adcb33d27849da13403e978c7d11a2443 [INFO] testing LeelooE/Tetris against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeelooE%2FTetris" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeelooE/Tetris 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/LeelooE/Tetris [INFO] finished tweaking git repo https://github.com/LeelooE/Tetris [INFO] tweaked toml for git repo https://github.com/LeelooE/Tetris written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/LeelooE/Tetris 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 8a777b90099eb7d405e238c59bd45460755ff4e00e4efe71c15235862695b9ad [INFO] running `"docker" "start" "-a" "8a777b90099eb7d405e238c59bd45460755ff4e00e4efe71c15235862695b9ad"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `as` for integer literal [INFO] [stderr] --> src/main.rs:196:53 [INFO] [stderr] | [INFO] [stderr] 196 | let window = video_subsystem.window("Tetris", 160, 224as) [INFO] [stderr] | ^^^^^ invalid suffix `as` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected token: `,` [INFO] [stderr] --> src/main.rs:228:38 [INFO] [stderr] | [INFO] [stderr] 228 | println!("Let the game begin! {}," input); [INFO] [stderr] | ^^^^^ expected `,` [INFO] [stderr] [INFO] [stderr] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stderr] --> src/main.rs:227:6 [INFO] [stderr] | [INFO] [stderr] 227 | io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input"); [INFO] [stderr] | ^^^^^^^^^ only `Fn` traits may use parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread` [INFO] [stderr] --> src/main.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uniform` [INFO] [stderr] --> src/main.rs:14:51 [INFO] [stderr] | [INFO] [stderr] 14 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_line` found for fn item `fn() -> std::io::Stdin {std::io::stdin}` in the current scope [INFO] [stderr] --> src/main.rs:227:16 [INFO] [stderr] | [INFO] [stderr] 227 | io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input"); [INFO] [stderr] | ^^^^^^^^^ method not found in `fn() -> std::io::Stdin {std::io::stdin}` [INFO] [stderr] | [INFO] [stderr] = note: `io::stdin::()` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:254:17 [INFO] [stderr] | [INFO] [stderr] 254 | map.remove(y); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected `&{integer}`, found `i32` [INFO] [stderr] | help: consider borrowing here: `&y` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:267:18 [INFO] [stderr] | [INFO] [stderr] 267 | map.remove(y); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found `i32` [INFO] [stderr] | help: consider borrowing here: `&y` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:280:18 [INFO] [stderr] | [INFO] [stderr] 280 | map.remove(y); [INFO] [stderr] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found `i32` [INFO] [stderr] | help: consider borrowing here: `&y` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::io::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0214, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0214`. [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a777b90099eb7d405e238c59bd45460755ff4e00e4efe71c15235862695b9ad"` [INFO] running `"docker" "rm" "-f" "8a777b90099eb7d405e238c59bd45460755ff4e00e4efe71c15235862695b9ad"` [INFO] [stdout] 8a777b90099eb7d405e238c59bd45460755ff4e00e4efe71c15235862695b9ad