[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 try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liegia/roguelike-rs on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-5-tc2/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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e610f1bd9a0af28f0fae233446fc67d5b3dc1eef0ece3f0ed81c28b235855eb2 [INFO] running `Command { std: "docker" "start" "-a" "e610f1bd9a0af28f0fae233446fc67d5b3dc1eef0ece3f0ed81c28b235855eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e610f1bd9a0af28f0fae233446fc67d5b3dc1eef0ece3f0ed81c28b235855eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e610f1bd9a0af28f0fae233446fc67d5b3dc1eef0ece3f0ed81c28b235855eb2", kill_on_drop: false }` [INFO] [stdout] e610f1bd9a0af28f0fae233446fc67d5b3dc1eef0ece3f0ed81c28b235855eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef59a9029a935a53444b14342a2163c2b227148fd3bd22e7eb08a7fc35b3dc9a [INFO] running `Command { std: "docker" "start" "-a" "ef59a9029a935a53444b14342a2163c2b227148fd3bd22e7eb08a7fc35b3dc9a", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [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: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: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 `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, player); [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, player); [INFO] [stdout] 130 + let exit = handle_keys(&mut tcod, /* &mut i32 */, /* &mut i32 */); [INFO] [stdout] | [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] 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 7 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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ef59a9029a935a53444b14342a2163c2b227148fd3bd22e7eb08a7fc35b3dc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef59a9029a935a53444b14342a2163c2b227148fd3bd22e7eb08a7fc35b3dc9a", kill_on_drop: false }` [INFO] [stdout] ef59a9029a935a53444b14342a2163c2b227148fd3bd22e7eb08a7fc35b3dc9a