[INFO] updating cached repository https://github.com/stisol/rustlike
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 66402813455ef852c59fd71410e7931f89d79bfc
[INFO] checking stisol/rustlike against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstisol%2Frustlike" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/stisol/rustlike on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/stisol/rustlike
[INFO] finished tweaking git repo https://github.com/stisol/rustlike
[INFO] tweaked toml for git repo https://github.com/stisol/rustlike written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/stisol/rustlike already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 43e3df3900f29324894a5833be6aff0ebbc5cbf318ff815c082c772a3e144798
[INFO] running `"docker" "start" "-a" "43e3df3900f29324894a5833be6aff0ebbc5cbf318ff815c082c772a3e144798"`
[INFO] [stderr]    Compiling cc v1.0.7
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num-integer v0.1.36
[INFO] [stderr]    Compiling proc-macro2 v0.2.3
[INFO] [stderr]     Checking stb_truetype v0.2.2
[INFO] [stderr]     Checking serde_json v1.0.11
[INFO] [stderr]     Checking crossbeam-epoch v0.3.0
[INFO] [stderr]    Compiling gl_generator v0.8.0
[INFO] [stderr]     Checking ordered-float v0.5.0
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.35
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling quote v0.4.2
[INFO] [stderr]     Checking rusttype v0.4.1
[INFO] [stderr]     Checking png v0.11.0
[INFO] [stderr]     Checking rayon-core v1.4.0
[INFO] [stderr]    Compiling syn v0.12.14
[INFO] [stderr]     Checking piston2d-graphics v0.26.0
[INFO] [stderr]    Compiling glutin v0.12.2
[INFO] [stderr]     Checking rayon v1.0.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking wayland-sys v0.12.5
[INFO] [stderr]    Compiling serde_derive_internals v0.21.0
[INFO] [stderr]     Checking wayland-client v0.12.5
[INFO] [stderr]     Checking jpeg-decoder v0.1.14
[INFO] [stderr]    Compiling serde_derive v1.0.33
[INFO] [stderr]     Checking wayland-protocols v0.12.5
[INFO] [stderr]     Checking wayland-kbd v0.13.1
[INFO] [stderr]     Checking image v0.18.0
[INFO] [stderr]     Checking wayland-window v0.13.2
[INFO] [stderr]     Checking winit v0.10.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.52.0
[INFO] [stderr]     Checking pistoncore-input v0.20.0
[INFO] [stderr]     Checking pistoncore-window v0.31.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.36.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.45.3
[INFO] [stderr]     Checking piston v0.36.0
[INFO] [stderr]     Checking rustlike v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `ui`?
[INFO] [stderr]    --> src/item.rs:266:9
[INFO] [stderr]     |
[INFO] [stderr] 266 |     use ui::input::KeyCode::Escape;
[INFO] [stderr]     |         ^^ maybe a missing crate `ui`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:105:9
[INFO] [stderr]     |
[INFO] [stderr] 105 |         colors::WHITE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:181:65
[INFO] [stderr]     |
[INFO] [stderr] 181 |                     let mut orc = Object::new(x, y, 'o', "orc", colors::DESATURATED_GREEN, true);
[INFO] [stderr]     |                                                                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:194:69
[INFO] [stderr]     |
[INFO] [stderr] 194 |                     let mut troll = Object::new(x, y, 'T', "troll", colors::DARKER_GREEN, true);
[INFO] [stderr]     |                                                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:291:66
[INFO] [stderr]     |
[INFO] [stderr] 291 |                         Object::new(x, y, '!', "healing potion", colors::VIOLET, false);
[INFO] [stderr]     |                                                                  ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:301:25
[INFO] [stderr]     |
[INFO] [stderr] 301 |                         colors::LIGHT_YELLOW,
[INFO] [stderr]     |                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:309:70
[INFO] [stderr]     |
[INFO] [stderr] 309 |                         Object::new(x, y, '#', "scroll of fireball", colors::LIGHT_YELLOW, false);
[INFO] [stderr]     |                                                                      ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:319:25
[INFO] [stderr]     |
[INFO] [stderr] 319 |                         colors::LIGHT_YELLOW,
[INFO] [stderr]     |                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:326:70
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     let mut object = Object::new(x, y, '/', "sword", colors::SKY, false);
[INFO] [stderr]     |                                                                      ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:338:71
[INFO] [stderr]     |
[INFO] [stderr] 338 |                     let mut object = Object::new(x, y, '[', "shield", colors::DARKER_ORANGE, false);
[INFO] [stderr]     |                                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/object.rs:78:49
[INFO] [stderr]    |
[INFO] [stderr] 78 |         con.put_char(self.x, self.y, self.char, BackgroundFlag::None);
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/object.rs:82:43
[INFO] [stderr]    |
[INFO] [stderr] 82 |         con.put_char(self.x, self.y, ' ', BackgroundFlag::None);
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:124:17
[INFO] [stderr]     |
[INFO] [stderr] 124 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:135:17
[INFO] [stderr]     |
[INFO] [stderr] 135 |                 colors::WHITE,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:158:17
[INFO] [stderr]     |
[INFO] [stderr] 158 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:167:21
[INFO] [stderr]     |
[INFO] [stderr] 167 |                     colors::LIGHT_GREEN,
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:173:17
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:182:17
[INFO] [stderr]     |
[INFO] [stderr] 182 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:191:21
[INFO] [stderr]     |
[INFO] [stderr] 191 |                     colors::LIGHT_YELLOW,
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:337:13
[INFO] [stderr]     |
[INFO] [stderr] 337 |             colors::RED,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:357:26
[INFO] [stderr]     |
[INFO] [stderr] 357 |     log.add("You died!", colors::RED);
[INFO] [stderr]     |                          ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:359:20
[INFO] [stderr]     |
[INFO] [stderr] 359 |     player.color = colors::DARK_RED;
[INFO] [stderr]     |                    ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:369:9
[INFO] [stderr]     |
[INFO] [stderr] 369 |         colors::ORANGE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:372:21
[INFO] [stderr]     |
[INFO] [stderr] 372 |     monster.color = colors::DARK_RED;
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/renderer.rs:45:59
[INFO] [stderr]    |
[INFO] [stderr] 45 |                         .set_char_background(x, y, color, BackgroundFlag::Set);
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/renderer.rs:73:37
[INFO] [stderr]    |
[INFO] [stderr] 73 |     ui.panel.set_default_background(colors::BLACK);
[INFO] [stderr]    |                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/renderer.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |         colors::LIGHT_RED,
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:100:9
[INFO] [stderr]     |
[INFO] [stderr] 100 |         colors::DARKER_RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:112:37
[INFO] [stderr]     |
[INFO] [stderr] 112 |     ui.panel.set_default_foreground(colors::LIGHT_GREY);
[INFO] [stderr]     |                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 116 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:148:45
[INFO] [stderr]     |
[INFO] [stderr] 148 |     panel.rect(x, y, total_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:153:47
[INFO] [stderr]     |
[INFO] [stderr] 153 |         panel.rect(x, y, bar_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:157:34
[INFO] [stderr]     |
[INFO] [stderr] 157 |     panel.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |                                  ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:161:9
[INFO] [stderr]     |
[INFO] [stderr] 161 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:162:9
[INFO] [stderr]     |
[INFO] [stderr] 162 |         TextAlignment::Center,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:197:35
[INFO] [stderr]     |
[INFO] [stderr] 197 |     window.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |                                   ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:204:9
[INFO] [stderr]     |
[INFO] [stderr] 204 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:214:13
[INFO] [stderr]     |
[INFO] [stderr] 214 |             BackgroundFlag::None,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:215:13
[INFO] [stderr]     |
[INFO] [stderr] 215 |             TextAlignment::Left,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:63:13
[INFO] [stderr]    |
[INFO] [stderr] 63 |             colors::RED,
[INFO] [stderr]    |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:68:61
[INFO] [stderr]    |
[INFO] [stderr] 68 |             .add(format!("You picked up a {}!", item.name), colors::GREEN);
[INFO] [stderr]    |                                                             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:89:55
[INFO] [stderr]    |
[INFO] [stderr] 89 |         .add(format!("You dropped a {}.", item.name), colors::YELLOW);
[INFO] [stderr]    |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:109:63
[INFO] [stderr]     |
[INFO] [stderr] 109 |             UseResult::Cancelled => game.log.add("Cancelled", colors::WHITE),
[INFO] [stderr]     |                                                               ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:114:13
[INFO] [stderr]     |
[INFO] [stderr] 114 |             colors::WHITE,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:128:61
[INFO] [stderr]     |
[INFO] [stderr] 128 |             game.log.add("You are already at full health.", colors::RED);
[INFO] [stderr]     |                                                             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:132:55
[INFO] [stderr]     |
[INFO] [stderr] 132 |             .add("Your wounds start to feel better!", colors::LIGHT_VIOLET);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |             colors::LIGHT_BLUE,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:161:57
[INFO] [stderr]     |
[INFO] [stderr] 161 |             .add("No enemy is close enough to strike.", colors::RED);
[INFO] [stderr]     |                                                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:174:9
[INFO] [stderr]     |
[INFO] [stderr] 174 |         colors::LIGHT_CYAN,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:188:13
[INFO] [stderr]     |
[INFO] [stderr] 188 |             colors::LIGHT_GREEN,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:193:57
[INFO] [stderr]     |
[INFO] [stderr] 193 |             .add("No enemy is close enough to strike.", colors::RED);
[INFO] [stderr]     |                                                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:206:9
[INFO] [stderr]     |
[INFO] [stderr] 206 |         colors::LIGHT_CYAN,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:217:9
[INFO] [stderr]     |
[INFO] [stderr] 217 |         colors::ORANGE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:228:17
[INFO] [stderr]     |
[INFO] [stderr] 228 |                 colors::ORANGE,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:21
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                     ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:44
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                                            ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:63
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                                                               ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FontLayout`
[INFO] [stderr]   --> src/main.rs:59:33
[INFO] [stderr]    |
[INFO] [stderr] 59 |         .font("arial10x10.png", FontLayout::Ui)
[INFO] [stderr]    |                                 ^^^^^^^^^^ use of undeclared type or module `FontLayout`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FontType`
[INFO] [stderr]   --> src/main.rs:60:20
[INFO] [stderr]    |
[INFO] [stderr] 60 |         .font_type(FontType::Greyscale)
[INFO] [stderr]    |                    ^^^^^^^^ use of undeclared type or module `FontType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ui`
[INFO] [stderr]   --> src/main.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 64 |     ui::system::set_fps(LIMIT_FPS);
[INFO] [stderr]    |     ^^ use of undeclared type or module `ui`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/main.rs:78:40
[INFO] [stderr]    |
[INFO] [stderr] 78 |         ui.root.set_default_foreground(colors::LIGHT_YELLOW);
[INFO] [stderr]    |                                        ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:15
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |               ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:38
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |                                      ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:53
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |                                                     ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:143:55
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let mut player = Object::new(0, 0, '@', "player", colors::WHITE, true);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:163:55
[INFO] [stderr]     |
[INFO] [stderr] 163 |     let mut dagger = Object::new(0, 0, '-', "dagger", colors::SKY, false);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:178:9
[INFO] [stderr]     |
[INFO] [stderr] 178 |         colors::RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:352:9
[INFO] [stderr]     |
[INFO] [stderr] 352 |         colors::VIOLET,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:359:9
[INFO] [stderr]     |
[INFO] [stderr] 359 |         colors::RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:376:13
[INFO] [stderr]     |
[INFO] [stderr] 376 |             colors::YELLOW,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]   --> src/renderer.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 |     blit(
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]    --> src/renderer.rs:121:5
[INFO] [stderr]     |
[INFO] [stderr] 121 |     blit(
[INFO] [stderr]     |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Mouse` in this scope
[INFO] [stderr]    --> src/renderer.rs:167:33
[INFO] [stderr]     |
[INFO] [stderr] 167 | fn get_names_under_mouse(mouse: Mouse, objects: &[Object], fov: &Fov) -> String {
[INFO] [stderr]     |                                 ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: there is an enum variant `piston::input::Button::Mouse`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 167 | fn get_names_under_mouse(mouse: piston::input::Button, objects: &[Object], fov: &Fov) -> String {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]    --> src/renderer.rs:222:5
[INFO] [stderr]     |
[INFO] [stderr] 222 |     blit(
[INFO] [stderr]     |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Escape` in this scope
[INFO] [stderr]    --> src/item.rs:285:54
[INFO] [stderr]     |
[INFO] [stderr] 285 |         let escape = key.map_or(false, |k| k.code == Escape);
[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 piston::input::Key::Escape;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `buffer` in this scope
[INFO] [stderr]   --> src/console.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |             buffer[x + i][y] = (c, color);
[INFO] [stderr]    |             ^^^^^^ help: you might have meant to use the available field: `self.buffer`
[INFO] [stderr] 
[INFO] [stderr] error[E0574]: expected struct, variant or union type, found enum `Key`
[INFO] [stderr]    --> src/main.rs:302:13
[INFO] [stderr]     |
[INFO] [stderr] 302 |             Key {
[INFO] [stderr]     |             ^^^ not a struct, variant or union type
[INFO] [stderr] 
[INFO] [stderr] error[E0574]: expected struct, variant or union type, found enum `Key`
[INFO] [stderr]    --> src/main.rs:313:10
[INFO] [stderr]     |
[INFO] [stderr] 313 |         (Key { code: Escape, .. }, _) => Exit,
[INFO] [stderr]     |          ^^^ not a struct, variant or union type
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `ui`?
[INFO] [stderr]    --> src/item.rs:266:9
[INFO] [stderr]     |
[INFO] [stderr] 266 |     use ui::input::KeyCode::Escape;
[INFO] [stderr]     |         ^^ maybe a missing crate `ui`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:105:9
[INFO] [stderr]     |
[INFO] [stderr] 105 |         colors::WHITE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:181:65
[INFO] [stderr]     |
[INFO] [stderr] 181 |                     let mut orc = Object::new(x, y, 'o', "orc", colors::DESATURATED_GREEN, true);
[INFO] [stderr]     |                                                                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:194:69
[INFO] [stderr]     |
[INFO] [stderr] 194 |                     let mut troll = Object::new(x, y, 'T', "troll", colors::DARKER_GREEN, true);
[INFO] [stderr]     |                                                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:291:66
[INFO] [stderr]     |
[INFO] [stderr] 291 |                         Object::new(x, y, '!', "healing potion", colors::VIOLET, false);
[INFO] [stderr]     |                                                                  ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:301:25
[INFO] [stderr]     |
[INFO] [stderr] 301 |                         colors::LIGHT_YELLOW,
[INFO] [stderr]     |                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:309:70
[INFO] [stderr]     |
[INFO] [stderr] 309 |                         Object::new(x, y, '#', "scroll of fireball", colors::LIGHT_YELLOW, false);
[INFO] [stderr]     |                                                                      ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:319:25
[INFO] [stderr]     |
[INFO] [stderr] 319 |                         colors::LIGHT_YELLOW,
[INFO] [stderr]     |                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:326:70
[INFO] [stderr]     |
[INFO] [stderr] 326 |                     let mut object = Object::new(x, y, '/', "sword", colors::SKY, false);
[INFO] [stderr]     |                                                                      ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/map.rs:338:71
[INFO] [stderr]     |
[INFO] [stderr] 338 |                     let mut object = Object::new(x, y, '[', "shield", colors::DARKER_ORANGE, false);
[INFO] [stderr]     |                                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/object.rs:78:49
[INFO] [stderr]    |
[INFO] [stderr] 78 |         con.put_char(self.x, self.y, self.char, BackgroundFlag::None);
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/object.rs:82:43
[INFO] [stderr]    |
[INFO] [stderr] 82 |         con.put_char(self.x, self.y, ' ', BackgroundFlag::None);
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:124:17
[INFO] [stderr]     |
[INFO] [stderr] 124 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:135:17
[INFO] [stderr]     |
[INFO] [stderr] 135 |                 colors::WHITE,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:158:17
[INFO] [stderr]     |
[INFO] [stderr] 158 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:167:21
[INFO] [stderr]     |
[INFO] [stderr] 167 |                     colors::LIGHT_GREEN,
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:173:17
[INFO] [stderr]     |
[INFO] [stderr] 173 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:182:17
[INFO] [stderr]     |
[INFO] [stderr] 182 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:191:21
[INFO] [stderr]     |
[INFO] [stderr] 191 |                     colors::LIGHT_YELLOW,
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 colors::RED,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:337:13
[INFO] [stderr]     |
[INFO] [stderr] 337 |             colors::RED,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:357:26
[INFO] [stderr]     |
[INFO] [stderr] 357 |     log.add("You died!", colors::RED);
[INFO] [stderr]     |                          ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:359:20
[INFO] [stderr]     |
[INFO] [stderr] 359 |     player.color = colors::DARK_RED;
[INFO] [stderr]     |                    ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:369:9
[INFO] [stderr]     |
[INFO] [stderr] 369 |         colors::ORANGE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/object.rs:372:21
[INFO] [stderr]     |
[INFO] [stderr] 372 |     monster.color = colors::DARK_RED;
[INFO] [stderr]     |                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]   --> src/renderer.rs:45:59
[INFO] [stderr]    |
[INFO] [stderr] 45 |                         .set_char_background(x, y, color, BackgroundFlag::Set);
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/renderer.rs:73:37
[INFO] [stderr]    |
[INFO] [stderr] 73 |     ui.panel.set_default_background(colors::BLACK);
[INFO] [stderr]    |                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/renderer.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |         colors::LIGHT_RED,
[INFO] [stderr]    |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:100:9
[INFO] [stderr]     |
[INFO] [stderr] 100 |         colors::DARKER_RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:112:37
[INFO] [stderr]     |
[INFO] [stderr] 112 |     ui.panel.set_default_foreground(colors::LIGHT_GREY);
[INFO] [stderr]     |                                     ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 116 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:148:45
[INFO] [stderr]     |
[INFO] [stderr] 148 |     panel.rect(x, y, total_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:153:47
[INFO] [stderr]     |
[INFO] [stderr] 153 |         panel.rect(x, y, bar_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:157:34
[INFO] [stderr]     |
[INFO] [stderr] 157 |     panel.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |                                  ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:161:9
[INFO] [stderr]     |
[INFO] [stderr] 161 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:162:9
[INFO] [stderr]     |
[INFO] [stderr] 162 |         TextAlignment::Center,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/renderer.rs:197:35
[INFO] [stderr]     |
[INFO] [stderr] 197 |     window.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |                                   ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:203:9
[INFO] [stderr]     |
[INFO] [stderr] 203 |         BackgroundFlag::None,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:204:9
[INFO] [stderr]     |
[INFO] [stderr] 204 |         TextAlignment::Left,
[INFO] [stderr]     |         ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BackgroundFlag`
[INFO] [stderr]    --> src/renderer.rs:214:13
[INFO] [stderr]     |
[INFO] [stderr] 214 |             BackgroundFlag::None,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `BackgroundFlag`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextAlignment`
[INFO] [stderr]    --> src/renderer.rs:215:13
[INFO] [stderr]     |
[INFO] [stderr] 215 |             TextAlignment::Left,
[INFO] [stderr]     |             ^^^^^^^^^^^^^ use of undeclared type or module `TextAlignment`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:63:13
[INFO] [stderr]    |
[INFO] [stderr] 63 |             colors::RED,
[INFO] [stderr]    |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:68:61
[INFO] [stderr]    |
[INFO] [stderr] 68 |             .add(format!("You picked up a {}!", item.name), colors::GREEN);
[INFO] [stderr]    |                                                             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/item.rs:89:55
[INFO] [stderr]    |
[INFO] [stderr] 89 |         .add(format!("You dropped a {}.", item.name), colors::YELLOW);
[INFO] [stderr]    |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:109:63
[INFO] [stderr]     |
[INFO] [stderr] 109 |             UseResult::Cancelled => game.log.add("Cancelled", colors::WHITE),
[INFO] [stderr]     |                                                               ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:114:13
[INFO] [stderr]     |
[INFO] [stderr] 114 |             colors::WHITE,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:128:61
[INFO] [stderr]     |
[INFO] [stderr] 128 |             game.log.add("You are already at full health.", colors::RED);
[INFO] [stderr]     |                                                             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:132:55
[INFO] [stderr]     |
[INFO] [stderr] 132 |             .add("Your wounds start to feel better!", colors::LIGHT_VIOLET);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |             colors::LIGHT_BLUE,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:161:57
[INFO] [stderr]     |
[INFO] [stderr] 161 |             .add("No enemy is close enough to strike.", colors::RED);
[INFO] [stderr]     |                                                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:174:9
[INFO] [stderr]     |
[INFO] [stderr] 174 |         colors::LIGHT_CYAN,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:188:13
[INFO] [stderr]     |
[INFO] [stderr] 188 |             colors::LIGHT_GREEN,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:193:57
[INFO] [stderr]     |
[INFO] [stderr] 193 |             .add("No enemy is close enough to strike.", colors::RED);
[INFO] [stderr]     |                                                         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:206:9
[INFO] [stderr]     |
[INFO] [stderr] 206 |         colors::LIGHT_CYAN,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:217:9
[INFO] [stderr]     |
[INFO] [stderr] 217 |         colors::ORANGE,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/item.rs:228:17
[INFO] [stderr]     |
[INFO] [stderr] 228 |                 colors::ORANGE,
[INFO] [stderr]     |                 ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:21
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                     ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:44
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                                            ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/item.rs:269:63
[INFO] [stderr]     |
[INFO] [stderr] 269 |         let event = input::check_for_event(input::KEY_PRESS | input::MOUSE).map(|e| e.1);
[INFO] [stderr]     |                                                               ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FontLayout`
[INFO] [stderr]   --> src/main.rs:59:33
[INFO] [stderr]    |
[INFO] [stderr] 59 |         .font("arial10x10.png", FontLayout::Ui)
[INFO] [stderr]    |                                 ^^^^^^^^^^ use of undeclared type or module `FontLayout`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FontType`
[INFO] [stderr]   --> src/main.rs:60:20
[INFO] [stderr]    |
[INFO] [stderr] 60 |         .font_type(FontType::Greyscale)
[INFO] [stderr]    |                    ^^^^^^^^ use of undeclared type or module `FontType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ui`
[INFO] [stderr]   --> src/main.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 64 |     ui::system::set_fps(LIMIT_FPS);
[INFO] [stderr]    |     ^^ use of undeclared type or module `ui`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]   --> src/main.rs:78:40
[INFO] [stderr]    |
[INFO] [stderr] 78 |         ui.root.set_default_foreground(colors::LIGHT_YELLOW);
[INFO] [stderr]    |                                        ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:15
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |               ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:38
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |                                      ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `input`
[INFO] [stderr]    --> src/main.rs:109:53
[INFO] [stderr]     |
[INFO] [stderr] 109 |         match input::check_for_event(input::MOUSE | input::KEY_PRESS) {
[INFO] [stderr]     |                                                     ^^^^^ use of undeclared type or module `input`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:143:55
[INFO] [stderr]     |
[INFO] [stderr] 143 |     let mut player = Object::new(0, 0, '@', "player", colors::WHITE, true);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:163:55
[INFO] [stderr]     |
[INFO] [stderr] 163 |     let mut dagger = Object::new(0, 0, '-', "dagger", colors::SKY, false);
[INFO] [stderr]     |                                                       ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:178:9
[INFO] [stderr]     |
[INFO] [stderr] 178 |         colors::RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:352:9
[INFO] [stderr]     |
[INFO] [stderr] 352 |         colors::VIOLET,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:359:9
[INFO] [stderr]     |
[INFO] [stderr] 359 |         colors::RED,
[INFO] [stderr]     |         ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `colors`
[INFO] [stderr]    --> src/main.rs:376:13
[INFO] [stderr]     |
[INFO] [stderr] 376 |             colors::YELLOW,
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `colors`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]   --> src/renderer.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 63 |     blit(
[INFO] [stderr]    |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]    --> src/renderer.rs:121:5
[INFO] [stderr]     |
[INFO] [stderr] 121 |     blit(
[INFO] [stderr]     |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Mouse` in this scope
[INFO] [stderr]    --> src/renderer.rs:167:33
[INFO] [stderr]     |
[INFO] [stderr] 167 | fn get_names_under_mouse(mouse: Mouse, objects: &[Object], fov: &Fov) -> String {
[INFO] [stderr]     |                                 ^^^^^ not found in this scope
[INFO] [stderr]     |
[INFO] [stderr] help: there is an enum variant `piston::input::Button::Mouse`; try using the variant's enum
[INFO] [stderr]     |
[INFO] [stderr] 167 | fn get_names_under_mouse(mouse: piston::input::Button, objects: &[Object], fov: &Fov) -> String {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `blit` in this scope
[INFO] [stderr]    --> src/renderer.rs:222:5
[INFO] [stderr]     |
[INFO] [stderr] 222 |     blit(
[INFO] [stderr]     |     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Escape` in this scope
[INFO] [stderr]    --> src/item.rs:285:54
[INFO] [stderr]     |
[INFO] [stderr] 285 |         let escape = key.map_or(false, |k| k.code == Escape);
[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 piston::input::Key::Escape;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `buffer` in this scope
[INFO] [stderr]   --> src/console.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |             buffer[x + i][y] = (c, color);
[INFO] [stderr]    |             ^^^^^^ help: you might have meant to use the available field: `self.buffer`
[INFO] [stderr] 
[INFO] [stderr] error[E0574]: expected struct, variant or union type, found enum `Key`
[INFO] [stderr]    --> src/main.rs:302:13
[INFO] [stderr]     |
[INFO] [stderr] 302 |             Key {
[INFO] [stderr]     |             ^^^ not a struct, variant or union type
[INFO] [stderr] 
[INFO] [stderr] error[E0574]: expected struct, variant or union type, found enum `Key`
[INFO] [stderr]    --> src/main.rs:313:10
[INFO] [stderr]     |
[INFO] [stderr] 313 |         (Key { code: Escape, .. }, _) => Exit,
[INFO] [stderr]     |          ^^^ not a struct, variant or union type
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `initializer` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:58:25
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let root = Console::initializer()
[INFO] [stderr]    |                         ^^^^^^^^^^^ function or associated item not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ function or associated item `initializer` not found for this
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following trait defines an item `initializer`, perhaps you need to implement it:
[INFO] [stderr]            candidate #1: `std::io::Read`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:67:28
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                            ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH.try_into().unwrap(), SCREEN_HEIGHT),
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:67:42
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:68:27
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                           ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH.try_into().unwrap(), SCREEN_HEIGHT),
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:68:41
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:69:29
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                             ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH.try_into().unwrap(), renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:69:43
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `window_closed` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:77:20
[INFO] [stderr]    |
[INFO] [stderr] 77 |     while !ui.root.window_closed() {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `window_closed` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:78:17
[INFO] [stderr]    |
[INFO] [stderr] 78 |         ui.root.set_default_foreground(colors::LIGHT_YELLOW);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stderr]   --> src/main.rs:79:17
[INFO] [stderr]    |
[INFO] [stderr] 79 |         ui.root.print_centered(
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ expected 4 arguments
[INFO] [stderr] 80 |             SCREEN_WIDTH / 2,
[INFO] [stderr]    |             ----------------
[INFO] [stderr] 81 |             SCREEN_HEIGHT / 2 - 4,
[INFO] [stderr]    |             ---------------------
[INFO] [stderr] 82 |             "TOMBS OF THE ANCIENT KINGS",
[INFO] [stderr]    |             ---------------------------- supplied 3 arguments
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn print_centered(&mut self, x: usize, y: usize, color: [f32;4], text: &str) {
[INFO] [stderr]    |     -------------------------------------------------------------------------------- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stderr]   --> src/main.rs:84:17
[INFO] [stderr]    |
[INFO] [stderr] 84 |         ui.root.print_centered(
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ expected 4 arguments
[INFO] [stderr] 85 |             SCREEN_WIDTH / 2,
[INFO] [stderr]    |             ----------------
[INFO] [stderr] 86 |             SCREEN_HEIGHT - 2,
[INFO] [stderr]    |             -----------------
[INFO] [stderr] 87 |             "Luringen",
[INFO] [stderr]    |             ---------- supplied 3 arguments
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn print_centered(&mut self, x: usize, y: usize, color: [f32;4], text: &str) {
[INFO] [stderr]    |     -------------------------------------------------------------------------------- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `window_closed` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:108:20
[INFO] [stderr]     |
[INFO] [stderr] 108 |     while !ui.root.window_closed() {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `window_closed` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Mouse` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/main.rs:110:29
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Some((_, Event::Mouse(m))) => ui.mouse = m,
[INFO] [stderr]     |                             ^^^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Key` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/main.rs:111:29
[INFO] [stderr]     |
[INFO] [stderr] 111 |             Some((_, Event::Key(k))) => key = k,
[INFO] [stderr]     |                             ^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/main.rs:110:46
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Some((_, Event::Mouse(m))) => ui.mouse = m,
[INFO] [stderr]     |                                              ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `flush` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:118:17
[INFO] [stderr]     |
[INFO] [stderr] 118 |         ui.root.flush();
[INFO] [stderr]     |                 ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `flush` not found for this
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stderr]    --> src/main.rs:127:29
[INFO] [stderr]     |
[INFO] [stderr] 127 |           let player_action = handle_keys(key, ui, objects, game);
[INFO] [stderr]     |                               ^^^^^^^^^^^ ---  --  -------  ---- supplied 4 arguments
[INFO] [stderr]     |                               |
[INFO] [stderr]     |                               expected 5 arguments
[INFO] [stderr] ...
[INFO] [stderr] 191 | / fn handle_keys(
[INFO] [stderr] 192 | |     key: Key,
[INFO] [stderr] 193 | |     ui: &mut Ui,
[INFO] [stderr] 194 | |     objects: &mut Vec<Object>,
[INFO] [stderr] ...   |
[INFO] [stderr] 315 | |     }
[INFO] [stderr] 316 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clear` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:186:12
[INFO] [stderr]     |
[INFO] [stderr] 186 |     ui.con.clear(); // Clear out previous FOV.
[INFO] [stderr]     |            ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `clear` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `initializer` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:58:25
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let root = Console::initializer()
[INFO] [stderr]    |                         ^^^^^^^^^^^ function or associated item not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ function or associated item `initializer` not found for this
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following trait defines an item `initializer`, perhaps you need to implement it:
[INFO] [stderr]            candidate #1: `std::io::Read`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:67:28
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                            ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH.try_into().unwrap(), SCREEN_HEIGHT),
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:67:42
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 67 |         root: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:68:27
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                           ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH.try_into().unwrap(), SCREEN_HEIGHT),
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:68:41
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT),
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 68 |         con: Console::new(SCREEN_WIDTH, SCREEN_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:69:29
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                             ^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH.try_into().unwrap(), renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:69:43
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `i32`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 69 |         panel: Console::new(SCREEN_WIDTH, renderer::PANEL_HEIGHT.try_into().unwrap()),
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `window_closed` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:77:20
[INFO] [stderr]    |
[INFO] [stderr] 77 |     while !ui.root.window_closed() {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `window_closed` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `is_fullscreen` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:309:38
[INFO] [stderr]     |
[INFO] [stderr] 309 |             let fullscreen = ui.root.is_fullscreen();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `is_fullscreen` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/main.rs:78:17
[INFO] [stderr]    |
[INFO] [stderr] 78 |         ui.root.set_default_foreground(colors::LIGHT_YELLOW);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stderr]   --> src/main.rs:79:17
[INFO] [stderr]    |
[INFO] [stderr] 79 |         ui.root.print_centered(
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ expected 4 arguments
[INFO] [stderr] 80 |             SCREEN_WIDTH / 2,
[INFO] [stderr]    |             ----------------
[INFO] [stderr] 81 |             SCREEN_HEIGHT / 2 - 4,
[INFO] [stderr]    |             ---------------------
[INFO] [stderr] 82 |             "TOMBS OF THE ANCIENT KINGS",
[INFO] [stderr]    |             ---------------------------- supplied 3 arguments
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn print_centered(&mut self, x: usize, y: usize, color: [f32;4], text: &str) {
[INFO] [stderr]    |     -------------------------------------------------------------------------------- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stderr]   --> src/main.rs:84:17
[INFO] [stderr]    |
[INFO] [stderr] 84 |         ui.root.print_centered(
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^ expected 4 arguments
[INFO] [stderr] 85 |             SCREEN_WIDTH / 2,
[INFO] [stderr]    |             ----------------
[INFO] [stderr] 86 |             SCREEN_HEIGHT - 2,
[INFO] [stderr]    |             -----------------
[INFO] [stderr] 87 |             "Luringen",
[INFO] [stderr]    |             ---------- supplied 3 arguments
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn print_centered(&mut self, x: usize, y: usize, color: [f32;4], text: &str) {
[INFO] [stderr]    |     -------------------------------------------------------------------------------- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_fullscreen` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:310:21
[INFO] [stderr]     |
[INFO] [stderr] 310 |             ui.root.set_fullscreen(!fullscreen);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_fullscreen` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `window_closed` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:108:20
[INFO] [stderr]     |
[INFO] [stderr] 108 |     while !ui.root.window_closed() {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `window_closed` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Mouse` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/main.rs:110:29
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Some((_, Event::Mouse(m))) => ui.mouse = m,
[INFO] [stderr]     |                             ^^^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Key` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/main.rs:111:29
[INFO] [stderr]     |
[INFO] [stderr] 111 |             Some((_, Event::Key(k))) => key = k,
[INFO] [stderr]     |                             ^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/main.rs:110:46
[INFO] [stderr]     |
[INFO] [stderr] 110 |             Some((_, Event::Mouse(m))) => ui.mouse = m,
[INFO] [stderr]     |                                              ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `flush` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:118:17
[INFO] [stderr]     |
[INFO] [stderr] 118 |         ui.root.flush();
[INFO] [stderr]     |                 ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `flush` not found for this
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stderr]    --> src/main.rs:127:29
[INFO] [stderr]     |
[INFO] [stderr] 127 |           let player_action = handle_keys(key, ui, objects, game);
[INFO] [stderr]     |                               ^^^^^^^^^^^ ---  --  -------  ---- supplied 4 arguments
[INFO] [stderr]     |                               |
[INFO] [stderr]     |                               expected 5 arguments
[INFO] [stderr] ...
[INFO] [stderr] 191 | / fn handle_keys(
[INFO] [stderr] 192 | |     key: Key,
[INFO] [stderr] 193 | |     ui: &mut Ui,
[INFO] [stderr] 194 | |     objects: &mut Vec<Object>,
[INFO] [stderr] ...   |
[INFO] [stderr] 315 | |     }
[INFO] [stderr] 316 | | }
[INFO] [stderr]     | |_- defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clear` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:186:12
[INFO] [stderr]     |
[INFO] [stderr] 186 |     ui.con.clear(); // Clear out previous FOV.
[INFO] [stderr]     |            ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `clear` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `is_fullscreen` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:309:38
[INFO] [stderr]     |
[INFO] [stderr] 309 |             let fullscreen = ui.root.is_fullscreen();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `is_fullscreen` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_fullscreen` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/main.rs:310:21
[INFO] [stderr]     |
[INFO] [stderr] 310 |             ui.root.set_fullscreen(!fullscreen);
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_fullscreen` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:77:13
[INFO] [stderr]    |
[INFO] [stderr] 77 |         con.set_default_foreground(self.color);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `put_char` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |         con.put_char(self.x, self.y, self.char, BackgroundFlag::None);
[INFO] [stderr]    |             ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `put_char` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |         con.put_char(self.x, self.y, ' ', BackgroundFlag::None);
[INFO] [stderr]    |             ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_char_background` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:45:26
[INFO] [stderr]    |
[INFO] [stderr] 45 |                         .set_char_background(x, y, color, BackgroundFlag::Set);
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_char_background` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:73:14
[INFO] [stderr]    |
[INFO] [stderr] 73 |     ui.panel.set_default_background(colors::BLACK);
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_background` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clear` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:74:14
[INFO] [stderr]    |
[INFO] [stderr] 74 |     ui.panel.clear();
[INFO] [stderr]    |              ^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `clear` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_height_rect` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:79:35
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let msg_height = ui.panel.get_height_rect(MSG_X, y, MSG_WIDTH, 0, msg);
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `get_height_rect` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:84:18
[INFO] [stderr]    |
[INFO] [stderr] 84 |         ui.panel.set_default_foreground(color);
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_rect` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:85:18
[INFO] [stderr]    |
[INFO] [stderr] 85 |         ui.panel.print_rect(MSG_X, y, MSG_WIDTH, 0, msg);
[INFO] [stderr]    |                  ^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `print_rect` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:103:14
[INFO] [stderr]     |
[INFO] [stderr] 103 |     ui.panel.print_ex(
[INFO] [stderr]     |              ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:112:14
[INFO] [stderr]     |
[INFO] [stderr] 112 |     ui.panel.set_default_foreground(colors::LIGHT_GREY);
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:113:14
[INFO] [stderr]     |
[INFO] [stderr] 113 |     ui.panel.print_ex(
[INFO] [stderr]     |              ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/renderer.rs:118:34
[INFO] [stderr]     |
[INFO] [stderr] 118 |         get_names_under_mouse(ui.mouse, objects, &ui.fov),
[INFO] [stderr]     |                                  ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:147:11
[INFO] [stderr]     |
[INFO] [stderr] 147 |     panel.set_default_background(back_color);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:148:11
[INFO] [stderr]     |
[INFO] [stderr] 148 |     panel.rect(x, y, total_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |           ^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:151:11
[INFO] [stderr]     |
[INFO] [stderr] 151 |     panel.set_default_background(bar_color);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:153:15
[INFO] [stderr]     |
[INFO] [stderr] 153 |         panel.rect(x, y, bar_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |               ^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:157:11
[INFO] [stderr]     |
[INFO] [stderr] 157 |     panel.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:158:11
[INFO] [stderr]     |
[INFO] [stderr] 158 |     panel.print_ex(
[INFO] [stderr]     |           ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_height_rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:192:14
[INFO] [stderr]     |
[INFO] [stderr] 192 |         root.get_height_rect(0, 0, width, SCREEN_HEIGHT, header)
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/renderer.rs:196:35
[INFO] [stderr]     |
[INFO] [stderr] 196 |     let mut window = Console::new(width, height);
[INFO] [stderr]     |                                   ^^^^^ expected `usize`, found `i32`
[INFO] [stderr]     |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]     |
[INFO] [stderr] 196 |     let mut window = Console::new(width.try_into().unwrap(), height);
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:197:12
[INFO] [stderr]     |
[INFO] [stderr] 197 |     window.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_rect_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:198:12
[INFO] [stderr]     |
[INFO] [stderr] 198 |     window.print_rect_ex(
[INFO] [stderr]     |            ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_rect_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:77:13
[INFO] [stderr]    |
[INFO] [stderr] 77 |         con.set_default_foreground(self.color);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `put_char` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |         con.put_char(self.x, self.y, self.char, BackgroundFlag::None);
[INFO] [stderr]    |             ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:211:16
[INFO] [stderr]     |
[INFO] [stderr] 211 |         window.print_ex(
[INFO] [stderr]     |                ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `put_char` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]   --> src/object.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |         con.put_char(self.x, self.y, ' ', BackgroundFlag::None);
[INFO] [stderr]    |             ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/renderer.rs:221:33
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let y = SCREEN_HEIGHT / 2 - height / 2;
[INFO] [stderr]     |                                 ^^^^^^^^^^ expected `i32`, found `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: cannot subtract `usize` from `i32`
[INFO] [stderr]    --> src/renderer.rs:221:31
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let y = SCREEN_HEIGHT / 2 - height / 2;
[INFO] [stderr]     |                               ^ no implementation for `i32 - usize`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::ops::Sub<usize>` is not implemented for `i32`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `flush` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:232:10
[INFO] [stderr]     |
[INFO] [stderr] 232 |     root.flush();
[INFO] [stderr]     |          ^^^^^ method not found in `&mut console::Console`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `wait_for_keypress` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:233:20
[INFO] [stderr]     |
[INFO] [stderr] 233 |     let key = root.wait_for_keypress(true);
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_char_background` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:45:26
[INFO] [stderr]    |
[INFO] [stderr] 45 |                         .set_char_background(x, y, color, BackgroundFlag::Set);
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_char_background` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:73:14
[INFO] [stderr]    |
[INFO] [stderr] 73 |     ui.panel.set_default_background(colors::BLACK);
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_background` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clear` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:74:14
[INFO] [stderr]    |
[INFO] [stderr] 74 |     ui.panel.clear();
[INFO] [stderr]    |              ^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `clear` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_height_rect` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:79:35
[INFO] [stderr]    |
[INFO] [stderr] 79 |         let msg_height = ui.panel.get_height_rect(MSG_X, y, MSG_WIDTH, 0, msg);
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `get_height_rect` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:84:18
[INFO] [stderr]    |
[INFO] [stderr] 84 |         ui.panel.set_default_foreground(color);
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_rect` found for struct `console::Console` in the current scope
[INFO] [stderr]   --> src/renderer.rs:85:18
[INFO] [stderr]    |
[INFO] [stderr] 85 |         ui.panel.print_rect(MSG_X, y, MSG_WIDTH, 0, msg);
[INFO] [stderr]    |                  ^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/console.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | pub struct Console {
[INFO] [stderr]    | ------------------ method `print_rect` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:103:14
[INFO] [stderr]     |
[INFO] [stderr] 103 |     ui.panel.print_ex(
[INFO] [stderr]     |              ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:112:14
[INFO] [stderr]     |
[INFO] [stderr] 112 |     ui.panel.set_default_foreground(colors::LIGHT_GREY);
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:113:14
[INFO] [stderr]     |
[INFO] [stderr] 113 |     ui.panel.print_ex(
[INFO] [stderr]     |              ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/renderer.rs:118:34
[INFO] [stderr]     |
[INFO] [stderr] 118 |         get_names_under_mouse(ui.mouse, objects, &ui.fov),
[INFO] [stderr]     |                                  ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:147:11
[INFO] [stderr]     |
[INFO] [stderr] 147 |     panel.set_default_background(back_color);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:148:11
[INFO] [stderr]     |
[INFO] [stderr] 148 |     panel.rect(x, y, total_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |           ^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_background` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:151:11
[INFO] [stderr]     |
[INFO] [stderr] 151 |     panel.set_default_background(bar_color);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:153:15
[INFO] [stderr]     |
[INFO] [stderr] 153 |         panel.rect(x, y, bar_width, 1, false, BackgroundFlag::Screen);
[INFO] [stderr]     |               ^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:157:11
[INFO] [stderr]     |
[INFO] [stderr] 157 |     panel.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:158:11
[INFO] [stderr]     |
[INFO] [stderr] 158 |     panel.print_ex(
[INFO] [stderr]     |           ^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_height_rect` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:192:14
[INFO] [stderr]     |
[INFO] [stderr] 192 |         root.get_height_rect(0, 0, width, SCREEN_HEIGHT, header)
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/renderer.rs:196:35
[INFO] [stderr]     |
[INFO] [stderr] 196 |     let mut window = Console::new(width, height);
[INFO] [stderr]     |                                   ^^^^^ expected `usize`, found `i32`
[INFO] [stderr]     |
[INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]     |
[INFO] [stderr] 196 |     let mut window = Console::new(width.try_into().unwrap(), height);
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `set_default_foreground` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:197:12
[INFO] [stderr]     |
[INFO] [stderr] 197 |     window.set_default_foreground(colors::WHITE);
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `set_default_foreground` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_rect_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:198:12
[INFO] [stderr]     |
[INFO] [stderr] 198 |     window.print_rect_ex(
[INFO] [stderr]     |            ^^^^^^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_rect_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `print_ex` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:211:16
[INFO] [stderr]     |
[INFO] [stderr] 211 |         window.print_ex(
[INFO] [stderr]     |                ^^^^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `print_ex` not found for this
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/renderer.rs:221:33
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let y = SCREEN_HEIGHT / 2 - height / 2;
[INFO] [stderr]     |                                 ^^^^^^^^^^ expected `i32`, found `usize`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `flush` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/item.rs:268:17
[INFO] [stderr]     |
[INFO] [stderr] 268 |         ui.root.flush();
[INFO] [stderr]     |                 ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `flush` not found for this
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Mouse` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/item.rs:272:25
[INFO] [stderr]     |
[INFO] [stderr] 272 |             Some(Event::Mouse(m)) => ui.mouse = m,
[INFO] [stderr]     |                         ^^^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Key` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/item.rs:273:25
[INFO] [stderr]     |
[INFO] [stderr] 273 |             Some(Event::Key(k)) => key = Some(k),
[INFO] [stderr]     |                         ^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:272:41
[INFO] [stderr]     |
[INFO] [stderr] 272 |             Some(Event::Mouse(m)) => ui.mouse = m,
[INFO] [stderr]     |                                         ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:277:26
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let (x, y) = (ui.mouse.cx as i32, ui.mouse.cy as i32);
[INFO] [stderr]     |                          ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:277:46
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let (x, y) = (ui.mouse.cx as i32, ui.mouse.cy as i32);
[INFO] [stderr]     |                                              ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:281:15
[INFO] [stderr]     |
[INFO] [stderr] 281 |         if ui.mouse.lbutton_pressed && in_fov && in_range {
[INFO] [stderr]     |               ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:286:15
[INFO] [stderr]     |
[INFO] [stderr] 286 |         if ui.mouse.rbutton_pressed || escape {
[INFO] [stderr]     |               ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: cannot subtract `usize` from `i32`
[INFO] [stderr]    --> src/renderer.rs:221:31
[INFO] [stderr]     |
[INFO] [stderr] 221 |     let y = SCREEN_HEIGHT / 2 - height / 2;
[INFO] [stderr]     |                               ^ no implementation for `i32 - usize`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::ops::Sub<usize>` is not implemented for `i32`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `flush` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:232:10
[INFO] [stderr]     |
[INFO] [stderr] 232 |     root.flush();
[INFO] [stderr]     |          ^^^^^ method not found in `&mut console::Console`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `wait_for_keypress` found for mutable reference `&mut console::Console` in the current scope
[INFO] [stderr]    --> src/renderer.rs:233:20
[INFO] [stderr]     |
[INFO] [stderr] 233 |     let key = root.wait_for_keypress(true);
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^ method not found in `&mut console::Console`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `iterate` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/console.rs:15:28
[INFO] [stderr]    |
[INFO] [stderr] 15 |         for (c, i) in text.iterate() {
[INFO] [stderr]    |                            ^^^^^^^ method not found in `&str`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 140 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0425, E0433, E0574, E0599, E0609.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `rustlike`.
[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[E0599]: no method named `flush` found for struct `console::Console` in the current scope
[INFO] [stderr]    --> src/item.rs:268:17
[INFO] [stderr]     |
[INFO] [stderr] 268 |         ui.root.flush();
[INFO] [stderr]     |                 ^^^^^ method not found in `console::Console`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/console.rs:3:1
[INFO] [stderr]     |
[INFO] [stderr] 3   | pub struct Console {
[INFO] [stderr]     | ------------------ method `flush` not found for this
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]     = note: the following trait defines an item `flush`, perhaps you need to implement it:
[INFO] [stderr]             candidate #1: `std::io::Write`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Mouse` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/item.rs:272:25
[INFO] [stderr]     |
[INFO] [stderr] 272 |             Some(Event::Mouse(m)) => ui.mouse = m,
[INFO] [stderr]     |                         ^^^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant or associated item named `Key` found for enum `piston::input::Event` in the current scope
[INFO] [stderr]    --> src/item.rs:273:25
[INFO] [stderr]     |
[INFO] [stderr] 273 |             Some(Event::Key(k)) => key = Some(k),
[INFO] [stderr]     |                         ^^^ variant or associated item not found in `piston::input::Event`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:272:41
[INFO] [stderr]     |
[INFO] [stderr] 272 |             Some(Event::Mouse(m)) => ui.mouse = m,
[INFO] [stderr]     |                                         ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:277:26
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let (x, y) = (ui.mouse.cx as i32, ui.mouse.cy as i32);
[INFO] [stderr]     |                          ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:277:46
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let (x, y) = (ui.mouse.cx as i32, ui.mouse.cy as i32);
[INFO] [stderr]     |                                              ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:281:15
[INFO] [stderr]     |
[INFO] [stderr] 281 |         if ui.mouse.lbutton_pressed && in_fov && in_range {
[INFO] [stderr]     |               ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0609]: no field `mouse` on type `&mut Ui`
[INFO] [stderr]    --> src/item.rs:286:15
[INFO] [stderr]     |
[INFO] [stderr] 286 |         if ui.mouse.rbutton_pressed || escape {
[INFO] [stderr]     |               ^^^^^ unknown field
[INFO] [stderr]     |
[INFO] [stderr]     = note: available fields are: `root`, `con`, `panel`, `fov`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `iterate` found for reference `&str` in the current scope
[INFO] [stderr]   --> src/console.rs:15:28
[INFO] [stderr]    |
[INFO] [stderr] 15 |         for (c, i) in text.iterate() {
[INFO] [stderr]    |                            ^^^^^^^ method not found in `&str`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 140 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0412, E0425, E0433, E0574, E0599, E0609.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `rustlike`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "43e3df3900f29324894a5833be6aff0ebbc5cbf318ff815c082c772a3e144798"`
[INFO] running `"docker" "rm" "-f" "43e3df3900f29324894a5833be6aff0ebbc5cbf318ff815c082c772a3e144798"`
[INFO] [stdout] 43e3df3900f29324894a5833be6aff0ebbc5cbf318ff815c082c772a3e144798
