[INFO] updating cached repository https://github.com/crlf0710/charlesmine-rs
[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] 41c6b473daaeb72cf8e9d6bee53682866374563c
[INFO] checking crlf0710/charlesmine-rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrlf0710%2Fcharlesmine-rs" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/crlf0710/charlesmine-rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/crlf0710/charlesmine-rs
[INFO] finished tweaking git repo https://github.com/crlf0710/charlesmine-rs
[INFO] tweaked toml for git repo https://github.com/crlf0710/charlesmine-rs written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/crlf0710/charlesmine-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 4b06ee03465cbc94edec2a800ebfdd3113724844db8029ef6a0b7a8b5f3bc8ee
[INFO] running `"docker" "start" "-a" "4b06ee03465cbc94edec2a800ebfdd3113724844db8029ef6a0b7a8b5f3bc8ee"`
[INFO] [stderr]    Compiling charlesmine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking vec-drain-where v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.8
[INFO] [stderr]    Compiling syn v0.13.11
[INFO] [stderr]     Checking domino v0.1.0 (https://github.com/crlf0710/domino-rs#be2b3741)
[INFO] [stderr]     Checking concerto v0.1.0 (https://github.com/crlf0710/concerto-rs#4873c00e)
[INFO] [stderr]     Checking regex v1.3.4
[INFO] [stderr]    Compiling derive_more v0.11.0
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking apiw v0.1.0 (https://github.com/crlf0710/apiw-rs#bd627997)
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::graphics_subsystem::Point;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::graphics_subsystem::Rect;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]  --> src/controller.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use apiw::windows_subsystem::window::MouseEventArgs;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use apiw::graphics_subsystem::Size;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::shared`
[INFO] [stderr]  --> src/ui_apiw.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::shared::ManagedStrategy;
[INFO] [stderr]   |           ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::Result`
[INFO] [stderr]  --> src/ui_apiw.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::Result;
[INFO] [stderr]   |     ^^^^^^^^^^^^ no `Result` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | use apiw::application_support_functions::MessageBoxBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::timer_proc`
[INFO] [stderr]   --> src/ui_apiw.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use apiw::timer_proc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ no `timer_proc` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::window_proc`
[INFO] [stderr]   --> src/ui_apiw.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use apiw::window_proc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `window_proc` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 | use apiw::application_support_functions::OpenFileDialogBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:32:11
[INFO] [stderr]    |
[INFO] [stderr] 32 | use apiw::application_support_functions::OpenFileDialogFlags;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 | use apiw::application_support_functions::SaveFileDialogBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:35:15
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub use apiw::graphics_subsystem::draw::Draw as UiDraw;
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:144:19
[INFO] [stderr]     |
[INFO] [stderr] 144 |         use apiw::windows_subsystem::window::ForeignWindow;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:145:19
[INFO] [stderr]     |
[INFO] [stderr] 145 |         use apiw::windows_subsystem::window::WindowBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:146:19
[INFO] [stderr]     |
[INFO] [stderr] 146 |         use apiw::windows_subsystem::window::WindowClassBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:147:19
[INFO] [stderr]     |
[INFO] [stderr] 147 |         use apiw::windows_subsystem::window::WindowProcRequest;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:148:19
[INFO] [stderr]     |
[INFO] [stderr] 148 |         use apiw::windows_subsystem::window::WindowStyles;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |             use apiw::windows_subsystem::window::CommandEventArgs;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:152:23
[INFO] [stderr]     |
[INFO] [stderr] 152 |             use apiw::windows_subsystem::window::MouseEventArgs;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:179:39
[INFO] [stderr]     |
[INFO] [stderr] 179 | ...                   use apiw::windows_subsystem::window::MouseEventArgType;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:352:43
[INFO] [stderr]     |
[INFO] [stderr] 352 | ...                   use apiw::windows_subsystem::dialog::DialogBuilder;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:363:31
[INFO] [stderr]     |
[INFO] [stderr] 363 |                     use apiw::windows_subsystem::message::ForeignMessageLoop;
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:371:19
[INFO] [stderr]     |
[INFO] [stderr] 371 |         use apiw::windows_subsystem::window::TimerProcRequest;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:418:19
[INFO] [stderr]     |
[INFO] [stderr] 418 |         use apiw::windows_subsystem::message::ForeignMessageLoop;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]    --> src/view.rs:122:19
[INFO] [stderr]     |
[INFO] [stderr] 122 |         use apiw::graphics_subsystem::object::PenBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `extensions` in `apiw`
[INFO] [stderr]    --> src/view.rs:291:19
[INFO] [stderr]     |
[INFO] [stderr] 291 |         use apiw::extensions::draw_ext::{GraphicsMode, Transform};
[INFO] [stderr]     |                   ^^^^^^^^^^ could not find `extensions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]  --> src/view_assets.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::graphics_subsystem::device_context::{LocalDeviceContext, ScopedDeviceContext};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]  --> src/view_assets.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::graphics_subsystem::object::Bitmap;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 34 | use apiw::application_support_functions::SaveFileDialogFlags;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use apiw::graphics_subsystem::RGBColor;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use apiw::graphics_subsystem::TenaryROP;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | use apiw::graphics_subsystem::{Point, Size};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::shared`
[INFO] [stderr]  --> src/view_assets.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | use apiw::shared::ManagedStrategy;
[INFO] [stderr]   |           ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::ui::UiDraw`
[INFO] [stderr]   --> src/view.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::ui::UiDraw;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `UiDraw` in `ui`
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the macro `window_proc`
[INFO] [stderr]    --> src/ui_apiw.rs:384:26
[INFO] [stderr]     |
[INFO] [stderr] 384 |             .window_proc(window_proc!(main_window_handler))
[INFO] [stderr]     |                          ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the macro `timer_proc`
[INFO] [stderr]    --> src/ui_apiw.rs:409:17
[INFO] [stderr]     |
[INFO] [stderr] 409 |                 timer_proc!(main_window_timer_handler),
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:20:27
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub type UiWindow = apiw::windows_subsystem::window::ForeignWindow;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:21:33
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub type UiScopedDC<'a> = apiw::graphics_subsystem::device_context::ScopedDeviceContext<'a>;
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:22:28
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub type UiLocalDC = apiw::graphics_subsystem::device_context::LocalDeviceContext;
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:25:23
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub type Size = apiw::graphics_subsystem::Size;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub type Point = apiw::graphics_subsystem::Point;
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:27:23
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type Rect = apiw::graphics_subsystem::Rect;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:28:27
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub type RGBColor = apiw::graphics_subsystem::RGBColor;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:200:38
[INFO] [stderr]     |
[INFO] [stderr] 200 | ...                   Some(MouseEventArgType::LeftButtonDown) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:203:38
[INFO] [stderr]     |
[INFO] [stderr] 203 | ...                   Some(MouseEventArgType::LeftButtonUp) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:206:38
[INFO] [stderr]     |
[INFO] [stderr] 206 | ...                   Some(MouseEventArgType::RightButtonDown) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:209:38
[INFO] [stderr]     |
[INFO] [stderr] 209 | ...                   Some(MouseEventArgType::RightButtonUp) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DialogBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:354:33
[INFO] [stderr]     |
[INFO] [stderr] 354 | ...                   DialogBuilder::new_from_resource_id(resources::IDD_ABOUTBOX as _)
[INFO] [stderr]     |                       ^^^^^^^^^^^^^ use of undeclared type or module `DialogBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr]    --> src/ui_apiw.rs:365:21
[INFO] [stderr]     |
[INFO] [stderr] 365 |                     ForeignMessageLoop::request_quit();
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowClassBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:379:28
[INFO] [stderr]     |
[INFO] [stderr] 379 |         let window_class = WindowClassBuilder::new("CharlesMineWnd")
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `WindowClassBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:380:51
[INFO] [stderr]     |
[INFO] [stderr] 380 |             .background_brush_from_syscolor(apiw::windows_subsystem::window::SysColor::BUTTON_FACE)
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:381:42
[INFO] [stderr]     |
[INFO] [stderr] 381 |             .cursor_from_syscursor(apiw::windows_subsystem::window::SysCursor::ARROW)
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:390:22
[INFO] [stderr]     |
[INFO] [stderr] 390 |         let window = WindowBuilder::new(&window_class)
[INFO] [stderr]     |                      ^^^^^^^^^^^^^ use of undeclared type or module `WindowBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:393:17
[INFO] [stderr]     |
[INFO] [stderr] 393 |                 WindowStyles::CAPTION
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:394:23
[INFO] [stderr]     |
[INFO] [stderr] 394 |                     | WindowStyles::VISIBLE
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:395:23
[INFO] [stderr]     |
[INFO] [stderr] 395 |                     | WindowStyles::CLIPSIBLINGS
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:396:23
[INFO] [stderr]     |
[INFO] [stderr] 396 |                     | WindowStyles::SYSMENU
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:397:23
[INFO] [stderr]     |
[INFO] [stderr] 397 |                     | WindowStyles::OVERLAPPED
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:398:23
[INFO] [stderr]     |
[INFO] [stderr] 398 |                     | WindowStyles::MINIMIZEBOX,
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:411:25
[INFO] [stderr]     |
[INFO] [stderr] 411 |             .show(apiw::shared::exe_cmd_show())?
[INFO] [stderr]     |                         ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr]    --> src/ui_apiw.rs:419:27
[INFO] [stderr]     |
[INFO] [stderr] 419 |         let mut msgloop = ForeignMessageLoop::for_current_thread();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PenBuilder`
[INFO] [stderr]    --> src/view.rs:123:20
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let pen1 = PenBuilder::new()
[INFO] [stderr]     |                    ^^^^^^^^^^ use of undeclared type or module `PenBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PenBuilder`
[INFO] [stderr]    --> src/view.rs:128:20
[INFO] [stderr]     |
[INFO] [stderr] 128 |         let pen2 = PenBuilder::new()
[INFO] [stderr]     |                    ^^^^^^^^^^ use of undeclared type or module `PenBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::graphics_subsystem::Point;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GraphicsMode`
[INFO] [stderr]    --> src/view.rs:297:30
[INFO] [stderr]     |
[INFO] [stderr] 297 |         dc.set_graphics_mode(GraphicsMode::ADVANCED)?;
[INFO] [stderr]     |                              ^^^^^^^^^^^^ use of undeclared type or module `GraphicsMode`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Transform`
[INFO] [stderr]    --> src/view.rs:298:33
[INFO] [stderr]     |
[INFO] [stderr] 298 |         dc.set_world_transform(&Transform::new_with_values(&[v, 0.0, 0.0, v, 0.0, 0.0]))?;
[INFO] [stderr]     |                                 ^^^^^^^^^ use of undeclared type or module `Transform`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::graphics_subsystem::Rect;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]  --> src/controller.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use apiw::windows_subsystem::window::MouseEventArgs;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/controller.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use apiw::graphics_subsystem::Size;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::shared`
[INFO] [stderr]  --> src/ui_apiw.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::shared::ManagedStrategy;
[INFO] [stderr]   |           ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::Result`
[INFO] [stderr]  --> src/ui_apiw.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::Result;
[INFO] [stderr]   |     ^^^^^^^^^^^^ no `Result` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | use apiw::application_support_functions::MessageBoxBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::timer_proc`
[INFO] [stderr]   --> src/ui_apiw.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use apiw::timer_proc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ no `timer_proc` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::window_proc`
[INFO] [stderr]   --> src/ui_apiw.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use apiw::window_proc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `window_proc` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 | use apiw::application_support_functions::OpenFileDialogBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:32:11
[INFO] [stderr]    |
[INFO] [stderr] 32 | use apiw::application_support_functions::OpenFileDialogFlags;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 | use apiw::application_support_functions::SaveFileDialogBuilder;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:35:15
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub use apiw::graphics_subsystem::draw::Draw as UiDraw;
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:144:19
[INFO] [stderr]     |
[INFO] [stderr] 144 |         use apiw::windows_subsystem::window::ForeignWindow;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:145:19
[INFO] [stderr]     |
[INFO] [stderr] 145 |         use apiw::windows_subsystem::window::WindowBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:146:19
[INFO] [stderr]     |
[INFO] [stderr] 146 |         use apiw::windows_subsystem::window::WindowClassBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:147:19
[INFO] [stderr]     |
[INFO] [stderr] 147 |         use apiw::windows_subsystem::window::WindowProcRequest;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:148:19
[INFO] [stderr]     |
[INFO] [stderr] 148 |         use apiw::windows_subsystem::window::WindowStyles;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:151:23
[INFO] [stderr]     |
[INFO] [stderr] 151 |             use apiw::windows_subsystem::window::CommandEventArgs;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:152:23
[INFO] [stderr]     |
[INFO] [stderr] 152 |             use apiw::windows_subsystem::window::MouseEventArgs;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:179:39
[INFO] [stderr]     |
[INFO] [stderr] 179 | ...                   use apiw::windows_subsystem::window::MouseEventArgType;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:352:43
[INFO] [stderr]     |
[INFO] [stderr] 352 | ...                   use apiw::windows_subsystem::dialog::DialogBuilder;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:363:31
[INFO] [stderr]     |
[INFO] [stderr] 363 |                     use apiw::windows_subsystem::message::ForeignMessageLoop;
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:371:19
[INFO] [stderr]     |
[INFO] [stderr] 371 |         use apiw::windows_subsystem::window::TimerProcRequest;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:418:19
[INFO] [stderr]     |
[INFO] [stderr] 418 |         use apiw::windows_subsystem::message::ForeignMessageLoop;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]    --> src/view.rs:122:19
[INFO] [stderr]     |
[INFO] [stderr] 122 |         use apiw::graphics_subsystem::object::PenBuilder;
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `extensions` in `apiw`
[INFO] [stderr]    --> src/view.rs:291:19
[INFO] [stderr]     |
[INFO] [stderr] 291 |         use apiw::extensions::draw_ext::{GraphicsMode, Transform};
[INFO] [stderr]     |                   ^^^^^^^^^^ could not find `extensions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]  --> src/view_assets.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use apiw::graphics_subsystem::device_context::{LocalDeviceContext, ScopedDeviceContext};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]  --> src/view_assets.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | use apiw::graphics_subsystem::object::Bitmap;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::application_support_functions`
[INFO] [stderr]   --> src/ui_apiw.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 34 | use apiw::application_support_functions::SaveFileDialogFlags;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `application_support_functions` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use apiw::graphics_subsystem::RGBColor;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use apiw::graphics_subsystem::TenaryROP;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::graphics_subsystem`
[INFO] [stderr]  --> src/view_assets.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | use apiw::graphics_subsystem::{Point, Size};
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `apiw::shared`
[INFO] [stderr]  --> src/view_assets.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | use apiw::shared::ManagedStrategy;
[INFO] [stderr]   |           ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::ui::UiDraw`
[INFO] [stderr]   --> src/view.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::ui::UiDraw;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `UiDraw` in `ui`
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the macro `window_proc`
[INFO] [stderr]    --> src/ui_apiw.rs:384:26
[INFO] [stderr]     |
[INFO] [stderr] 384 |             .window_proc(window_proc!(main_window_handler))
[INFO] [stderr]     |                          ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error: cannot determine resolution for the macro `timer_proc`
[INFO] [stderr]    --> src/ui_apiw.rs:409:17
[INFO] [stderr]     |
[INFO] [stderr] 409 |                 timer_proc!(main_window_timer_handler),
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr]   --> src/view_assets.rs:97:29
[INFO] [stderr]    |
[INFO] [stderr] 97 |         let mut memory_dc = LocalDeviceContext::new_compatible_memory_dc(target_dc)?;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:20:27
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub type UiWindow = apiw::windows_subsystem::window::ForeignWindow;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:21:33
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub type UiScopedDC<'a> = apiw::graphics_subsystem::device_context::ScopedDeviceContext<'a>;
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:22:28
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub type UiLocalDC = apiw::graphics_subsystem::device_context::LocalDeviceContext;
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:25:23
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub type Size = apiw::graphics_subsystem::Size;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub type Point = apiw::graphics_subsystem::Point;
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:27:23
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub type Rect = apiw::graphics_subsystem::Rect;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `graphics_subsystem` in `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:28:27
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub type RGBColor = apiw::graphics_subsystem::RGBColor;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^ could not find `graphics_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |             Bitmap::load_from_resource_id(IDB_DIGIT as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 |             Bitmap::load_from_resource_id(IDB_BUTTON as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:200:38
[INFO] [stderr]     |
[INFO] [stderr] 200 | ...                   Some(MouseEventArgType::LeftButtonDown) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:203:38
[INFO] [stderr]     |
[INFO] [stderr] 203 | ...                   Some(MouseEventArgType::LeftButtonUp) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:206:38
[INFO] [stderr]     |
[INFO] [stderr] 206 | ...                   Some(MouseEventArgType::RightButtonDown) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MouseEventArgType`
[INFO] [stderr]    --> src/ui_apiw.rs:209:38
[INFO] [stderr]     |
[INFO] [stderr] 209 | ...                   Some(MouseEventArgType::RightButtonUp) => {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^ use of undeclared type or module `MouseEventArgType`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr]    --> src/view_assets.rs:231:33
[INFO] [stderr]     |
[INFO] [stderr] 231 |                 let mut memdc = LocalDeviceContext::new_compatible_memory_dc_for_current_screen()
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:233:30
[INFO] [stderr]     |
[INFO] [stderr] 233 |                 let bitmap = Bitmap::load_from_resource_id(IDB_BLOCKS as _)
[INFO] [stderr]     |                              ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:313:13
[INFO] [stderr]     |
[INFO] [stderr] 313 |             Bitmap::load_from_resource_id(IDB_BLOCKS as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:23:30
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub type UiResult<T> = apiw::Result<T>;
[INFO] [stderr]    |                              ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:45:45
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub(crate) fn initialization() -> apiw::Result<()> {
[INFO] [stderr]    |                                             ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:61:68
[INFO] [stderr]    |
[INFO] [stderr] 61 |             let mut game = game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DialogBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:354:33
[INFO] [stderr]     |
[INFO] [stderr] 354 | ...                   DialogBuilder::new_from_resource_id(resources::IDD_ABOUTBOX as _)
[INFO] [stderr]     |                       ^^^^^^^^^^^^^ use of undeclared type or module `DialogBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:142:38
[INFO] [stderr]     |
[INFO] [stderr] 142 |     fn create_main_window() -> apiw::Result<()> {
[INFO] [stderr]     |                                      ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WindowProcRequest` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:150:45
[INFO] [stderr]     |
[INFO] [stderr] 150 |         fn main_window_handler(mut request: WindowProcRequest) {
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:155:41
[INFO] [stderr]     |
[INFO] [stderr] 155 |                 .route_create(|window: &ForeignWindow, _| -> apiw::Result<bool> {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:155:68
[INFO] [stderr]     |
[INFO] [stderr] 155 |                 .route_create(|window: &ForeignWindow, _| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                    ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:157:80
[INFO] [stderr]     |
[INFO] [stderr] 157 |                         let mut game = game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:165:40
[INFO] [stderr]     |
[INFO] [stderr] 165 |                 .route_paint(|window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:165:64
[INFO] [stderr]     |
[INFO] [stderr] 165 |                 .route_paint(|window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:169:72
[INFO] [stderr]     |
[INFO] [stderr] 169 |                         let game = game.try_borrow().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                                        ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:177:32
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MouseEventArgs` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:177:59
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:177:84
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                                    ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:182:73
[INFO] [stderr]     |
[INFO] [stderr] 182 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:229:31
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CommandEventArgs` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:229:52
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:229:79
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                               ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:236:81
[INFO] [stderr]     |
[INFO] [stderr] 236 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:249:81
[INFO] [stderr]     |
[INFO] [stderr] 249 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:272:81
[INFO] [stderr]     |
[INFO] [stderr] 272 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:286:81
[INFO] [stderr]     |
[INFO] [stderr] 286 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:314:64
[INFO] [stderr]     |
[INFO] [stderr] 314 | ...                   .or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr]    --> src/ui_apiw.rs:365:21
[INFO] [stderr]     |
[INFO] [stderr] 365 |                     ForeignMessageLoop::request_quit();
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:329:64
[INFO] [stderr]     |
[INFO] [stderr] 329 | ...                   .or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:342:81
[INFO] [stderr]     |
[INFO] [stderr] 342 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:362:43
[INFO] [stderr]     |
[INFO] [stderr] 362 |                 .route_destroy(|_window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:362:67
[INFO] [stderr]     |
[INFO] [stderr] 362 |                 .route_destroy(|_window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                   ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TimerProcRequest` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:373:47
[INFO] [stderr]     |
[INFO] [stderr] 373 |         fn main_window_timer_handler(request: TimerProcRequest) {
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:417:45
[INFO] [stderr]     |
[INFO] [stderr] 417 |     pub(crate) fn run_event_loop() -> apiw::Result<()> {
[INFO] [stderr]     |                                             ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:26:18
[INFO] [stderr]    |
[INFO] [stderr] 26 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                                          - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:27:18
[INFO] [stderr]    |
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^     - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:32:27
[INFO] [stderr]    |
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                                          - help: you might be missing a type parameter: `, Bitmap`
[INFO] [stderr] ...
[INFO] [stderr] 32 |     sprite_bitmap: Option<Bitmap>,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl<'a, 'd, S, D> SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 37 | where
[INFO] [stderr] 38 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl<'a, 'd, S, D> SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr] ...
[INFO] [stderr] 39 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowClassBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:379:28
[INFO] [stderr]     |
[INFO] [stderr] 379 |         let window_class = WindowClassBuilder::new("CharlesMineWnd")
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `WindowClassBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:380:51
[INFO] [stderr]     |
[INFO] [stderr] 380 |             .background_brush_from_syscolor(apiw::windows_subsystem::window::SysColor::BUTTON_FACE)
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows_subsystem` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:381:42
[INFO] [stderr]     |
[INFO] [stderr] 381 |             .cursor_from_syscursor(apiw::windows_subsystem::window::SysCursor::ARROW)
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^ could not find `windows_subsystem` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowBuilder`
[INFO] [stderr]    --> src/ui_apiw.rs:390:22
[INFO] [stderr]     |
[INFO] [stderr] 390 |         let window = WindowBuilder::new(&window_class)
[INFO] [stderr]     |                      ^^^^^^^^^^^^^ use of undeclared type or module `WindowBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:393:17
[INFO] [stderr]     |
[INFO] [stderr] 393 |                 WindowStyles::CAPTION
[INFO] [stderr]     |                 ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:394:23
[INFO] [stderr]     |
[INFO] [stderr] 394 |                     | WindowStyles::VISIBLE
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/view_assets.rs:42:73
[INFO] [stderr]    |
[INFO] [stderr] 42 |     pub fn draw_sprite(&mut self, dest_pos: Point, idx: usize) -> apiw::Result<()> {
[INFO] [stderr]    |                                                                         ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:395:23
[INFO] [stderr]     |
[INFO] [stderr] 395 |                     | WindowStyles::CLIPSIBLINGS
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:396:23
[INFO] [stderr]     |
[INFO] [stderr] 396 |                     | WindowStyles::SYSMENU
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:397:23
[INFO] [stderr]     |
[INFO] [stderr] 397 |                     | WindowStyles::OVERLAPPED
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowStyles`
[INFO] [stderr]    --> src/ui_apiw.rs:398:23
[INFO] [stderr]     |
[INFO] [stderr] 398 |                     | WindowStyles::MINIMIZEBOX,
[INFO] [stderr]     |                       ^^^^^^^^^^^^ use of undeclared type or module `WindowStyles`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:411:25
[INFO] [stderr]     |
[INFO] [stderr] 411 |             .show(apiw::shared::exe_cmd_show())?
[INFO] [stderr]     |                         ^^^^^^ could not find `shared` in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:60:18
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl<'a, 'd, S, D> Drop for SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 59 | where
[INFO] [stderr] 60 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:61:18
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl<'a, 'd, S, D> Drop for SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr] ...
[INFO] [stderr] 61 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:84:34
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn bitmap_instance(&self) -> Bitmap;
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:86:53
[INFO] [stderr]    |
[INFO] [stderr] 86 |     fn reuse_bitmap_instance(&self, clean_instance: Bitmap);
[INFO] [stderr]    |                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr]    --> src/ui_apiw.rs:419:27
[INFO] [stderr]     |
[INFO] [stderr] 419 |         let mut msgloop = ForeignMessageLoop::for_current_thread();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ForeignMessageLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:90:28
[INFO] [stderr]    |
[INFO] [stderr] 90 |         target_dc: &'b mut ScopedDeviceContext<'c>,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/view_assets.rs:91:16
[INFO] [stderr]    |
[INFO] [stderr] 91 |     ) -> apiw::Result<
[INFO] [stderr]    |                ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PenBuilder`
[INFO] [stderr]    --> src/view.rs:123:20
[INFO] [stderr]     |
[INFO] [stderr] 123 |         let pen1 = PenBuilder::new()
[INFO] [stderr]     |                    ^^^^^^^^^^ use of undeclared type or module `PenBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PenBuilder`
[INFO] [stderr]    --> src/view.rs:128:20
[INFO] [stderr]     |
[INFO] [stderr] 128 |         let pen2 = PenBuilder::new()
[INFO] [stderr]     |                    ^^^^^^^^^^ use of undeclared type or module `PenBuilder`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:92:37
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub trait SpriteSheet {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<LocalDeviceContext>`
[INFO] [stderr] ...
[INFO] [stderr] 92 |         SpriteSheetInstance<'a, 'c, LocalDeviceContext, &'b mut ScopedDeviceContext<'c>>,
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GraphicsMode`
[INFO] [stderr]    --> src/view.rs:297:30
[INFO] [stderr]     |
[INFO] [stderr] 297 |         dc.set_graphics_mode(GraphicsMode::ADVANCED)?;
[INFO] [stderr]     |                              ^^^^^^^^^^^^ use of undeclared type or module `GraphicsMode`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Transform`
[INFO] [stderr]    --> src/view.rs:298:33
[INFO] [stderr]     |
[INFO] [stderr] 298 |         dc.set_world_transform(&Transform::new_with_values(&[v, 0.0, 0.0, v, 0.0, 0.0]))?;
[INFO] [stderr]     |                                 ^^^^^^^^^ use of undeclared type or module `Transform`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:92:65
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub trait SpriteSheet {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<ScopedDeviceContext>`
[INFO] [stderr] ...
[INFO] [stderr] 92 |         SpriteSheetInstance<'a, 'c, LocalDeviceContext, &'b mut ScopedDeviceContext<'c>>,
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:112:34
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub struct DigitSpriteSheet {
[INFO] [stderr]     |                            - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 112 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:143:34
[INFO] [stderr]     |
[INFO] [stderr] 143 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:151:40
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:157:34
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub struct GameButtonSpriteSheet {
[INFO] [stderr]     |                                 - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 157 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:189:34
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:197:40
[INFO] [stderr]     |
[INFO] [stderr] 197 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:203:34
[INFO] [stderr]     |
[INFO] [stderr] 202 | pub struct BlockSpriteSheet {
[INFO] [stderr]     |                            - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 203 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/view_assets.rs:228:76
[INFO] [stderr]     |
[INFO] [stderr] 228 |     pub fn hit_test_shape(shape: BlockShape, pos: (usize, usize)) -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                            ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]    --> src/view_assets.rs:230:38
[INFO] [stderr]     |
[INFO] [stderr] 230 |             static SHAPE_DC: RefCell<LocalDeviceContext> = {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:309:34
[INFO] [stderr]     |
[INFO] [stderr] 309 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:317:40
[INFO] [stderr]     |
[INFO] [stderr] 317 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/main.rs:36:20
[INFO] [stderr]    |
[INFO] [stderr] 36 | fn main() -> apiw::Result<()> {
[INFO] [stderr]    |                    ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr]   --> src/view_assets.rs:97:29
[INFO] [stderr]    |
[INFO] [stderr] 97 |         let mut memory_dc = LocalDeviceContext::new_compatible_memory_dc(target_dc)?;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 127 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |             Bitmap::load_from_resource_id(IDB_DIGIT as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `charlesmine`.
[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[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 |             Bitmap::load_from_resource_id(IDB_BUTTON as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr]    --> src/view_assets.rs:231:33
[INFO] [stderr]     |
[INFO] [stderr] 231 |                 let mut memdc = LocalDeviceContext::new_compatible_memory_dc_for_current_screen()
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:233:30
[INFO] [stderr]     |
[INFO] [stderr] 233 |                 let bitmap = Bitmap::load_from_resource_id(IDB_BLOCKS as _)
[INFO] [stderr]     |                              ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bitmap`
[INFO] [stderr]    --> src/view_assets.rs:313:13
[INFO] [stderr]     |
[INFO] [stderr] 313 |             Bitmap::load_from_resource_id(IDB_BLOCKS as _).expect("Failed to load resource bitmap.")
[INFO] [stderr]     |             ^^^^^^ use of undeclared type or module `Bitmap`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:23:30
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub type UiResult<T> = apiw::Result<T>;
[INFO] [stderr]    |                              ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:45:45
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub(crate) fn initialization() -> apiw::Result<()> {
[INFO] [stderr]    |                                             ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]   --> src/ui_apiw.rs:61:68
[INFO] [stderr]    |
[INFO] [stderr] 61 |             let mut game = game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:142:38
[INFO] [stderr]     |
[INFO] [stderr] 142 |     fn create_main_window() -> apiw::Result<()> {
[INFO] [stderr]     |                                      ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WindowProcRequest` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:150:45
[INFO] [stderr]     |
[INFO] [stderr] 150 |         fn main_window_handler(mut request: WindowProcRequest) {
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:155:41
[INFO] [stderr]     |
[INFO] [stderr] 155 |                 .route_create(|window: &ForeignWindow, _| -> apiw::Result<bool> {
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:155:68
[INFO] [stderr]     |
[INFO] [stderr] 155 |                 .route_create(|window: &ForeignWindow, _| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                    ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:157:80
[INFO] [stderr]     |
[INFO] [stderr] 157 |                         let mut game = game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                                                ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:165:40
[INFO] [stderr]     |
[INFO] [stderr] 165 |                 .route_paint(|window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:165:64
[INFO] [stderr]     |
[INFO] [stderr] 165 |                 .route_paint(|window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:169:72
[INFO] [stderr]     |
[INFO] [stderr] 169 |                         let game = game.try_borrow().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                                        ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:177:32
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MouseEventArgs` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:177:59
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:177:84
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     |_window: &ForeignWindow, mouse_args: MouseEventArgs| -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                                    ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:182:73
[INFO] [stderr]     |
[INFO] [stderr] 182 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:229:31
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `CommandEventArgs` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:229:52
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:229:79
[INFO] [stderr]     |
[INFO] [stderr] 229 |                     |window: &ForeignWindow, args: CommandEventArgs| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                               ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:236:81
[INFO] [stderr]     |
[INFO] [stderr] 236 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:249:81
[INFO] [stderr]     |
[INFO] [stderr] 249 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:272:81
[INFO] [stderr]     |
[INFO] [stderr] 272 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:286:81
[INFO] [stderr]     |
[INFO] [stderr] 286 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:314:64
[INFO] [stderr]     |
[INFO] [stderr] 314 | ...                   .or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:329:64
[INFO] [stderr]     |
[INFO] [stderr] 329 | ...                   .or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `internal_error` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:342:81
[INFO] [stderr]     |
[INFO] [stderr] 342 | ...                   game.try_borrow_mut().or_else(|_| apiw::internal_error())?;
[INFO] [stderr]     |                                                               ^^^^^^^^^^^^^^ not found in `apiw`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ForeignWindow` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:362:43
[INFO] [stderr]     |
[INFO] [stderr] 362 |                 .route_destroy(|_window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:362:67
[INFO] [stderr]     |
[INFO] [stderr] 362 |                 .route_destroy(|_window: &ForeignWindow| -> apiw::Result<()> {
[INFO] [stderr]     |                                                                   ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TimerProcRequest` in this scope
[INFO] [stderr]    --> src/ui_apiw.rs:373:47
[INFO] [stderr]     |
[INFO] [stderr] 373 |         fn main_window_timer_handler(request: TimerProcRequest) {
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/ui_apiw.rs:417:45
[INFO] [stderr]     |
[INFO] [stderr] 417 |     pub(crate) fn run_event_loop() -> apiw::Result<()> {
[INFO] [stderr]     |                                             ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 3   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:26:18
[INFO] [stderr]    |
[INFO] [stderr] 26 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                                          - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:27:18
[INFO] [stderr]    |
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^     - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:32:27
[INFO] [stderr]    |
[INFO] [stderr] 27 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                                          - help: you might be missing a type parameter: `, Bitmap`
[INFO] [stderr] ...
[INFO] [stderr] 32 |     sprite_bitmap: Option<Bitmap>,
[INFO] [stderr]    |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl<'a, 'd, S, D> SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 37 | where
[INFO] [stderr] 38 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl<'a, 'd, S, D> SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr] ...
[INFO] [stderr] 39 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/view_assets.rs:42:73
[INFO] [stderr]    |
[INFO] [stderr] 42 |     pub fn draw_sprite(&mut self, dest_pos: Point, idx: usize) -> apiw::Result<()> {
[INFO] [stderr]    |                                                                         ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:60:18
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl<'a, 'd, S, D> Drop for SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, LocalDeviceContext`
[INFO] [stderr] 59 | where
[INFO] [stderr] 60 |     S: BorrowMut<LocalDeviceContext>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:61:18
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl<'a, 'd, S, D> Drop for SpriteSheetInstance<'a, 'd, S, D>
[INFO] [stderr]    |                  - help: you might be missing a type parameter: `, ScopedDeviceContext`
[INFO] [stderr] ...
[INFO] [stderr] 61 |     D: BorrowMut<ScopedDeviceContext<'d>>,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:84:34
[INFO] [stderr]    |
[INFO] [stderr] 84 |     fn bitmap_instance(&self) -> Bitmap;
[INFO] [stderr]    |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]   --> src/view_assets.rs:86:53
[INFO] [stderr]    |
[INFO] [stderr] 86 |     fn reuse_bitmap_instance(&self, clean_instance: Bitmap);
[INFO] [stderr]    |                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:90:28
[INFO] [stderr]    |
[INFO] [stderr] 90 |         target_dc: &'b mut ScopedDeviceContext<'c>,
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/view_assets.rs:91:16
[INFO] [stderr]    |
[INFO] [stderr] 91 |     ) -> apiw::Result<
[INFO] [stderr]    |                ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:92:37
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub trait SpriteSheet {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<LocalDeviceContext>`
[INFO] [stderr] ...
[INFO] [stderr] 92 |         SpriteSheetInstance<'a, 'c, LocalDeviceContext, &'b mut ScopedDeviceContext<'c>>,
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ScopedDeviceContext` in this scope
[INFO] [stderr]   --> src/view_assets.rs:92:65
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub trait SpriteSheet {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<ScopedDeviceContext>`
[INFO] [stderr] ...
[INFO] [stderr] 92 |         SpriteSheetInstance<'a, 'c, LocalDeviceContext, &'b mut ScopedDeviceContext<'c>>,
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:112:34
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub struct DigitSpriteSheet {
[INFO] [stderr]     |                            - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 112 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:143:34
[INFO] [stderr]     |
[INFO] [stderr] 143 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:151:40
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:157:34
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub struct GameButtonSpriteSheet {
[INFO] [stderr]     |                                 - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 157 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:189:34
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:197:40
[INFO] [stderr]     |
[INFO] [stderr] 197 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:203:34
[INFO] [stderr]     |
[INFO] [stderr] 202 | pub struct BlockSpriteSheet {
[INFO] [stderr]     |                            - help: you might be missing a type parameter: `<Bitmap>`
[INFO] [stderr] 203 |     instances: RefCell<SmallVec<[Bitmap; 1]>>,
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]    --> src/view_assets.rs:228:76
[INFO] [stderr]     |
[INFO] [stderr] 228 |     pub fn hit_test_shape(shape: BlockShape, pos: (usize, usize)) -> apiw::Result<bool> {
[INFO] [stderr]     |                                                                            ^^^^^^ not found in `apiw`
[INFO] [stderr]     |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::prelude::v1::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::result::Result;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use std::fmt::Result;
[INFO] [stderr]     |
[INFO] [stderr]       and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LocalDeviceContext` in this scope
[INFO] [stderr]    --> src/view_assets.rs:230:38
[INFO] [stderr]     |
[INFO] [stderr] 230 |             static SHAPE_DC: RefCell<LocalDeviceContext> = {
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:309:34
[INFO] [stderr]     |
[INFO] [stderr] 309 |     fn bitmap_instance(&self) -> Bitmap {
[INFO] [stderr]     |                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Bitmap` in this scope
[INFO] [stderr]    --> src/view_assets.rs:317:40
[INFO] [stderr]     |
[INFO] [stderr] 317 |     fn reuse_bitmap_instance(&self, v: Bitmap) {
[INFO] [stderr]     |                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Result` in crate `apiw`
[INFO] [stderr]   --> src/main.rs:36:20
[INFO] [stderr]    |
[INFO] [stderr] 36 | fn main() -> apiw::Result<()> {
[INFO] [stderr]    |                    ^^^^^^ not found in `apiw`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::prelude::v1::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use core::result::Result;
[INFO] [stderr]    |
[INFO] [stderr] 4  | use std::fmt::Result;
[INFO] [stderr]    |
[INFO] [stderr]      and 4 other candidates
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 127 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `charlesmine`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "4b06ee03465cbc94edec2a800ebfdd3113724844db8029ef6a0b7a8b5f3bc8ee"`
[INFO] running `"docker" "rm" "-f" "4b06ee03465cbc94edec2a800ebfdd3113724844db8029ef6a0b7a8b5f3bc8ee"`
[INFO] [stdout] 4b06ee03465cbc94edec2a800ebfdd3113724844db8029ef6a0b7a8b5f3bc8ee
