[INFO] cloning repository https://github.com/ViniciusTeodoro/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ViniciusTeodoro/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViniciusTeodoro%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViniciusTeodoro%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90276764d74ad7aee1b52d8bd9137da36af92b02 [INFO] checking ViniciusTeodoro/rust-learning against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FViniciusTeodoro%2Frust-learning" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ViniciusTeodoro/rust-learning on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ViniciusTeodoro/rust-learning [INFO] finished tweaking git repo https://github.com/ViniciusTeodoro/rust-learning [INFO] tweaked toml for git repo https://github.com/ViniciusTeodoro/rust-learning written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ViniciusTeodoro/rust-learning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oboe v0.4.0 [INFO] [stderr] Downloaded rusty_audio v1.2.1 [INFO] [stderr] Downloaded cpal v0.13.2 [INFO] [stderr] Downloaded rusty_time v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52d75c3b0890f20277d410567e6630b36dd26355a5aad5587b2e66aa9ce8442f [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" "52d75c3b0890f20277d410567e6630b36dd26355a5aad5587b2e66aa9ce8442f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52d75c3b0890f20277d410567e6630b36dd26355a5aad5587b2e66aa9ce8442f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d75c3b0890f20277d410567e6630b36dd26355a5aad5587b2e66aa9ce8442f", kill_on_drop: false }` [INFO] [stdout] 52d75c3b0890f20277d410567e6630b36dd26355a5aad5587b2e66aa9ce8442f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--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] 42ab791bb23c61cd5151be4577923c323ce487381c949c8baeccfe01102e0e00 [INFO] running `Command { std: "docker" "start" "-a" "42ab791bb23c61cd5151be4577923c323ce487381c949c8baeccfe01102e0e00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpal v0.13.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking rusty_time v0.11.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking crossterm v0.17.7 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking rodio v0.13.0 [INFO] [stderr] Checking rusty_audio v1.2.1 [INFO] [stderr] Checking invaders v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `str` literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 19 | "gameloop": loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `loop` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': r#loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `loop` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | - ^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a `str` literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 19 | "gameloop": loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `loop` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | ^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': r#loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `loop` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 'gameloop': loop { [INFO] [stdout] | - ^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut stdout = io::stdout(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | terminal::enable_raw_mode()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut stdout = io::stdout(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EnterAlternateScreen` in this scope [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | stdout.execute(EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::terminal::EnterAlternateScreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | terminal::enable_raw_mode()?; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EnterAlternateScreen` in this scope [INFO] [stdout] --> src/main.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | stdout.execute(EnterAlternateScreen)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::terminal::EnterAlternateScreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Hide` in this scope [INFO] [stdout] --> src/main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | stdout.execute(Hide); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::cursor::Hide; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Hide` in this scope [INFO] [stdout] --> src/main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | stdout.execute(Hide); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::cursor::Hide; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `invaders` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "42ab791bb23c61cd5151be4577923c323ce487381c949c8baeccfe01102e0e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ab791bb23c61cd5151be4577923c323ce487381c949c8baeccfe01102e0e00", kill_on_drop: false }` [INFO] [stdout] 42ab791bb23c61cd5151be4577923c323ce487381c949c8baeccfe01102e0e00