[INFO] updating cached repository https://github.com/LeelooE/Tetris [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] baeabb3adcb33d27849da13403e978c7d11a2443 [INFO] testing LeelooE/Tetris against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeelooE%2FTetris" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeelooE/Tetris on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/LeelooE/Tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 3ed80bd1e8948fc0b342458a800094fc9d1a80003beaeb7313100c5adaed817d [INFO] running `Command { std: "docker" "start" "-a" "3ed80bd1e8948fc0b342458a800094fc9d1a80003beaeb7313100c5adaed817d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ed80bd1e8948fc0b342458a800094fc9d1a80003beaeb7313100c5adaed817d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed80bd1e8948fc0b342458a800094fc9d1a80003beaeb7313100c5adaed817d", kill_on_drop: false }` [INFO] [stdout] 3ed80bd1e8948fc0b342458a800094fc9d1a80003beaeb7313100c5adaed817d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3a4dba71a21675ad915d49a97e8c1f68e817a1132c4642f4b22b95d89be160e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a3a4dba71a21675ad915d49a97e8c1f68e817a1132c4642f4b22b95d89be160e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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 c2-chacha v0.2.2 [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] [stdout] error: invalid suffix `as` for integer literal [INFO] [stdout] --> src/main.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | let window = video_subsystem.window("Tetris", 160, 224as) [INFO] [stdout] | ^^^^^ invalid suffix `as` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected token: `,` [INFO] [stdout] --> src/main.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | println!("Let the game begin! {}," input); [INFO] [stdout] | ^^^^^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait [INFO] [stdout] --> src/main.rs:227:6 [INFO] [stdout] | [INFO] [stdout] 227 | io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input"); [INFO] [stdout] | ^^^^^^^^^ only `Fn` traits may use parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uniform` [INFO] [stdout] --> src/main.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_line` found for fn item `fn() -> std::io::Stdin {std::io::stdin}` in the current scope [INFO] [stdout] --> src/main.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input"); [INFO] [stdout] | ^^^^^^^^^ method not found in `fn() -> std::io::Stdin {std::io::stdin}` [INFO] [stdout] | [INFO] [stdout] = note: `io::stdin::()` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | map.remove(y); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&{integer}`, found `i32` [INFO] [stdout] | help: consider borrowing here: `&y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | map.remove(y); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `i32` [INFO] [stdout] | help: consider borrowing here: `&y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | map.remove(y); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&i32`, found `i32` [INFO] [stdout] | help: consider borrowing here: `&y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0214, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0214`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a3a4dba71a21675ad915d49a97e8c1f68e817a1132c4642f4b22b95d89be160e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a4dba71a21675ad915d49a97e8c1f68e817a1132c4642f4b22b95d89be160e", kill_on_drop: false }` [INFO] [stdout] a3a4dba71a21675ad915d49a97e8c1f68e817a1132c4642f4b22b95d89be160e