[INFO] crate read 0.1.1 is already in cache
[INFO] checking read-0.1.1 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate read 0.1.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate read 0.1.1 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate read 0.1.1
[INFO] finished tweaking crates.io crate read 0.1.1
[INFO] tweaked toml for crates.io crate read 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+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] 96c2e01822b5bdc431f9eace71413f0e2c6341a456f3676f494eb7b3418b70a6
[INFO] running `"docker" "start" "-a" "96c2e01822b5bdc431f9eace71413f0e2c6341a456f3676f494eb7b3418b70a6"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking read v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 | use winapi::um::{minwinbase::LMEM_MOVEABLE, winnt::{LPCWSTR, LONG, HANDLE}};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::shared`
[INFO] [stderr]   --> src/main.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 | use winapi::shared::windowsx as winx;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 | use winapi::shared::minwindef::{INT, UINT, DWORD, MAX_PATH, HINSTANCE, HGLOBAL, LRESULT, LPVOID, WPARAM, LPARAM, HIWORD, LOWORD};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:40:95
[INFO] [stderr]    |
[INFO] [stderr] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt};
[INFO] [stderr]    |                                                                                               ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::um`, `user::WS_OVERLAPPEDWINDOW`, `user::WS_VISIBLE`, `user::WS_CHILD`, `user::WS_BORDER`, `user::WS_SYSMENU`, `user::WS_POPUP`, `user::WS_CAPTION`, `user::WNDCLASSEXW`, `user::WNDPROC`, `user::LPCREATESTRUCTW`
[INFO] [stderr]   --> src/main.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 | use winapi::um::{shellapi as shell, winuser as user, wingdi as gdi, winbase as win};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 39 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WS_CHILD, WS_BORDER, WS_SYSMENU, WS_POPUP, WS_CAPTION, WNDCLASSEXW, WNDPROC, LPCREATESTRUCTW};
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 | use winapi::um::{minwinbase::LMEM_MOVEABLE, winnt::{LPCWSTR, LONG, HANDLE}};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::shared`
[INFO] [stderr]   --> src/main.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 | use winapi::shared::windowsx as winx;
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 | use winapi::shared::minwindef::{INT, UINT, DWORD, MAX_PATH, HINSTANCE, HGLOBAL, LRESULT, LPVOID, WPARAM, LPARAM, HIWORD, LOWORD};
[INFO] [stderr]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]   --> src/main.rs:40:95
[INFO] [stderr]    |
[INFO] [stderr] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt};
[INFO] [stderr]    |                                                                                               ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `winapi::um`, `user::WS_OVERLAPPEDWINDOW`, `user::WS_VISIBLE`, `user::WS_CHILD`, `user::WS_BORDER`, `user::WS_SYSMENU`, `user::WS_POPUP`, `user::WS_CAPTION`, `user::WNDCLASSEXW`, `user::WNDPROC`, `user::LPCREATESTRUCTW`
[INFO] [stderr]   --> src/main.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 | use winapi::um::{shellapi as shell, winuser as user, wingdi as gdi, winbase as win};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] ...
[INFO] [stderr] 39 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WS_CHILD, WS_BORDER, WS_SYSMENU, WS_POPUP, WS_CAPTION, WNDCLASSEXW, WNDPROC, LPCREATESTRUCTW};
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:49:15
[INFO] [stderr]    |
[INFO] [stderr] 49 | struct CH {x :LONG, y :LONG, c :char}
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:49:24
[INFO] [stderr]    |
[INFO] [stderr] 49 | struct CH {x :LONG, y :LONG, c :char}
[INFO] [stderr]    |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]   --> src/main.rs:50:18
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:31
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:44
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:59
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:50:70
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]   --> src/main.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |   static ref POS: Mutex<POINT> = Mutex::new(POINT{x:0, y:0});
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]   --> src/main.rs:57:45
[INFO] [stderr]    |
[INFO] [stderr] 57 |   static ref POS: Mutex<POINT> = Mutex::new(POINT{x:0, y:0});
[INFO] [stderr]    |                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:58:25
[INFO] [stderr]    |
[INFO] [stderr] 58 |   static ref CHX: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:59:25
[INFO] [stderr]    |
[INFO] [stderr] 59 |   static ref CHY: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:60:25
[INFO] [stderr]    |
[INFO] [stderr] 60 |   static ref DEY: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 64 |   static ref SCREEN: Mutex<LONG> = Mutex::new(31);
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn copy(w :HWND, f :HFONT)
[INFO] [stderr]    |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]   --> src/main.rs:77:21
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn copy(w :HWND, f :HFONT)
[INFO] [stderr]    |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGLOBAL` in this scope
[INFO] [stderr]   --> src/main.rs:88:15
[INFO] [stderr]    |
[INFO] [stderr] 88 |       let hg :HGLOBAL = win::GlobalAlloc(LMEM_MOVEABLE, region.e - region.s);
[INFO] [stderr]    |               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LMEM_MOVEABLE` in this scope
[INFO] [stderr]   --> src/main.rs:88:42
[INFO] [stderr]    |
[INFO] [stderr] 88 |       let hg :HGLOBAL = win::GlobalAlloc(LMEM_MOVEABLE, region.e - region.s);
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 | fn paste(w :HWND, f :HFONT)
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:103:22
[INFO] [stderr]     |
[INFO] [stderr] 103 | fn paste(w :HWND, f :HFONT)
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:108:17
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let handle :HANDLE = user::GetClipboardData(user::CF_TEXT);
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:119:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn file(w :HWND, f :HFONT, path :String, mode :u8)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:119:21
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn file(w :HWND, f :HFONT, path :String, mode :u8)
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:134:34
[INFO] [stderr]     |
[INFO] [stderr] 134 |           *POS.lock().unwrap() = POINT{x:0, y:0};
[INFO] [stderr]     |                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:162:22
[INFO] [stderr]     |
[INFO] [stderr] 162 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:163:22
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:165:22
[INFO] [stderr]     |
[INFO] [stderr] 165 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:166:22
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:183:20
[INFO] [stderr]     |
[INFO] [stderr] 183 | fn getlastpos() -> POINT
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:189:18
[INFO] [stderr]     |
[INFO] [stderr] 189 |     0 => {return POINT{x:0, y:0};},
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:194:27
[INFO] [stderr]     |
[INFO] [stderr] 194 |         NEWLINE => return POINT{x:0, y:vec[len-1].y+1},
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:195:21
[INFO] [stderr]     |
[INFO] [stderr] 195 |         _ => return POINT{x:vec[len-1].x+1, y:vec[len-1].y},
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDPROC` in this scope
[INFO] [stderr]    --> src/main.rs:255:45
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:255:60
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/main.rs:255:74
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/main.rs:255:100
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:255:111
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:259:15
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let wnd = WNDCLASSEXW
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:261:30
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |          - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 261 |       cbSize: mem::size_of::<WNDCLASSEXW>() as u32,
[INFO] [stderr]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:263:23
[INFO] [stderr]     |
[INFO] [stderr] 263 |       hInstance: 0 as HINSTANCE, hIcon: icon as HICON,
[INFO] [stderr]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:263:49
[INFO] [stderr]     |
[INFO] [stderr] 263 |       hInstance: 0 as HINSTANCE, hIcon: icon as HICON,
[INFO] [stderr]     |                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:264:21
[INFO] [stderr]     |
[INFO] [stderr] 264 |       hCursor: 0 as HICON, // user32::LoadCursorW(0 as HINSTANCE, user::IDI_APPLICATION),
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:265:27
[INFO] [stderr]     |
[INFO] [stderr] 265 |       hbrBackground: 0 as HBRUSH, lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/main.rs:265:54
[INFO] [stderr]     |
[INFO] [stderr] 265 |       hbrBackground: 0 as HBRUSH, lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                                                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:266:51
[INFO] [stderr]     |
[INFO] [stderr] 266 |       lpszClassName: c.as_ptr(), hIconSm: icon as HICON,
[INFO] [stderr]     |                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:270:31
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/main.rs:270:42
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:270:54
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:273:20
[INFO] [stderr]     |
[INFO] [stderr] 273 | fn change_state(w :HWND, icon :HICON)
[INFO] [stderr]     |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:273:32
[INFO] [stderr]     |
[INFO] [stderr] 273 | fn change_state(w :HWND, icon :HICON)
[INFO] [stderr]     |                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:275:85
[INFO] [stderr]     |
[INFO] [stderr] 275 |   unsafe{user::SendMessageW(w, user::WM_SETICON, user::ICON_SMALL as usize, icon as LPARAM);}
[INFO] [stderr]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:277:19
[INFO] [stderr]     |
[INFO] [stderr] 277 | fn clearscreen(w :HWND)
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:287:15
[INFO] [stderr]     |
[INFO] [stderr] 287 | fn clearch(w :HWND, i :usize, r :i32)
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:292:18
[INFO] [stderr]     |
[INFO] [stderr] 292 | fn clearrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:292:27
[INFO] [stderr]     |
[INFO] [stderr] 292 | fn clearrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:296:17
[INFO] [stderr]     |
[INFO] [stderr] 296 | fn drawrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:296:26
[INFO] [stderr]     |
[INFO] [stderr] 296 | fn drawrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:300:25
[INFO] [stderr]     |
[INFO] [stderr] 300 | fn getrect(i :usize) -> RECT
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:305:11
[INFO] [stderr]     |
[INFO] [stderr] 305 |   let r = RECT{left:v[i].x*w,top:(v[i].y*h),right:(v[i].x*w+w),bottom:(v[i].y*h+h)};
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:320:36
[INFO] [stderr]     |
[INFO] [stderr] 320 | fn getpos(x :i32, y:i32) -> Option<POINT>
[INFO] [stderr]     |          -                         ^^^^^ not found in this scope
[INFO] [stderr]     |          |
[INFO] [stderr]     |          help: you might be missing a type parameter: `<POINT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:328:54
[INFO] [stderr]     |
[INFO] [stderr] 328 |        ((v.x*w <= x) && (v.x*w+w > x))  {return Some(POINT{x:v.x, y:v.y});}
[INFO] [stderr]     |                                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:370:14
[INFO] [stderr]     |
[INFO] [stderr] 370 | fn delete(w :HWND, f :HFONT)
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:370:23
[INFO] [stderr]     |
[INFO] [stderr] 370 | fn delete(w :HWND, f :HFONT)
[INFO] [stderr]     |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:468:13
[INFO] [stderr]     |
[INFO] [stderr] 468 | fn enter(w :HWND, f :HFONT){save(CH{x:getposx(),y:getposy(),c:NEWLINE});}
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:468:22
[INFO] [stderr]     |
[INFO] [stderr] 468 | fn enter(w :HWND, f :HFONT){save(CH{x:getposx(),y:getposy(),c:NEWLINE});}
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:469:12
[INFO] [stderr]     |
[INFO] [stderr] 469 | fn draw(w :HWND, f :HFONT, buffer :String)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:469:21
[INFO] [stderr]     |
[INFO] [stderr] 469 | fn draw(w :HWND, f :HFONT, buffer :String)
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:490:13
[INFO] [stderr]     |
[INFO] [stderr] 490 | fn copy2(w :HWND, f :HFONT, mode :u8)
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:490:22
[INFO] [stderr]     |
[INFO] [stderr] 490 | fn copy2(w :HWND, f :HFONT, mode :u8)
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:500:14
[INFO] [stderr]     |
[INFO] [stderr] 500 | fn redraw(w :HWND, f :HFONT, offset: isize, mode :u8, s :usize, e :usize)
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:500:23
[INFO] [stderr]     |
[INFO] [stderr] 500 | fn redraw(w :HWND, f :HFONT, offset: isize, mode :u8, s :usize, e :usize)
[INFO] [stderr]     |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:520:16
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:520:25
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:520:43
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:520:54
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/main.rs:524:32
[INFO] [stderr]     |
[INFO] [stderr] 524 |     let dc = user::GetDC(w) as HDC;
[INFO] [stderr]     |                                ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stderr]    --> src/main.rs:525:32
[INFO] [stderr]     |
[INFO] [stderr] 525 |     gdi::SelectObject(dc, f as HGDIOBJ);
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:555:14
[INFO] [stderr]     |
[INFO] [stderr] 555 | fn key_up(w :HWND){let y = getposy();if y == 0 {return;} hidecaret(w);setposmy(1); showcaret(w);}
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:556:16
[INFO] [stderr]     |
[INFO] [stderr] 556 | fn key_down(w :HWND){hidecaret(w);setpospy(1);showcaret(w);}
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:557:16
[INFO] [stderr]     |
[INFO] [stderr] 557 | fn key_left(w :HWND)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:571:17
[INFO] [stderr]     |
[INFO] [stderr] 571 | fn key_right(w :HWND, f :HFONT)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:571:26
[INFO] [stderr]     |
[INFO] [stderr] 571 | fn key_right(w :HWND, f :HFONT)
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:603:17
[INFO] [stderr]     |
[INFO] [stderr] 603 | fn showcaret(w :HWND)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:632:17
[INFO] [stderr]     |
[INFO] [stderr] 632 | fn hidecaret(w :HWND) {unsafe{user::HideCaret(w);}}
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:633:16
[INFO] [stderr]     |
[INFO] [stderr] 633 | fn wheel_up(w :HWND, f :HFONT)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:633:25
[INFO] [stderr]     |
[INFO] [stderr] 633 | fn wheel_up(w :HWND, f :HFONT)
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:654:18
[INFO] [stderr]     |
[INFO] [stderr] 654 | fn wheel_down(w :HWND, f :HFONT)
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:654:27
[INFO] [stderr]     |
[INFO] [stderr] 654 | fn wheel_down(w :HWND, f :HFONT)
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:671:12
[INFO] [stderr]     |
[INFO] [stderr] 671 | fn ctrl(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:671:21
[INFO] [stderr]     |
[INFO] [stderr] 671 | fn ctrl(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:752:16
[INFO] [stderr]     |
[INFO] [stderr] 752 | fn key_0x44(w :HWND)                                      // key D
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:757:16
[INFO] [stderr]     |
[INFO] [stderr] 757 | fn key_0x47(w :HWND)                                      // key G
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:761:16
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn key_0x64(w :HWND, f :HFONT)                            // key dd
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:761:25
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn key_0x64(w :HWND, f :HFONT)                            // key dd
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:797:16
[INFO] [stderr]     |
[INFO] [stderr] 797 | fn key_0x67(w :HWND)                                      // key gg
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:815:16
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:815:25
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:815:38
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:819:16
[INFO] [stderr]     |
[INFO] [stderr] 819 | fn key_0x70(w :HWND, f :HFONT)                            // key p
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:819:25
[INFO] [stderr]     |
[INFO] [stderr] 819 | fn key_0x70(w :HWND, f :HFONT)                            // key p
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:848:16
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:848:25
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:848:38
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:864:16
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:864:25
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:864:38
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:889:16
[INFO] [stderr]     |
[INFO] [stderr] 889 | fn key_0x0D(w :HWND, f :HFONT)                            // enter
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:889:25
[INFO] [stderr]     |
[INFO] [stderr] 889 | fn key_0x0D(w :HWND, f :HFONT)                            // enter
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:893:17
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:893:26
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:893:36
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:950:12
[INFO] [stderr]     |
[INFO] [stderr] 950 | fn edit(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:950:21
[INFO] [stderr]     |
[INFO] [stderr] 950 | fn edit(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1029:17
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1029:27
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]     --> src/main.rs:1029:36
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1053:46
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1053:57
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1053:66
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1053:77
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]     --> src/main.rs:1053:88
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope
[INFO] [stderr]     --> src/main.rs:1059:27
[INFO] [stderr]      |
[INFO] [stderr] 1059 |       let param = &*(l as LPCREATESTRUCTW);
[INFO] [stderr]      |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1065:72
[INFO] [stderr]      |
[INFO] [stderr] 1065 |       let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/main.rs:1084:32
[INFO] [stderr]      |
[INFO] [stderr] 1084 |         let mut v = vec![0u16; MAX_PATH as usize];
[INFO] [stderr]      |                                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/main.rs:1085:57
[INFO] [stderr]      |
[INFO] [stderr] 1085 |         shell::DragQueryFileW(hdrop, 0, v.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]      |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1094:74
[INFO] [stderr]      |
[INFO] [stderr] 1094 |         let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1136:80
[INFO] [stderr]      |
[INFO] [stderr] 1136 |               let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1160:72
[INFO] [stderr]      |
[INFO] [stderr] 1160 |       let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1178:76
[INFO] [stderr]      |
[INFO] [stderr] 1178 |           let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope
[INFO] [stderr]     --> src/main.rs:1191:17
[INFO] [stderr]      |
[INFO] [stderr] 1191 |       let w_h = HIWORD(l as u32);
[INFO] [stderr]      |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1213:50
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1213:61
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1213:70
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1213:81
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]     --> src/main.rs:1213:92
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1242:38
[INFO] [stderr]      |
[INFO] [stderr] 1242 |     let icon = user::LoadImageW(0 as HINSTANCE, icon_name.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1245:39
[INFO] [stderr]      |
[INFO] [stderr] 1245 |     let icon2 = user::LoadImageW(0 as HINSTANCE, icon_name2.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1248:39
[INFO] [stderr]      |
[INFO] [stderr] 1248 |     let icon3 = user::LoadImageW(0 as HINSTANCE, icon_name3.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1251:82
[INFO] [stderr]      |
[INFO] [stderr] 1251 |     let sidehwnd = window(class_name2, win_name2, Some(sub_window_proc), icon as HICON, 
[INFO] [stderr]      |                                                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stderr]     --> src/main.rs:1252:27
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope
[INFO] [stderr]     --> src/main.rs:1252:38
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]     --> src/main.rs:1252:50
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1252:75
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:53
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:75
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:99
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1256:19
[INFO] [stderr]      |
[INFO] [stderr] 1256 |     let mov_ptr : LPVOID = &mut mov as *mut _ as LPVOID;
[INFO] [stderr]      |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1256:50
[INFO] [stderr]      |
[INFO] [stderr] 1256 |     let mov_ptr : LPVOID = &mut mov as *mut _ as LPVOID;
[INFO] [stderr]      |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1257:72
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/main.rs:1257:79
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]     --> src/main.rs:1257:101
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1262:42
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1262:62
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1262:82
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1262:104
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/main.rs:1262:124
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]     --> src/main.rs:1262:136
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1263:84
[INFO] [stderr]      |
[INFO] [stderr] 1263 |     if font != ptr::null_mut() {user::SendMessageW(hwnd, user::WM_SETFONT, font as WPARAM, 1);}
[INFO] [stderr]      |                                                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]     --> src/main.rs:1265:35
[INFO] [stderr]      |
[INFO] [stderr] 1265 |     let dc = user::GetDC(hwnd) as HDC;
[INFO] [stderr]      |                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `INT` in this scope
[INFO] [stderr]     --> src/main.rs:1266:22
[INFO] [stderr]      |
[INFO] [stderr] 1266 |     let mut char_w : INT = 0;
[INFO] [stderr]      |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stderr]     --> src/main.rs:1274:35
[INFO] [stderr]      |
[INFO] [stderr] 1274 |     gdi::SelectObject(dc, font as HGDIOBJ );
[INFO] [stderr]      |                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1275:35
[INFO] [stderr]      |
[INFO] [stderr] 1275 |     gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); 
[INFO] [stderr]      |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1275:46
[INFO] [stderr]      |
[INFO] [stderr] 1275 |     gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); 
[INFO] [stderr]      |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBITMAP` in this scope
[INFO] [stderr]     --> src/main.rs:1280:34
[INFO] [stderr]      |
[INFO] [stderr] 1280 |     user::CreateCaret(hwnd, 0 as HBITMAP, 1, tm.tmHeight);
[INFO] [stderr]      |                                  ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1290:48
[INFO] [stderr]      |
[INFO] [stderr] 1290 |       let m = user::GetMessageW(&mut msg, 0 as HWND, 0, 0);
[INFO] [stderr]      |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]   --> src/main.rs:40:32
[INFO] [stderr]    |
[INFO] [stderr] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt};
[INFO] [stderr]    |                                ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]   --> src/main.rs:81:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let region = {REGION.lock().unwrap()};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:157:27
[INFO] [stderr]     |
[INFO] [stderr] 157 | fn clear() {let mut vec = {TEXT.lock().unwrap()}; vec.clear();}
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:158:35
[INFO] [stderr]     |
[INFO] [stderr] 158 | fn remove(i :usize){let mut vec = {TEXT.lock().unwrap()}; vec.remove(i);}
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:159:42
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn insert(i :usize, c :CH){let mut vec = {TEXT.lock().unwrap()}; vec.insert(i, c)}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:160:30
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn save(c :CH){let mut vec = {TEXT.lock().unwrap()}; vec.push(c);}
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:161:36
[INFO] [stderr]     |
[INFO] [stderr] 161 | fn getlength() -> usize {let vec = {TEXT.lock().unwrap()}; let length = vec.len();length}
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:162:38
[INFO] [stderr]     |
[INFO] [stderr] 162 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:163:38
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:164:38
[INFO] [stderr]     |
[INFO] [stderr] 164 | fn getc(i :usize) -> char {let vec = {TEXT.lock().unwrap()}; let c = vec[i].c; c}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:165:42
[INFO] [stderr]     |
[INFO] [stderr] 165 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:166:42
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:169:11
[INFO] [stderr]     |
[INFO] [stderr] 169 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:178:11
[INFO] [stderr]     |
[INFO] [stderr] 178 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:179:13
[INFO] [stderr]     |
[INFO] [stderr] 179 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:185:13
[INFO] [stderr]     |
[INFO] [stderr] 185 |   let vec = {TEXT.lock().unwrap()}; 
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:202:11
[INFO] [stderr]     |
[INFO] [stderr] 202 |   let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:203:11
[INFO] [stderr]     |
[INFO] [stderr] 203 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:204:13
[INFO] [stderr]     |
[INFO] [stderr] 204 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:212:11
[INFO] [stderr]     |
[INFO] [stderr] 212 |   let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:213:11
[INFO] [stderr]     |
[INFO] [stderr] 213 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:214:13
[INFO] [stderr]     |
[INFO] [stderr] 214 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:219:13
[INFO] [stderr]     |
[INFO] [stderr] 219 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:237:17
[INFO] [stderr]     |
[INFO] [stderr] 237 |   let mut vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:242:13
[INFO] [stderr]     |
[INFO] [stderr] 242 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:248:17
[INFO] [stderr]     |
[INFO] [stderr] 248 |   let mut vec = {TEXT.lock().unwrap()}; 
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:302:11
[INFO] [stderr]     |
[INFO] [stderr] 302 |   let v = {TEXT.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:303:11
[INFO] [stderr]     |
[INFO] [stderr] 303 |   let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:304:11
[INFO] [stderr]     |
[INFO] [stderr] 304 |   let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:323:11
[INFO] [stderr]     |
[INFO] [stderr] 323 |   let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:324:11
[INFO] [stderr]     |
[INFO] [stderr] 324 |   let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:345:15
[INFO] [stderr]     |
[INFO] [stderr] 345 |   let start = {REGION.lock().unwrap().s};
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:361:13
[INFO] [stderr]     |
[INFO] [stderr] 361 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:482:22
[INFO] [stderr]     |
[INFO] [stderr] 482 |         let screen = {*SCREEN.lock().unwrap()};
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:492:20
[INFO] [stderr]     |
[INFO] [stderr] 492 |   let mut buffer = {BUFFER.lock().unwrap()};
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:493:16
[INFO] [stderr]     |
[INFO] [stderr] 493 |   let region = {REGION.lock().unwrap()};
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:508:19
[INFO] [stderr]     |
[INFO] [stderr] 508 |         let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:515:17
[INFO] [stderr]     |
[INFO] [stderr] 515 |       let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:583:17
[INFO] [stderr]     |
[INFO] [stderr] 583 |       let end = {*END.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:642:13
[INFO] [stderr]     |
[INFO] [stderr] 642 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:659:13
[INFO] [stderr]     |
[INFO] [stderr] 659 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:687:17
[INFO] [stderr]     |
[INFO] [stderr] 687 |       let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:748:14
[INFO] [stderr]     |
[INFO] [stderr] 748 |   let ch_h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:764:13
[INFO] [stderr]     |
[INFO] [stderr] 764 |   let key = {*KEY.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:799:13
[INFO] [stderr]     |
[INFO] [stderr] 799 |   let key = {*KEY.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:821:20
[INFO] [stderr]     |
[INFO] [stderr] 821 |   let mut buffer = {BUFFER.lock().unwrap()};
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:881:24
[INFO] [stderr]     |
[INFO] [stderr] 881 |           let region = {REGION.lock().unwrap()};
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]     --> src/main.rs:1146:36
[INFO] [stderr]      |
[INFO] [stderr] 1146 |                   let mut buffer = {RBUFFER.lock().unwrap()};
[INFO] [stderr]      |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]     --> src/main.rs:1181:21
[INFO] [stderr]      |
[INFO] [stderr] 1181 |           let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:72:26
[INFO] [stderr]    |
[INFO] [stderr] 72 |   return OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect();
[INFO] [stderr]    |                          ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:134:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 134 |             *POS.lock().unwrap() = POINT{x:0, y:0};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:49:15
[INFO] [stderr]    |
[INFO] [stderr] 49 | struct CH {x :LONG, y :LONG, c :char}
[INFO] [stderr]    |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:49:24
[INFO] [stderr]    |
[INFO] [stderr] 49 | struct CH {x :LONG, y :LONG, c :char}
[INFO] [stderr]    |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]   --> src/main.rs:50:18
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:31
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                               ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:44
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]   --> src/main.rs:50:59
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:50:70
[INFO] [stderr]    |
[INFO] [stderr] 50 | struct MV {font :HFONT, save: HICON, edit :HICON, visual :HICON, sw :HWND}
[INFO] [stderr]    |                                                                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]   --> src/main.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |   static ref POS: Mutex<POINT> = Mutex::new(POINT{x:0, y:0});
[INFO] [stderr]    |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:169:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 169 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]   --> src/main.rs:57:45
[INFO] [stderr]    |
[INFO] [stderr] 57 |   static ref POS: Mutex<POINT> = Mutex::new(POINT{x:0, y:0});
[INFO] [stderr]    |                                             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:58:25
[INFO] [stderr]    |
[INFO] [stderr] 58 |   static ref CHX: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:59:25
[INFO] [stderr]    |
[INFO] [stderr] 59 |   static ref CHY: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:60:25
[INFO] [stderr]    |
[INFO] [stderr] 60 |   static ref DEY: Mutex<LONG> = Mutex::new(0);
[INFO] [stderr]    |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]   --> src/main.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 64 |   static ref SCREEN: Mutex<LONG> = Mutex::new(31);
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn copy(w :HWND, f :HFONT)
[INFO] [stderr]    |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]   --> src/main.rs:77:21
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn copy(w :HWND, f :HFONT)
[INFO] [stderr]    |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGLOBAL` in this scope
[INFO] [stderr]   --> src/main.rs:88:15
[INFO] [stderr]    |
[INFO] [stderr] 88 |       let hg :HGLOBAL = win::GlobalAlloc(LMEM_MOVEABLE, region.e - region.s);
[INFO] [stderr]    |               ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `LMEM_MOVEABLE` in this scope
[INFO] [stderr]   --> src/main.rs:88:42
[INFO] [stderr]    |
[INFO] [stderr] 88 |       let hg :HGLOBAL = win::GlobalAlloc(LMEM_MOVEABLE, region.e - region.s);
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 | fn paste(w :HWND, f :HFONT)
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:103:22
[INFO] [stderr]     |
[INFO] [stderr] 103 | fn paste(w :HWND, f :HFONT)
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stderr]    --> src/main.rs:108:17
[INFO] [stderr]     |
[INFO] [stderr] 108 |     let handle :HANDLE = user::GetClipboardData(user::CF_TEXT);
[INFO] [stderr]     |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:119:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn file(w :HWND, f :HFONT, path :String, mode :u8)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:119:21
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn file(w :HWND, f :HFONT, path :String, mode :u8)
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:134:34
[INFO] [stderr]     |
[INFO] [stderr] 134 |           *POS.lock().unwrap() = POINT{x:0, y:0};
[INFO] [stderr]     |                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:162:22
[INFO] [stderr]     |
[INFO] [stderr] 162 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:163:22
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:165:22
[INFO] [stderr]     |
[INFO] [stderr] 165 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope
[INFO] [stderr]    --> src/main.rs:166:22
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;}
[INFO] [stderr]     |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:183:20
[INFO] [stderr]     |
[INFO] [stderr] 183 | fn getlastpos() -> POINT
[INFO] [stderr]     |                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:189:18
[INFO] [stderr]     |
[INFO] [stderr] 189 |     0 => {return POINT{x:0, y:0};},
[INFO] [stderr]     |                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:194:27
[INFO] [stderr]     |
[INFO] [stderr] 194 |         NEWLINE => return POINT{x:0, y:vec[len-1].y+1},
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:195:21
[INFO] [stderr]     |
[INFO] [stderr] 195 |         _ => return POINT{x:vec[len-1].x+1, y:vec[len-1].y},
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDPROC` in this scope
[INFO] [stderr]    --> src/main.rs:255:45
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                             ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:255:60
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]    --> src/main.rs:255:74
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]    --> src/main.rs:255:100
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:255:111
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |                                                                                                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:259:15
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let wnd = WNDCLASSEXW
[INFO] [stderr]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSEXW` in this scope
[INFO] [stderr]    --> src/main.rs:261:30
[INFO] [stderr]     |
[INFO] [stderr] 255 | fn window(c :Vec<u16>, win :Vec<u16>, proc :WNDPROC, icon :HICON, style :DWORD, w :i32, h :i32, v :LPVOID) -> HWND
[INFO] [stderr]     |          - help: you might be missing a type parameter: `<WNDCLASSEXW>`
[INFO] [stderr] ...
[INFO] [stderr] 261 |       cbSize: mem::size_of::<WNDCLASSEXW>() as u32,
[INFO] [stderr]     |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:263:23
[INFO] [stderr]     |
[INFO] [stderr] 263 |       hInstance: 0 as HINSTANCE, hIcon: icon as HICON,
[INFO] [stderr]     |                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:263:49
[INFO] [stderr]     |
[INFO] [stderr] 263 |       hInstance: 0 as HINSTANCE, hIcon: icon as HICON,
[INFO] [stderr]     |                                                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:264:21
[INFO] [stderr]     |
[INFO] [stderr] 264 |       hCursor: 0 as HICON, // user32::LoadCursorW(0 as HINSTANCE, user::IDI_APPLICATION),
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]    --> src/main.rs:265:27
[INFO] [stderr]     |
[INFO] [stderr] 265 |       hbrBackground: 0 as HBRUSH, lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stderr]    --> src/main.rs:265:54
[INFO] [stderr]     |
[INFO] [stderr] 265 |       hbrBackground: 0 as HBRUSH, lpszMenuName: 0 as LPCWSTR,
[INFO] [stderr]     |                                                      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:266:51
[INFO] [stderr]     |
[INFO] [stderr] 266 |       lpszClassName: c.as_ptr(), hIconSm: icon as HICON,
[INFO] [stderr]     |                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:270:31
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope
[INFO] [stderr]    --> src/main.rs:270:42
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]    --> src/main.rs:270:54
[INFO] [stderr]     |
[INFO] [stderr] 270 |       style, 0, 0, w, h, 0 as HWND, 0 as HMENU, 0 as HINSTANCE,  v);
[INFO] [stderr]     |                                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:273:20
[INFO] [stderr]     |
[INFO] [stderr] 273 | fn change_state(w :HWND, icon :HICON)
[INFO] [stderr]     |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:273:32
[INFO] [stderr]     |
[INFO] [stderr] 273 | fn change_state(w :HWND, icon :HICON)
[INFO] [stderr]     |                                ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:275:85
[INFO] [stderr]     |
[INFO] [stderr] 275 |   unsafe{user::SendMessageW(w, user::WM_SETICON, user::ICON_SMALL as usize, icon as LPARAM);}
[INFO] [stderr]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:277:19
[INFO] [stderr]     |
[INFO] [stderr] 277 | fn clearscreen(w :HWND)
[INFO] [stderr]     |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:287:15
[INFO] [stderr]     |
[INFO] [stderr] 287 | fn clearch(w :HWND, i :usize, r :i32)
[INFO] [stderr]     |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:292:18
[INFO] [stderr]     |
[INFO] [stderr] 292 | fn clearrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:292:27
[INFO] [stderr]     |
[INFO] [stderr] 292 | fn clearrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:296:17
[INFO] [stderr]     |
[INFO] [stderr] 296 | fn drawrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:296:26
[INFO] [stderr]     |
[INFO] [stderr] 296 | fn drawrange(w :HWND, f :HFONT, start :usize, end :usize)
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:300:25
[INFO] [stderr]     |
[INFO] [stderr] 300 | fn getrect(i :usize) -> RECT
[INFO] [stderr]     |                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:178:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 178 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]    --> src/main.rs:305:11
[INFO] [stderr]     |
[INFO] [stderr] 305 |   let r = RECT{left:v[i].x*w,top:(v[i].y*h),right:(v[i].x*w+w),bottom:(v[i].y*h+h)};
[INFO] [stderr]     |           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:320:36
[INFO] [stderr]     |
[INFO] [stderr] 320 | fn getpos(x :i32, y:i32) -> Option<POINT>
[INFO] [stderr]     |          -                         ^^^^^ not found in this scope
[INFO] [stderr]     |          |
[INFO] [stderr]     |          help: you might be missing a type parameter: `<POINT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]    --> src/main.rs:328:54
[INFO] [stderr]     |
[INFO] [stderr] 328 |        ((v.x*w <= x) && (v.x*w+w > x))  {return Some(POINT{x:v.x, y:v.y});}
[INFO] [stderr]     |                                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:370:14
[INFO] [stderr]     |
[INFO] [stderr] 370 | fn delete(w :HWND, f :HFONT)
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:370:23
[INFO] [stderr]     |
[INFO] [stderr] 370 | fn delete(w :HWND, f :HFONT)
[INFO] [stderr]     |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:468:13
[INFO] [stderr]     |
[INFO] [stderr] 468 | fn enter(w :HWND, f :HFONT){save(CH{x:getposx(),y:getposy(),c:NEWLINE});}
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:468:22
[INFO] [stderr]     |
[INFO] [stderr] 468 | fn enter(w :HWND, f :HFONT){save(CH{x:getposx(),y:getposy(),c:NEWLINE});}
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:469:12
[INFO] [stderr]     |
[INFO] [stderr] 469 | fn draw(w :HWND, f :HFONT, buffer :String)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:469:21
[INFO] [stderr]     |
[INFO] [stderr] 469 | fn draw(w :HWND, f :HFONT, buffer :String)
[INFO] [stderr]     |                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:490:13
[INFO] [stderr]     |
[INFO] [stderr] 490 | fn copy2(w :HWND, f :HFONT, mode :u8)
[INFO] [stderr]     |             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:202:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 202 |     let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:203:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 203 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:490:22
[INFO] [stderr]     |
[INFO] [stderr] 490 | fn copy2(w :HWND, f :HFONT, mode :u8)
[INFO] [stderr]     |                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:500:14
[INFO] [stderr]     |
[INFO] [stderr] 500 | fn redraw(w :HWND, f :HFONT, offset: isize, mode :u8, s :usize, e :usize)
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:500:23
[INFO] [stderr]     |
[INFO] [stderr] 500 | fn redraw(w :HWND, f :HFONT, offset: isize, mode :u8, s :usize, e :usize)
[INFO] [stderr]     |                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:520:16
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:520:25
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:520:43
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:520:54
[INFO] [stderr]     |
[INFO] [stderr] 520 | fn drawtext(w :HWND, f :HFONT, c :&CH, p :WPARAM, l :LPARAM)
[INFO] [stderr]     |                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/main.rs:524:32
[INFO] [stderr]     |
[INFO] [stderr] 524 |     let dc = user::GetDC(w) as HDC;
[INFO] [stderr]     |                                ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stderr]    --> src/main.rs:525:32
[INFO] [stderr]     |
[INFO] [stderr] 525 |     gdi::SelectObject(dc, f as HGDIOBJ);
[INFO] [stderr]     |                                ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:555:14
[INFO] [stderr]     |
[INFO] [stderr] 555 | fn key_up(w :HWND){let y = getposy();if y == 0 {return;} hidecaret(w);setposmy(1); showcaret(w);}
[INFO] [stderr]     |              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:556:16
[INFO] [stderr]     |
[INFO] [stderr] 556 | fn key_down(w :HWND){hidecaret(w);setpospy(1);showcaret(w);}
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:557:16
[INFO] [stderr]     |
[INFO] [stderr] 557 | fn key_left(w :HWND)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:571:17
[INFO] [stderr]     |
[INFO] [stderr] 571 | fn key_right(w :HWND, f :HFONT)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:571:26
[INFO] [stderr]     |
[INFO] [stderr] 571 | fn key_right(w :HWND, f :HFONT)
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:603:17
[INFO] [stderr]     |
[INFO] [stderr] 603 | fn showcaret(w :HWND)
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:632:17
[INFO] [stderr]     |
[INFO] [stderr] 632 | fn hidecaret(w :HWND) {unsafe{user::HideCaret(w);}}
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:633:16
[INFO] [stderr]     |
[INFO] [stderr] 633 | fn wheel_up(w :HWND, f :HFONT)
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:633:25
[INFO] [stderr]     |
[INFO] [stderr] 633 | fn wheel_up(w :HWND, f :HFONT)
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:654:18
[INFO] [stderr]     |
[INFO] [stderr] 654 | fn wheel_down(w :HWND, f :HFONT)
[INFO] [stderr]     |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:654:27
[INFO] [stderr]     |
[INFO] [stderr] 654 | fn wheel_down(w :HWND, f :HFONT)
[INFO] [stderr]     |                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:212:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 212 |     let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:671:12
[INFO] [stderr]     |
[INFO] [stderr] 671 | fn ctrl(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:671:21
[INFO] [stderr]     |
[INFO] [stderr] 671 | fn ctrl(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:752:16
[INFO] [stderr]     |
[INFO] [stderr] 752 | fn key_0x44(w :HWND)                                      // key D
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:757:16
[INFO] [stderr]     |
[INFO] [stderr] 757 | fn key_0x47(w :HWND)                                      // key G
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:761:16
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn key_0x64(w :HWND, f :HFONT)                            // key dd
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:761:25
[INFO] [stderr]     |
[INFO] [stderr] 761 | fn key_0x64(w :HWND, f :HFONT)                            // key dd
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:797:16
[INFO] [stderr]     |
[INFO] [stderr] 797 | fn key_0x67(w :HWND)                                      // key gg
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:815:16
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:815:25
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:213:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 213 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:815:38
[INFO] [stderr]     |
[INFO] [stderr] 815 | fn key_0x6f(w :HWND, f :HFONT, icon :HICON)               // o: change mode 
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:819:16
[INFO] [stderr]     |
[INFO] [stderr] 819 | fn key_0x70(w :HWND, f :HFONT)                            // key p
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:819:25
[INFO] [stderr]     |
[INFO] [stderr] 819 | fn key_0x70(w :HWND, f :HFONT)                            // key p
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:848:16
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:848:25
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:848:38
[INFO] [stderr]     |
[INFO] [stderr] 848 | fn key_0x79(w :HWND, f :HFONT, icon :HICON)               // key y
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:864:16
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:864:25
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]    --> src/main.rs:864:38
[INFO] [stderr]     |
[INFO] [stderr] 864 | fn key_0x1B(w :HWND, f :HFONT, icon :HICON)               // esc
[INFO] [stderr]     |                                      ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:889:16
[INFO] [stderr]     |
[INFO] [stderr] 889 | fn key_0x0D(w :HWND, f :HFONT)                            // enter
[INFO] [stderr]     |                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:889:25
[INFO] [stderr]     |
[INFO] [stderr] 889 | fn key_0x0D(w :HWND, f :HFONT)                            // enter
[INFO] [stderr]     |                         ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:893:17
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]    --> src/main.rs:893:26
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                          ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:893:36
[INFO] [stderr]     |
[INFO] [stderr] 893 | fn key_input(w :HWND, f :HFONT, p :WPARAM)                // edit
[INFO] [stderr]     |                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:950:12
[INFO] [stderr]     |
[INFO] [stderr] 950 | fn edit(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]    --> src/main.rs:950:21
[INFO] [stderr]     |
[INFO] [stderr] 950 | fn edit(w :HWND, p :WPARAM, mov :&mut MV)
[INFO] [stderr]     |                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1029:17
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1029:27
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope
[INFO] [stderr]     --> src/main.rs:1029:36
[INFO] [stderr]      |
[INFO] [stderr] 1029 | fn sidepanel(w: HWND, sw: HWND, f :HFONT)
[INFO] [stderr]      |                                    ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1053:46
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1053:57
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                         ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1053:66
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1053:77
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]     --> src/main.rs:1053:88
[INFO] [stderr]      |
[INFO] [stderr] 1053 | pub unsafe extern "system" fn window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                        ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope
[INFO] [stderr]     --> src/main.rs:1059:27
[INFO] [stderr]      |
[INFO] [stderr] 1059 |       let param = &*(l as LPCREATESTRUCTW);
[INFO] [stderr]      |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1065:72
[INFO] [stderr]      |
[INFO] [stderr] 1065 |       let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/main.rs:1084:32
[INFO] [stderr]      |
[INFO] [stderr] 1084 |         let mut v = vec![0u16; MAX_PATH as usize];
[INFO] [stderr]      |                                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stderr]     --> src/main.rs:1085:57
[INFO] [stderr]      |
[INFO] [stderr] 1085 |         shell::DragQueryFileW(hdrop, 0, v.as_mut_ptr(), MAX_PATH as u32);
[INFO] [stderr]      |                                                         ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1094:74
[INFO] [stderr]      |
[INFO] [stderr] 1094 |         let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1136:80
[INFO] [stderr]      |
[INFO] [stderr] 1136 |               let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                                ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1160:72
[INFO] [stderr]      |
[INFO] [stderr] 1160 |       let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1178:76
[INFO] [stderr]      |
[INFO] [stderr] 1178 |           let mov_ptr = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as LPVOID;
[INFO] [stderr]      |                                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope
[INFO] [stderr]     --> src/main.rs:1191:17
[INFO] [stderr]      |
[INFO] [stderr] 1191 |       let w_h = HIWORD(l as u32);
[INFO] [stderr]      |                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1213:50
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1213:61
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                             ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1213:70
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1213:81
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]     --> src/main.rs:1213:92
[INFO] [stderr]      |
[INFO] [stderr] 1213 | pub unsafe extern "system" fn sub_window_proc(w :HWND, msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT
[INFO] [stderr]      |                                                                                            ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1242:38
[INFO] [stderr]      |
[INFO] [stderr] 1242 |     let icon = user::LoadImageW(0 as HINSTANCE, icon_name.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1245:39
[INFO] [stderr]      |
[INFO] [stderr] 1245 |     let icon2 = user::LoadImageW(0 as HINSTANCE, icon_name2.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]     --> src/main.rs:1248:39
[INFO] [stderr]      |
[INFO] [stderr] 1248 |     let icon3 = user::LoadImageW(0 as HINSTANCE, icon_name3.as_ptr(), user::IMAGE_ICON, 0, 0, 
[INFO] [stderr]      |                                       ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1251:82
[INFO] [stderr]      |
[INFO] [stderr] 1251 |     let sidehwnd = window(class_name2, win_name2, Some(sub_window_proc), icon as HICON, 
[INFO] [stderr]      |                                                                                  ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stderr]     --> src/main.rs:1252:27
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                           ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope
[INFO] [stderr]     --> src/main.rs:1252:38
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]     --> src/main.rs:1252:50
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1252:75
[INFO] [stderr]      |
[INFO] [stderr] 1252 |                           WS_POPUP | WS_BORDER | WS_VISIBLE, W/4, H, 0 as LPVOID);
[INFO] [stderr]      |                                                                           ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:53
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                     ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:75
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                                           ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1255:99
[INFO] [stderr]      |
[INFO] [stderr] 1255 |     let mut mov : MV = MV{font :font, save :icon as HICON, edit :icon2 as HICON, visual :icon3 as HICON, sw :sidehwnd};
[INFO] [stderr]      |                                                                                                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1256:19
[INFO] [stderr]      |
[INFO] [stderr] 1256 |     let mov_ptr : LPVOID = &mut mov as *mut _ as LPVOID;
[INFO] [stderr]      |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]     --> src/main.rs:1256:50
[INFO] [stderr]      |
[INFO] [stderr] 1256 |     let mov_ptr : LPVOID = &mut mov as *mut _ as LPVOID;
[INFO] [stderr]      |                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope
[INFO] [stderr]     --> src/main.rs:1257:72
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]     --> src/main.rs:1257:79
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope
[INFO] [stderr]     --> src/main.rs:1257:101
[INFO] [stderr]      |
[INFO] [stderr] 1257 |     let hwnd = window(class_name, win_name, Some(window_proc), icon as HICON, WS_OVERLAPPEDWINDOW | WS_VISIBLE, W, H, mov_ptr);
[INFO] [stderr]      |                                                                                                     ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1262:42
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1262:62
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1262:82
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                  ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1262:104
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                        ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]     --> src/main.rs:1262:124
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]     --> src/main.rs:1262:136
[INFO] [stderr]      |
[INFO] [stderr] 1262 |     let mut msg = user::MSG {hwnd : 0 as HWND,message : 0 as UINT, wParam : 0 as WPARAM, lParam : 0 as LPARAM, time : 0 as DWORD, pt : POINT{x:0, y:0},};
[INFO] [stderr]      |                                                                                                                                        ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]     --> src/main.rs:1263:84
[INFO] [stderr]      |
[INFO] [stderr] 1263 |     if font != ptr::null_mut() {user::SendMessageW(hwnd, user::WM_SETFONT, font as WPARAM, 1);}
[INFO] [stderr]      |                                                                                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]     --> src/main.rs:1265:35
[INFO] [stderr]      |
[INFO] [stderr] 1265 |     let dc = user::GetDC(hwnd) as HDC;
[INFO] [stderr]      |                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `INT` in this scope
[INFO] [stderr]     --> src/main.rs:1266:22
[INFO] [stderr]      |
[INFO] [stderr] 1266 |     let mut char_w : INT = 0;
[INFO] [stderr]      |                      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stderr]     --> src/main.rs:1274:35
[INFO] [stderr]      |
[INFO] [stderr] 1274 |     gdi::SelectObject(dc, font as HGDIOBJ );
[INFO] [stderr]      |                                   ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1275:35
[INFO] [stderr]      |
[INFO] [stderr] 1275 |     gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); 
[INFO] [stderr]      |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]     --> src/main.rs:1275:46
[INFO] [stderr]      |
[INFO] [stderr] 1275 |     gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); 
[INFO] [stderr]      |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBITMAP` in this scope
[INFO] [stderr]     --> src/main.rs:1280:34
[INFO] [stderr]      |
[INFO] [stderr] 1280 |     user::CreateCaret(hwnd, 0 as HBITMAP, 1, tm.tmHeight);
[INFO] [stderr]      |                                  ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]     --> src/main.rs:1290:48
[INFO] [stderr]      |
[INFO] [stderr] 1290 |       let m = user::GetMessageW(&mut msg, 0 as HWND, 0, 0);
[INFO] [stderr]      |                                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:303:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 303 |     let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:304:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 304 |     let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]   --> src/main.rs:40:32
[INFO] [stderr]    |
[INFO] [stderr] 40 | use std::{ptr, mem, io::{Read, Write}, fs::File, ffi::OsStr, sync::Mutex, string::String, os::windows::ffi::OsStrExt};
[INFO] [stderr]    |                                ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]   --> src/main.rs:81:18
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let region = {REGION.lock().unwrap()};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:157:27
[INFO] [stderr]     |
[INFO] [stderr] 157 | fn clear() {let mut vec = {TEXT.lock().unwrap()}; vec.clear();}
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:158:35
[INFO] [stderr]     |
[INFO] [stderr] 158 | fn remove(i :usize){let mut vec = {TEXT.lock().unwrap()}; vec.remove(i);}
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:159:42
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn insert(i :usize, c :CH){let mut vec = {TEXT.lock().unwrap()}; vec.insert(i, c)}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:160:30
[INFO] [stderr]     |
[INFO] [stderr] 160 | fn save(c :CH){let mut vec = {TEXT.lock().unwrap()}; vec.push(c);}
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:161:36
[INFO] [stderr]     |
[INFO] [stderr] 161 | fn getlength() -> usize {let vec = {TEXT.lock().unwrap()}; let length = vec.len();length}
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:162:38
[INFO] [stderr]     |
[INFO] [stderr] 162 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:163:38
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:164:38
[INFO] [stderr]     |
[INFO] [stderr] 164 | fn getc(i :usize) -> char {let vec = {TEXT.lock().unwrap()}; let c = vec[i].c; c}
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:165:42
[INFO] [stderr]     |
[INFO] [stderr] 165 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:166:42
[INFO] [stderr]     |
[INFO] [stderr] 166 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;}
[INFO] [stderr]     |                                          ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:169:11
[INFO] [stderr]     |
[INFO] [stderr] 169 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:178:11
[INFO] [stderr]     |
[INFO] [stderr] 178 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:179:13
[INFO] [stderr]     |
[INFO] [stderr] 179 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:312:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 312 |       POS.lock().unwrap().x -= 1;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:316:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 316 |       POS.lock().unwrap().y -= 1;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:317:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 317 |       POS.lock().unwrap().x = lastx;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:185:13
[INFO] [stderr]     |
[INFO] [stderr] 185 |   let vec = {TEXT.lock().unwrap()}; 
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:202:11
[INFO] [stderr]     |
[INFO] [stderr] 202 |   let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:203:11
[INFO] [stderr]     |
[INFO] [stderr] 203 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:204:13
[INFO] [stderr]     |
[INFO] [stderr] 204 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:212:11
[INFO] [stderr]     |
[INFO] [stderr] 212 |   let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:213:11
[INFO] [stderr]     |
[INFO] [stderr] 213 |   let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:214:13
[INFO] [stderr]     |
[INFO] [stderr] 214 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:219:13
[INFO] [stderr]     |
[INFO] [stderr] 219 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:237:17
[INFO] [stderr]     |
[INFO] [stderr] 237 |   let mut vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:242:13
[INFO] [stderr]     |
[INFO] [stderr] 242 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:248:17
[INFO] [stderr]     |
[INFO] [stderr] 248 |   let mut vec = {TEXT.lock().unwrap()}; 
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:302:11
[INFO] [stderr]     |
[INFO] [stderr] 302 |   let v = {TEXT.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:303:11
[INFO] [stderr]     |
[INFO] [stderr] 303 |   let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:304:11
[INFO] [stderr]     |
[INFO] [stderr] 304 |   let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:323:11
[INFO] [stderr]     |
[INFO] [stderr] 323 |   let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:324:11
[INFO] [stderr]     |
[INFO] [stderr] 324 |   let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:345:15
[INFO] [stderr]     |
[INFO] [stderr] 345 |   let start = {REGION.lock().unwrap().s};
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:361:13
[INFO] [stderr]     |
[INFO] [stderr] 361 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:482:22
[INFO] [stderr]     |
[INFO] [stderr] 482 |         let screen = {*SCREEN.lock().unwrap()};
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:492:20
[INFO] [stderr]     |
[INFO] [stderr] 492 |   let mut buffer = {BUFFER.lock().unwrap()};
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:493:16
[INFO] [stderr]     |
[INFO] [stderr] 493 |   let region = {REGION.lock().unwrap()};
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:508:19
[INFO] [stderr]     |
[INFO] [stderr] 508 |         let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:515:17
[INFO] [stderr]     |
[INFO] [stderr] 515 |       let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:583:17
[INFO] [stderr]     |
[INFO] [stderr] 583 |       let end = {*END.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:642:13
[INFO] [stderr]     |
[INFO] [stderr] 642 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:659:13
[INFO] [stderr]     |
[INFO] [stderr] 659 |   let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:687:17
[INFO] [stderr]     |
[INFO] [stderr] 687 |       let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:748:14
[INFO] [stderr]     |
[INFO] [stderr] 748 |   let ch_h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:764:13
[INFO] [stderr]     |
[INFO] [stderr] 764 |   let key = {*KEY.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:799:13
[INFO] [stderr]     |
[INFO] [stderr] 799 |   let key = {*KEY.lock().unwrap()};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:821:20
[INFO] [stderr]     |
[INFO] [stderr] 821 |   let mut buffer = {BUFFER.lock().unwrap()};
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]    --> src/main.rs:881:24
[INFO] [stderr]     |
[INFO] [stderr] 881 |           let region = {REGION.lock().unwrap()};
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]     --> src/main.rs:1146:36
[INFO] [stderr]      |
[INFO] [stderr] 1146 |                   let mut buffer = {RBUFFER.lock().unwrap()};
[INFO] [stderr]      |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around assigned value
[INFO] [stderr]     --> src/main.rs:1181:21
[INFO] [stderr]      |
[INFO] [stderr] 1181 |           let vec = {TEXT.lock().unwrap()};
[INFO] [stderr]      |                     ^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:323:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 323 |     let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:324:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 324 |     let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:332:24
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 332 |   fn setposx(x :i32){POS.lock().unwrap().x = x;}            fn setposy(y :i32){POS.lock().unwrap().y = y;}
[INFO] [stderr]     |                          ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:332:82
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 332 |   fn setposx(x :i32){POS.lock().unwrap().x = x;}            fn setposy(y :i32){POS.lock().unwrap().y = y;}
[INFO] [stderr]     |                                                                                    ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:333:25
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 333 |   fn setposmx(x :i32){POS.lock().unwrap().x -= x;}          fn setpospx(x :i32){POS.lock().unwrap().x += x;}
[INFO] [stderr]     |                           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:333:83
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 333 |   fn setposmx(x :i32){POS.lock().unwrap().x -= x;}          fn setpospx(x :i32){POS.lock().unwrap().x += x;}
[INFO] [stderr]     |                                                                                     ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:334:25
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 334 |   fn setposmy(y :i32){POS.lock().unwrap().y -= y;}          fn setpospy(y :i32){POS.lock().unwrap().y += y;}
[INFO] [stderr]     |                           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:334:83
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 334 |   fn setposmy(y :i32){POS.lock().unwrap().y -= y;}          fn setpospy(y :i32){POS.lock().unwrap().y += y;}
[INFO] [stderr]     |                                                                                     ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:335:26
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 335 |   fn getposx() -> i32 {POS.lock().unwrap().x}               fn getposy() -> i32 {POS.lock().unwrap().y}
[INFO] [stderr]     |                            ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:335:84
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 335 |   fn getposx() -> i32 {POS.lock().unwrap().x}               fn getposy() -> i32 {POS.lock().unwrap().y}
[INFO] [stderr]     |                                                                                      ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:336:24
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 336 |   fn getw() -> i32 {*CHX.lock().unwrap()}                   fn geth() -> i32 {*CHY.lock().unwrap()}
[INFO] [stderr]     |                          ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:336:82
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 336 |   fn getw() -> i32 {*CHX.lock().unwrap()}                   fn geth() -> i32 {*CHY.lock().unwrap()}
[INFO] [stderr]     |                                                                                    ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope
[INFO] [stderr]    --> src/main.rs:482:31
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 482 |           let screen = {*SCREEN.lock().unwrap()};
[INFO] [stderr]     |                                 ^^^^ method not found in `SCREEN`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:635:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 635 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:639:8
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 639 |     *DEY.lock().unwrap() += 2;
[INFO] [stderr]     |          ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:640:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 640 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:657:8
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 657 |     *DEY.lock().unwrap() -= 2;
[INFO] [stderr]     |          ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:658:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 658 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:748:20
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 748 |     let ch_h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                      ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stderr]   --> src/main.rs:72:26
[INFO] [stderr]    |
[INFO] [stderr] 72 |   return OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect();
[INFO] [stderr]    |                          ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]     --> src/main.rs:1192:24
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1192 |         let ch_h = {*CHY.lock().unwrap()} as u16;
[INFO] [stderr]      |                          ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope
[INFO] [stderr]     --> src/main.rs:1193:29
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1193 |         if ch_h != 0 {*SCREEN.lock().unwrap() = (w_h / ch_h) as i32 ;}
[INFO] [stderr]      |                               ^^^^ method not found in `SCREEN`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:134:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 134 |             *POS.lock().unwrap() = POINT{x:0, y:0};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]     --> src/main.rs:1278:10
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1278 |       *CHX.lock().unwrap() = char_w;
[INFO] [stderr]      |            ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]     --> src/main.rs:1279:10
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1279 |       *CHY.lock().unwrap() = tm.tmHeight;
[INFO] [stderr]      |            ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:169:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 169 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 206 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:178:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 178 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `read`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:202:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 202 |     let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:203:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 203 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:212:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 212 |     let x = {POS.lock().unwrap().x};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:213:16
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 213 |     let y = {POS.lock().unwrap().y};
[INFO] [stderr]     |                  ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:303:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 303 |     let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:304:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 304 |     let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:312:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 312 |       POS.lock().unwrap().x -= 1;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:316:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 316 |       POS.lock().unwrap().y -= 1;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:317:9
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 317 |       POS.lock().unwrap().x = lastx;
[INFO] [stderr]     |           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:323:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 323 |     let w = {*CHX.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:324:17
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 324 |     let h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                   ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:332:24
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 332 |   fn setposx(x :i32){POS.lock().unwrap().x = x;}            fn setposy(y :i32){POS.lock().unwrap().y = y;}
[INFO] [stderr]     |                          ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:332:82
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 332 |   fn setposx(x :i32){POS.lock().unwrap().x = x;}            fn setposy(y :i32){POS.lock().unwrap().y = y;}
[INFO] [stderr]     |                                                                                    ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:333:25
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 333 |   fn setposmx(x :i32){POS.lock().unwrap().x -= x;}          fn setpospx(x :i32){POS.lock().unwrap().x += x;}
[INFO] [stderr]     |                           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:333:83
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 333 |   fn setposmx(x :i32){POS.lock().unwrap().x -= x;}          fn setpospx(x :i32){POS.lock().unwrap().x += x;}
[INFO] [stderr]     |                                                                                     ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:334:25
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 334 |   fn setposmy(y :i32){POS.lock().unwrap().y -= y;}          fn setpospy(y :i32){POS.lock().unwrap().y += y;}
[INFO] [stderr]     |                           ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:334:83
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 334 |   fn setposmy(y :i32){POS.lock().unwrap().y -= y;}          fn setpospy(y :i32){POS.lock().unwrap().y += y;}
[INFO] [stderr]     |                                                                                     ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:335:26
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 335 |   fn getposx() -> i32 {POS.lock().unwrap().x}               fn getposy() -> i32 {POS.lock().unwrap().y}
[INFO] [stderr]     |                            ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope
[INFO] [stderr]    --> src/main.rs:335:84
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 335 |   fn getposx() -> i32 {POS.lock().unwrap().x}               fn getposy() -> i32 {POS.lock().unwrap().y}
[INFO] [stderr]     |                                                                                      ^^^^ method not found in `POS`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]    --> src/main.rs:336:24
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 336 |   fn getw() -> i32 {*CHX.lock().unwrap()}                   fn geth() -> i32 {*CHY.lock().unwrap()}
[INFO] [stderr]     |                          ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:336:82
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 336 |   fn getw() -> i32 {*CHX.lock().unwrap()}                   fn geth() -> i32 {*CHY.lock().unwrap()}
[INFO] [stderr]     |                                                                                    ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope
[INFO] [stderr]    --> src/main.rs:482:31
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 482 |           let screen = {*SCREEN.lock().unwrap()};
[INFO] [stderr]     |                                 ^^^^ method not found in `SCREEN`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:635:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 635 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:639:8
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 639 |     *DEY.lock().unwrap() += 2;
[INFO] [stderr]     |          ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:640:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 640 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:657:8
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 657 |     *DEY.lock().unwrap() -= 2;
[INFO] [stderr]     |          ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `DEY` in the current scope
[INFO] [stderr]    --> src/main.rs:658:21
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 658 |     let delta = {*DEY.lock().unwrap()} as isize;
[INFO] [stderr]     |                       ^^^^ method not found in `DEY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]    --> src/main.rs:748:20
[INFO] [stderr]     |
[INFO] [stderr] 52  | / lazy_static!
[INFO] [stderr] 53  | | {
[INFO] [stderr] 54  | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55  | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...   |
[INFO] [stderr] 67  | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68  | | }
[INFO] [stderr]     | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 748 |     let ch_h = {*CHY.lock().unwrap()};
[INFO] [stderr]     |                      ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]     --> src/main.rs:1192:24
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1192 |         let ch_h = {*CHY.lock().unwrap()} as u16;
[INFO] [stderr]      |                          ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `SCREEN` in the current scope
[INFO] [stderr]     --> src/main.rs:1193:29
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1193 |         if ch_h != 0 {*SCREEN.lock().unwrap() = (w_h / ch_h) as i32 ;}
[INFO] [stderr]      |                               ^^^^ method not found in `SCREEN`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope
[INFO] [stderr]     --> src/main.rs:1278:10
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1278 |       *CHX.lock().unwrap() = char_w;
[INFO] [stderr]      |            ^^^^ method not found in `CHX`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope
[INFO] [stderr]     --> src/main.rs:1279:10
[INFO] [stderr]      |
[INFO] [stderr] 52   | / lazy_static!
[INFO] [stderr] 53   | | {
[INFO] [stderr] 54   | |   // MODE:  0: save  1(i),2(a): edit
[INFO] [stderr] 55   | |   static ref MODE: Mutex<u8> = Mutex::new(0);
[INFO] [stderr] ...    |
[INFO] [stderr] 67   | |   static ref RBUFFER: Mutex<String> = Mutex::new(String::new());
[INFO] [stderr] 68   | | }
[INFO] [stderr]      | |_- method `lock` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 1279 |       *CHY.lock().unwrap() = tm.tmHeight;
[INFO] [stderr]      |            ^^^^ method not found in `CHY`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 206 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `read`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "96c2e01822b5bdc431f9eace71413f0e2c6341a456f3676f494eb7b3418b70a6"`
[INFO] running `"docker" "rm" "-f" "96c2e01822b5bdc431f9eace71413f0e2c6341a456f3676f494eb7b3418b70a6"`
[INFO] [stdout] 96c2e01822b5bdc431f9eace71413f0e2c6341a456f3676f494eb7b3418b70a6
