[INFO] cloning repository https://github.com/trangmaiq/tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trangmaiq/tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%2Ftetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%2Ftetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 835452e64ce33deacc6fe0e5a166cc9c364d48a9 [INFO] testing trangmaiq/tetris against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrangmaiq%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/trangmaiq/tetris on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trangmaiq/tetris [INFO] finished tweaking git repo https://github.com/trangmaiq/tetris [INFO] tweaked toml for git repo https://github.com/trangmaiq/tetris written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/trangmaiq/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 681feb7f136d4b277e7803f1fc13d743abb5deb9c520580a7fa230f1795a0904 [INFO] running `Command { std: "docker" "start" "-a" "681feb7f136d4b277e7803f1fc13d743abb5deb9c520580a7fa230f1795a0904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "681feb7f136d4b277e7803f1fc13d743abb5deb9c520580a7fa230f1795a0904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681feb7f136d4b277e7803f1fc13d743abb5deb9c520580a7fa230f1795a0904", kill_on_drop: false }` [INFO] [stdout] 681feb7f136d4b277e7803f1fc13d743abb5deb9c520580a7fa230f1795a0904 [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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 96f857b323a2e316c7053f075d1d00d499afff134c4f050650eb7fe7999e7c5b [INFO] running `Command { std: "docker" "start" "-a" "96f857b323a2e316c7053f075d1d00d499afff134c4f050650eb7fe7999e7c5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling tetris v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 43 | impl Tetris { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 166 | .create_texture_target(None, size, size) { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 177 | } else { None } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 247 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_square_texture_rect` in this scope [INFO] [stdout] --> src/main.rs:94:44 [INFO] [stdout] | [INFO] [stdout] 94 | let blue_square_texture: Texture = create_square_texture_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_square_texture_rect` in this scope [INFO] [stdout] --> src/main.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | let green_square_texture: Texture = create_square_texture_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `slice_to_string` in this scope [INFO] [stdout] --> src/main.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | let s_highscores = slice_to_string(highscores); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `slice_to_string` in this scope [INFO] [stdout] --> src/main.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | let s_number_of_lines = slice_to_string(number_of_lines); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_into_file` in this scope [INFO] [stdout] --> src/main.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | write_into_file(format!("{}\n{}\n", s_highscores, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_from_file` in this scope [INFO] [stdout] --> src/main.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | if let Ok(content) = read_from_file("scores.txt") { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line_to_slice` in this scope [INFO] [stdout] --> src/main.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | line_to_slice(line)).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::version::version` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use sdl2::version::version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris` due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96f857b323a2e316c7053f075d1d00d499afff134c4f050650eb7fe7999e7c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f857b323a2e316c7053f075d1d00d499afff134c4f050650eb7fe7999e7c5b", kill_on_drop: false }` [INFO] [stdout] 96f857b323a2e316c7053f075d1d00d499afff134c4f050650eb7fe7999e7c5b