[INFO] cloning repository https://github.com/Liegia/roguelike-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Liegia/roguelike-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aa9f8d493cebffe97b0d332bb030eaaed8bb1a2 [INFO] checking Liegia/roguelike-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liegia/roguelike-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Liegia/roguelike-rs [INFO] finished tweaking git repo https://github.com/Liegia/roguelike-rs [INFO] tweaked toml for git repo https://github.com/Liegia/roguelike-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Liegia/roguelike-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5588591ae893ef1b38a30c3fde32f6f584ba45108bb817cb12de1742b55fbcc [INFO] running `Command { std: "docker" "start" "-a" "e5588591ae893ef1b38a30c3fde32f6f584ba45108bb817cb12de1742b55fbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5588591ae893ef1b38a30c3fde32f6f584ba45108bb817cb12de1742b55fbcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5588591ae893ef1b38a30c3fde32f6f584ba45108bb817cb12de1742b55fbcc", kill_on_drop: false }` [INFO] [stdout] e5588591ae893ef1b38a30c3fde32f6f584ba45108bb817cb12de1742b55fbcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff4d71b5964cc6340c9626a9748044484521ee8339c34f312b057177150b65d [INFO] running `Command { std: "docker" "start" "-a" "7ff4d71b5964cc6340c9626a9748044484521ee8339c34f312b057177150b65d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking roguelike-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | tcod.con.clear() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 104 | for object in &objects { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | tcod.con.clear() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 104 | for object in &objects { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | Key { code: Up, .. } => player.move_by(0, -1), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | Key { code: Down, .. } => player.move_by(0, 1), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | Key { code: Left, .. } => player.move_by(-1, 0), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | Key { code: Right, .. } => player.move_by(1, 0), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | Key { code: Up, .. } => player.move_by(0, -1), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tocd` in this scope [INFO] [stdout] --> src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | object.draw(&mut tocd.con); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | Key { code: Down, .. } => player.move_by(0, 1), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | Key { code: Left, .. } => player.move_by(-1, 0), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `player` in this scope [INFO] [stdout] --> src/main.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | Key { code: Right, .. } => player.move_by(1, 0), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `player_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tocd` in this scope [INFO] [stdout] --> src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | object.draw(&mut tocd.con); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `tcod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let exit = handle_keys(&mut tcod, player); [INFO] [stdout] | ^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `&mut i32`, found `&mut Object` [INFO] [stdout] | an argument of type `&mut i32` is missing [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut i32` [INFO] [stdout] found mutable reference `&mut Object` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_keys(tcod: &mut Tcod, player_x: &mut i32, player_y: &mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ --------------- ------------------ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 130 | let exit = handle_keys(&mut tcod, /* &mut i32 */, /* &mut i32 */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let exit = handle_keys(&mut tcod, player); [INFO] [stdout] | ^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `&mut i32`, found `&mut Object` [INFO] [stdout] | an argument of type `&mut i32` is missing [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut i32` [INFO] [stdout] found mutable reference `&mut Object` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_keys(tcod: &mut Tcod, player_x: &mut i32, player_y: &mut i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ --------------- ------------------ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 130 | let exit = handle_keys(&mut tcod, /* &mut i32 */, /* &mut i32 */); [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: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roguelike-rs` (bin "roguelike-rs") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `roguelike-rs` (bin "roguelike-rs" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "7ff4d71b5964cc6340c9626a9748044484521ee8339c34f312b057177150b65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff4d71b5964cc6340c9626a9748044484521ee8339c34f312b057177150b65d", kill_on_drop: false }` [INFO] [stdout] 7ff4d71b5964cc6340c9626a9748044484521ee8339c34f312b057177150b65d