[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/8aa9f8d493cebffe97b0d332bb030eaaed8bb1a2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liegia/roguelike-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27732da716ea460c35db533b7e1f51f60e810d84a461780b9ba47ab5b273d58d [INFO] running `Command { std: "docker" "start" "-a" "27732da716ea460c35db533b7e1f51f60e810d84a461780b9ba47ab5b273d58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27732da716ea460c35db533b7e1f51f60e810d84a461780b9ba47ab5b273d58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27732da716ea460c35db533b7e1f51f60e810d84a461780b9ba47ab5b273d58d", kill_on_drop: false }` [INFO] [stdout] 27732da716ea460c35db533b7e1f51f60e810d84a461780b9ba47ab5b273d58d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd0a226f5c7c746c27f4a0ad1599e064de92fce4a2c8407e29413d19ea7bb19d [INFO] running `Command { std: "docker" "start" "-a" "dd0a226f5c7c746c27f4a0ad1599e064de92fce4a2c8407e29413d19ea7bb19d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [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: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: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[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] | argument #3 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] | argument #3 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" test) 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") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "dd0a226f5c7c746c27f4a0ad1599e064de92fce4a2c8407e29413d19ea7bb19d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0a226f5c7c746c27f4a0ad1599e064de92fce4a2c8407e29413d19ea7bb19d", kill_on_drop: false }` [INFO] [stdout] dd0a226f5c7c746c27f4a0ad1599e064de92fce4a2c8407e29413d19ea7bb19d