[INFO] cloning repository https://github.com/ngraham20/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/ngraham20/rust-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9b4e87894129a99fe52d868232677062e71adf4 [INFO] checking ngraham20/rust-roguelike against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngraham20%2Frust-roguelike" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ngraham20/rust-roguelike on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/ngraham20/rust-roguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e91782794dab03c392586f3e8e4d277311d01a9fc8ee8d920c9cd26b90ea6b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e91782794dab03c392586f3e8e4d277311d01a9fc8ee8d920c9cd26b90ea6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e91782794dab03c392586f3e8e4d277311d01a9fc8ee8d920c9cd26b90ea6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e91782794dab03c392586f3e8e4d277311d01a9fc8ee8d920c9cd26b90ea6b8", kill_on_drop: false }` [INFO] [stdout] 6e91782794dab03c392586f3e8e4d277311d01a9fc8ee8d920c9cd26b90ea6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f27a3c0e9ec78700f7e2c5f418da9edf7a77febae3ab9397ca853b5b6807f6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d2f27a3c0e9ec78700f7e2c5f418da9edf7a77febae3ab9397ca853b5b6807f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking bitflags v0.1.1 [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] [stdout] error[E0432]: unresolved import `crate::map::Game` [INFO] [stdout] --> src/user_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::map::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Game` in `map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/game.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub map: Map, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use tcod::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Messages` in this scope [INFO] [stdout] --> src/game.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub messages: Messages, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Messages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/main.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let mut game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::game::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Key`, `self` [INFO] [stdout] --> src/user_input.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Key` is imported redundantly [INFO] [stdout] --> src/user_input.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | --- the item `Key` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use tcod::input::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::screen::Messages` [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::screen::Messages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::map::Game` [INFO] [stdout] --> src/user_input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::map::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Game` in `map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/game.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub map: Map, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use tcod::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Messages` in this scope [INFO] [stdout] --> src/game.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub messages: Messages, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Messages; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/main.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let mut game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use crate::game::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Key`, `self` [INFO] [stdout] --> src/user_input.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Key` is imported redundantly [INFO] [stdout] --> src/user_input.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | --- the item `Key` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | use tcod::input::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::screen::Messages` [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::screen::Messages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d2f27a3c0e9ec78700f7e2c5f418da9edf7a77febae3ab9397ca853b5b6807f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f27a3c0e9ec78700f7e2c5f418da9edf7a77febae3ab9397ca853b5b6807f6", kill_on_drop: false }` [INFO] [stdout] d2f27a3c0e9ec78700f7e2c5f418da9edf7a77febae3ab9397ca853b5b6807f6