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