[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiegia%2Froguelike-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Liegia/roguelike-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-10/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d81b69f50d9a99dbae845c8302b607e4d645952ea6cf8ddba2f21d8a64282090 [INFO] running `Command { std: "docker" "start" "-a" "d81b69f50d9a99dbae845c8302b607e4d645952ea6cf8ddba2f21d8a64282090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d81b69f50d9a99dbae845c8302b607e4d645952ea6cf8ddba2f21d8a64282090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81b69f50d9a99dbae845c8302b607e4d645952ea6cf8ddba2f21d8a64282090", kill_on_drop: false }` [INFO] [stdout] d81b69f50d9a99dbae845c8302b607e4d645952ea6cf8ddba2f21d8a64282090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c881038a443df207d1d94284c39611697178bdb774e441f317b8d4c0e0d0da24 [INFO] running `Command { std: "docker" "start" "-a" "c881038a443df207d1d94284c39611697178bdb774e441f317b8d4c0e0d0da24", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking roguelike-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^^^ --------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [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] [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` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^ not found in this scope [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] | ^^^^^^^^^^^ --------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [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] [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c881038a443df207d1d94284c39611697178bdb774e441f317b8d4c0e0d0da24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c881038a443df207d1d94284c39611697178bdb774e441f317b8d4c0e0d0da24", kill_on_drop: false }` [INFO] [stdout] c881038a443df207d1d94284c39611697178bdb774e441f317b8d4c0e0d0da24