[INFO] crate read 0.1.1 is already in cache [INFO] extracting crate read 0.1.1 into work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/read/0.1.1 [INFO] extracting crate read 0.1.1 into work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/read/0.1.1 [INFO] validating manifest of read-0.1.1 on toolchain master#f66e4697ae286985ddefc53c3a047614568458bb [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of read-0.1.1 on toolchain try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing read-0.1.1 [INFO] finished frobbing read-0.1.1 [INFO] frobbed toml for read-0.1.1 written to work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/read/0.1.1/Cargo.toml [INFO] started frobbing read-0.1.1 [INFO] finished frobbing read-0.1.1 [INFO] frobbed toml for read-0.1.1 written to work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/read/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking read-0.1.1 against try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a for pr-58592 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58592/worker-3/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/read/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6b0e4a9e42bd365d137270ea475635253efa3a1796e7df7a7825255063fddd30 [INFO] running `"docker" "start" "-a" "6b0e4a9e42bd365d137270ea475635253efa3a1796e7df7a7825255063fddd30"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking read v0.1.1 (/opt/crater/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 import `winapi::um` [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] 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 import `winapi::um` [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] 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 = 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 = 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 = 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 = 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 = 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 = 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, win :Vec, 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, win :Vec, 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, win :Vec, 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, win :Vec, 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, win :Vec, 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] 261 | cbSize: mem::size_of::() 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 [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: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 `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 imports: `HANDLE`, `LONG`, `LPCWSTR`, `minwinbase::LMEM_MOVEABLE` [INFO] [stderr] --> src/main.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::{minwinbase::LMEM_MOVEABLE, winnt::{LPCWSTR, LONG, HANDLE}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HBITMAP`, `HBRUSH`, `HDC`, `HFONT`, `HGDIOBJ`, `HICON`, `HMENU`, `HWND`, `POINT`, `RECT` [INFO] [stderr] --> src/main.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DWORD`, `HGLOBAL`, `HINSTANCE`, `HIWORD`, `INT`, `LOWORD`, `LPARAM`, `LPVOID`, `LRESULT`, `MAX_PATH`, `UINT`, `WPARAM` [INFO] [stderr] --> src/main.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::shared::minwindef::{INT, UINT, DWORD, MAX_PATH, HINSTANCE, HGLOBAL, LRESULT, LPVOID, WPARAM, LPARAM, HIWORD, LOWORD}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCREATESTRUCTW`, `WNDCLASSEXW`, `WNDPROC`, `WS_BORDER`, `WS_CAPTION`, `WS_CHILD`, `WS_OVERLAPPEDWINDOW`, `WS_POPUP`, `WS_SYSMENU`, `WS_VISIBLE` [INFO] [stderr] --> src/main.rs:39:12 [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] warning: unused imports: `Write`, `os::windows::ffi::OsStrExt` [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] error[E0599]: no method named `encode_wide` found for type `&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] | ^^^^^^^^^^^ [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 = 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 = 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 = 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 = 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 = 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 = 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, win :Vec, 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, win :Vec, 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, win :Vec, 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, win :Vec, 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, win :Vec, 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] 261 | cbSize: mem::size_of::() 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 [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: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 `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 imports: `HANDLE`, `LONG`, `LPCWSTR`, `minwinbase::LMEM_MOVEABLE` [INFO] [stderr] --> src/main.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | use winapi::um::{minwinbase::LMEM_MOVEABLE, winnt::{LPCWSTR, LONG, HANDLE}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HBITMAP`, `HBRUSH`, `HDC`, `HFONT`, `HGDIOBJ`, `HICON`, `HMENU`, `HWND`, `POINT`, `RECT` [INFO] [stderr] --> src/main.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT}; [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ ^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DWORD`, `HGLOBAL`, `HINSTANCE`, `HIWORD`, `INT`, `LOWORD`, `LPARAM`, `LPVOID`, `LRESULT`, `MAX_PATH`, `UINT`, `WPARAM` [INFO] [stderr] --> src/main.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::shared::minwindef::{INT, UINT, DWORD, MAX_PATH, HINSTANCE, HGLOBAL, LRESULT, LPVOID, WPARAM, LPARAM, HIWORD, LOWORD}; [INFO] [stderr] | ^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPCREATESTRUCTW`, `WNDCLASSEXW`, `WNDPROC`, `WS_BORDER`, `WS_CAPTION`, `WS_CHILD`, `WS_OVERLAPPEDWINDOW`, `WS_POPUP`, `WS_SYSMENU`, `WS_VISIBLE` [INFO] [stderr] --> src/main.rs:39:12 [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] warning: unused imports: `Write`, `os::windows::ffi::OsStrExt` [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] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&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] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 206 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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 type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: Could not compile `read`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for type `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 = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 67 | | static ref RBUFFER: Mutex = 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] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 206 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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" "6b0e4a9e42bd365d137270ea475635253efa3a1796e7df7a7825255063fddd30"` [INFO] running `"docker" "rm" "-f" "6b0e4a9e42bd365d137270ea475635253efa3a1796e7df7a7825255063fddd30"` [INFO] [stdout] 6b0e4a9e42bd365d137270ea475635253efa3a1796e7df7a7825255063fddd30