[INFO] cloning repository https://github.com/chrisrhayden/rust_roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisrhayden/rust_roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisrhayden%2Frust_roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisrhayden%2Frust_roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ac56c4f7836918153ba65fe64a1d6f97d3a6dda [INFO] checking chrisrhayden/rust_roguelike against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisrhayden%2Frust_roguelike" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chrisrhayden/rust_roguelike [INFO] finished tweaking git repo https://github.com/chrisrhayden/rust_roguelike [INFO] tweaked toml for git repo https://github.com/chrisrhayden/rust_roguelike written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chrisrhayden/rust_roguelike on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chrisrhayden/rust_roguelike 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6220cb488b2a63db7b9cd01dcd942ed6228ba3ca41188c368815e996120684e8 [INFO] running `Command { std: "docker" "start" "-a" "6220cb488b2a63db7b9cd01dcd942ed6228ba3ca41188c368815e996120684e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6220cb488b2a63db7b9cd01dcd942ed6228ba3ca41188c368815e996120684e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6220cb488b2a63db7b9cd01dcd942ed6228ba3ca41188c368815e996120684e8", kill_on_drop: false }` [INFO] [stdout] 6220cb488b2a63db7b9cd01dcd942ed6228ba3ca41188c368815e996120684e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f18413207dc80e80c0cf62e7a03ff9e92b7bff8f356d7586454c9f33687f32fd [INFO] running `Command { std: "docker" "start" "-a" "f18413207dc80e80c0cf62e7a03ff9e92b7bff8f356d7586454c9f33687f32fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust_roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::game_map` [INFO] [stdout] --> src/astar.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::size::Size, game_map::GameMap}; [INFO] [stdout] | ^^^^^^^^ could not find `game_map` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `En` in this scope [INFO] [stdout] --> src/astar.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | map: &Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/core/src/cmp.rs:337:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 68 - map: &Vec, [INFO] [stdout] 68 + map: &Vec, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | pub fn astar( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let max_iter = game_map.map_info.total_count / 2; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let map_len = game_map.render_map.len() as isize; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | + (game_map.map_info.column_count as isize * node_position.1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | if game_map.render_map[node_index as usize].ent_size [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::size::Size` [INFO] [stdout] --> src/astar.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::size::Size, game_map::GameMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntitySize` [INFO] [stdout] --> src/astar.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | < EntitySize::Medium [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntitySize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::game_map` [INFO] [stdout] --> src/astar.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::size::Size, game_map::GameMap}; [INFO] [stdout] | ^^^^^^^^ could not find `game_map` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/system/player.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut player = store.repr.get_mut(&player_id).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_roguelike` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `En` in this scope [INFO] [stdout] --> src/astar.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | map: &Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/8384de5d92dd9b1c0b67caa5c1c1b11bf606490f/library/core/src/cmp.rs:337:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 68 - map: &Vec, [INFO] [stdout] 68 + map: &Vec, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | pub fn astar( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let max_iter = game_map.map_info.total_count / 2; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let map_len = game_map.render_map.len() as isize; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | + (game_map.map_info.column_count as isize * node_position.1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game_map` in this scope [INFO] [stdout] --> src/astar.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | if game_map.render_map[node_index as usize].ent_size [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::size::Size` [INFO] [stdout] --> src/astar.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::size::Size, game_map::GameMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntitySize` [INFO] [stdout] --> src/astar.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | < EntitySize::Medium [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntitySize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/system/player.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut player = store.repr.get_mut(&player_id).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_roguelike` (lib test) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f18413207dc80e80c0cf62e7a03ff9e92b7bff8f356d7586454c9f33687f32fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18413207dc80e80c0cf62e7a03ff9e92b7bff8f356d7586454c9f33687f32fd", kill_on_drop: false }` [INFO] [stdout] f18413207dc80e80c0cf62e7a03ff9e92b7bff8f356d7586454c9f33687f32fd