[INFO] cloning repository https://github.com/ngraham20/rust-roguelike [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngraham20/rust-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f9b4e87894129a99fe52d868232677062e71adf4 [INFO] checking ngraham20/rust-roguelike against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ngraham20/rust-roguelike on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ngraham20/rust-roguelike [INFO] finished tweaking git repo https://github.com/ngraham20/rust-roguelike [INFO] tweaked toml for git repo https://github.com/ngraham20/rust-roguelike written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ngraham20/rust-roguelike already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b6d98f58dd0c93b3822e13b019c3f5a050fefb7bc2e36ce84ebcc84b740771ce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "b6d98f58dd0c93b3822e13b019c3f5a050fefb7bc2e36ce84ebcc84b740771ce"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `crate::map::Game` [INFO] [stderr] --> src/user_input.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::map::Game; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Game` in `map` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Map` in this scope [INFO] [stderr] --> src/game.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | pub map: Map, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::iter::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use crate::map::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use std::iter::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use tcod::Map; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Messages` in this scope [INFO] [stderr] --> src/game.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | pub messages: Messages, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::screen::Messages; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stderr] --> src/main.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | let mut game = Game { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use crate::game::Game; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `Key`, `self` [INFO] [stderr] --> src/user_input.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Key` is imported redundantly [INFO] [stderr] --> src/user_input.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stderr] | --- the item `Key` is already imported here [INFO] [stderr] ... [INFO] [stderr] 30 | use tcod::input::Key; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::screen::Messages` [INFO] [stderr] --> src/map.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::screen::Messages; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::map::Game` [INFO] [stderr] --> src/user_input.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::map::Game; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Game` in `map` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/screen.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | let bar_width = (value as f32 / maximum as f32 * total_width as f32) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Map` in this scope [INFO] [stderr] --> src/game.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | pub map: Map, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::iter::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use crate::map::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use std::iter::Map; [INFO] [stderr] | [INFO] [stderr] 1 | use tcod::Map; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Messages` in this scope [INFO] [stderr] --> src/game.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | pub messages: Messages, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::screen::Messages; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stderr] --> src/main.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | let mut game = Game { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use crate::game::Game; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `Key`, `self` [INFO] [stderr] --> src/user_input.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Key` is imported redundantly [INFO] [stderr] --> src/user_input.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stderr] | --- the item `Key` is already imported here [INFO] [stderr] ... [INFO] [stderr] 30 | use tcod::input::Key; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::screen::Messages` [INFO] [stderr] --> src/map.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::screen::Messages; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/object.rs:248:14 [INFO] [stderr] | [INFO] [stderr] 248 | let dx = (dx as f32 / distance).round() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/object.rs:249:14 [INFO] [stderr] | [INFO] [stderr] 249 | let dy = (dy as f32 / distance).round() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `roguelike`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/screen.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | let bar_width = (value as f32 / maximum as f32 * total_width as f32) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/object.rs:248:14 [INFO] [stderr] | [INFO] [stderr] 248 | let dx = (dx as f32 / distance).round() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/object.rs:249:14 [INFO] [stderr] | [INFO] [stderr] 249 | let dy = (dy as f32 / distance).round() as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `roguelike`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b6d98f58dd0c93b3822e13b019c3f5a050fefb7bc2e36ce84ebcc84b740771ce"` [INFO] running `"docker" "rm" "-f" "b6d98f58dd0c93b3822e13b019c3f5a050fefb7bc2e36ce84ebcc84b740771ce"` [INFO] [stdout] b6d98f58dd0c93b3822e13b019c3f5a050fefb7bc2e36ce84ebcc84b740771ce