[INFO] cloning repository https://github.com/sailfish009/read [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sailfish009/read" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54502c1fc6f4ec4766ae2a2c3fdbe5ee259146f1 [INFO] checking sailfish009/read against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sailfish009/read on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sailfish009/read [INFO] finished tweaking git repo https://github.com/sailfish009/read [INFO] tweaked toml for git repo https://github.com/sailfish009/read written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sailfish009/read already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f6c35611428f0f8b5a6f14e44de2b8129ac22a4db06b21ee6b6408b2bf499fa [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" "1f6c35611428f0f8b5a6f14e44de2b8129ac22a4db06b21ee6b6408b2bf499fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f6c35611428f0f8b5a6f14e44de2b8129ac22a4db06b21ee6b6408b2bf499fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6c35611428f0f8b5a6f14e44de2b8129ac22a4db06b21ee6b6408b2bf499fa", kill_on_drop: false }` [INFO] [stdout] 1f6c35611428f0f8b5a6f14e44de2b8129ac22a4db06b21ee6b6408b2bf499fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ec0be3c64ff9e52d69829e9ebda192e5247e734590ca553438dfb11884d6074 [INFO] running `Command { std: "docker" "start" "-a" "5ec0be3c64ff9e52d69829e9ebda192e5247e734590ca553438dfb11884d6074", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking read v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::shellapi as shell; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winuser as user; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::shared::minwindef::{HINSTANCE, INT, UINT, DWORD, WPARAM, LPARAM, LRESULT, LPVOID, MAX_PATH }; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | use winapi::um::winnt::{LPCWSTR, LPWSTR, LONG}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use std::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::WNDCLASSW`, `user::LPCREATESTRUCTW` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::wingdi as gdi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 43 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WNDCLASSW, LPCREATESTRUCTW}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::shellapi as shell; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winuser as user; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::shared::minwindef::{HINSTANCE, INT, UINT, DWORD, WPARAM, LPARAM, LRESULT, LPVOID, MAX_PATH }; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | use winapi::um::winnt::{LPCWSTR, LPWSTR, LONG}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | use std::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::WNDCLASSW`, `user::LPCREATESTRUCTW` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::wingdi as gdi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 43 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WNDCLASSW, LPCREATESTRUCTW}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | 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:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | 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 `POINT` in this scope [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | 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:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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 `HWND` in this scope [INFO] [stdout] --> src/main.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn fileio(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:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | fn fileio(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:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | *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 `HWND` in this scope [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | 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 `LONG` in this scope [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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 `RECT` in this scope [INFO] [stdout] --> src/main.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | fn getrect(i :usize) -> RECT [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:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | 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:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | fn line(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:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | fn line(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:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:265:42 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | 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:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | 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:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | fn key_up(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:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | fn key_down(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:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | fn key_right(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:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | 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:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | fn hidecaret(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:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, 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:405:32 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, 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:597:46 [INFO] [stdout] | [INFO] [stdout] 597 | pub unsafe extern "system" fn window_proc(w :HWND, [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:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:28 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | 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:602:25 [INFO] [stdout] | [INFO] [stdout] 602 | let param = &*(l as LPCREATESTRUCTW); [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:611:69 [INFO] [stdout] | [INFO] [stdout] 611 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [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:626:32 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:57 [INFO] [stdout] | [INFO] [stdout] 627 | 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 `HFONT` in this scope [INFO] [stdout] --> src/main.rs:637:71 [INFO] [stdout] | [INFO] [stdout] 637 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:667:15 [INFO] [stdout] | [INFO] [stdout] 667 | let wnd = WNDCLASSW [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:673:23 [INFO] [stdout] | [INFO] [stdout] 673 | hInstance: 0 as HINSTANCE, [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:675:36 [INFO] [stdout] | [INFO] [stdout] 675 | hIcon: 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 `HICON` in this scope [INFO] [stdout] --> src/main.rs:676:76 [INFO] [stdout] | [INFO] [stdout] 676 | user::LR_LOADFROMFILE | user::LR_DEFAULTSIZE | user::LR_SHARED) 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:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | 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 `HBRUSH` in this scope [INFO] [stdout] --> src/main.rs:678:27 [INFO] [stdout] | [INFO] [stdout] 678 | hbrBackground: 0 as HBRUSH, [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:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | lpszMenuName: 0 as LPCWSTR, [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:687:7 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:29 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:58 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [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:687:69 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [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:687:81 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:100 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:693:19 [INFO] [stdout] | [INFO] [stdout] 693 | hwnd : 0 as HWND, [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:694:22 [INFO] [stdout] | [INFO] [stdout] 694 | message : 0 as UINT, [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:695:21 [INFO] [stdout] | [INFO] [stdout] 695 | wParam : 0 as WPARAM, [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:696:21 [INFO] [stdout] | [INFO] [stdout] 696 | lParam : 0 as LPARAM, [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:697:19 [INFO] [stdout] | [INFO] [stdout] 697 | time : 0 as DWORD, [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:698:12 [INFO] [stdout] | [INFO] [stdout] 698 | 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:704:58 [INFO] [stdout] | [INFO] [stdout] 704 | 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:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | 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:708:22 [INFO] [stdout] | [INFO] [stdout] 708 | 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:732:35 [INFO] [stdout] | [INFO] [stdout] 732 | 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:733:35 [INFO] [stdout] | [INFO] [stdout] 733 | 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:733:46 [INFO] [stdout] | [INFO] [stdout] 733 | 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:738:34 [INFO] [stdout] | [INFO] [stdout] 738 | 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:748:48 [INFO] [stdout] | [INFO] [stdout] 748 | 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: `std::ffi::OsString` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | if (x == 0 && y == 0) {return;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | if( x > 0 ) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | else if( y > 0 ) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONG` in this scope [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | 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:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | 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 `POINT` in this scope [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | 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:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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 `HWND` in this scope [INFO] [stdout] --> src/main.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn fileio(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:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | fn fileio(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:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | *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 `HWND` in this scope [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | 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 `LONG` in this scope [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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 `RECT` in this scope [INFO] [stdout] --> src/main.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | fn getrect(i :usize) -> RECT [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:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | 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:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | fn line(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:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | fn line(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:265:16 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:265:42 [INFO] [stdout] | [INFO] [stdout] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [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:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | 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:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | 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:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | fn key_up(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:294:16 [INFO] [stdout] | [INFO] [stdout] 294 | fn key_down(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:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | fn key_right(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:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | 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:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | fn hidecaret(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:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [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:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, 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:405:32 [INFO] [stdout] | [INFO] [stdout] 405 | fn edit(w :HWND, p :WPARAM, 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:597:46 [INFO] [stdout] | [INFO] [stdout] 597 | pub unsafe extern "system" fn window_proc(w :HWND, [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:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:28 [INFO] [stdout] | [INFO] [stdout] 598 | 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:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | 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:602:25 [INFO] [stdout] | [INFO] [stdout] 602 | let param = &*(l as LPCREATESTRUCTW); [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:611:69 [INFO] [stdout] | [INFO] [stdout] 611 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [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:626:32 [INFO] [stdout] | [INFO] [stdout] 626 | 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:627:57 [INFO] [stdout] | [INFO] [stdout] 627 | 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 `HFONT` in this scope [INFO] [stdout] --> src/main.rs:637:71 [INFO] [stdout] | [INFO] [stdout] 637 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:667:15 [INFO] [stdout] | [INFO] [stdout] 667 | let wnd = WNDCLASSW [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:673:23 [INFO] [stdout] | [INFO] [stdout] 673 | hInstance: 0 as HINSTANCE, [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:675:36 [INFO] [stdout] | [INFO] [stdout] 675 | hIcon: 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 `HICON` in this scope [INFO] [stdout] --> src/main.rs:676:76 [INFO] [stdout] | [INFO] [stdout] 676 | user::LR_LOADFROMFILE | user::LR_DEFAULTSIZE | user::LR_SHARED) 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:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | 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 `HBRUSH` in this scope [INFO] [stdout] --> src/main.rs:678:27 [INFO] [stdout] | [INFO] [stdout] 678 | hbrBackground: 0 as HBRUSH, [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:679:26 [INFO] [stdout] | [INFO] [stdout] 679 | lpszMenuName: 0 as LPCWSTR, [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:687:7 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:29 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:58 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [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:687:69 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [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:687:81 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:687:100 [INFO] [stdout] | [INFO] [stdout] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font 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:693:19 [INFO] [stdout] | [INFO] [stdout] 693 | hwnd : 0 as HWND, [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:694:22 [INFO] [stdout] | [INFO] [stdout] 694 | message : 0 as UINT, [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:695:21 [INFO] [stdout] | [INFO] [stdout] 695 | wParam : 0 as WPARAM, [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:696:21 [INFO] [stdout] | [INFO] [stdout] 696 | lParam : 0 as LPARAM, [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:697:19 [INFO] [stdout] | [INFO] [stdout] 697 | time : 0 as DWORD, [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:698:12 [INFO] [stdout] | [INFO] [stdout] 698 | 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:704:58 [INFO] [stdout] | [INFO] [stdout] 704 | 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:707:35 [INFO] [stdout] | [INFO] [stdout] 707 | 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:708:22 [INFO] [stdout] | [INFO] [stdout] 708 | 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:732:35 [INFO] [stdout] | [INFO] [stdout] 732 | 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:733:35 [INFO] [stdout] | [INFO] [stdout] 733 | 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:733:46 [INFO] [stdout] | [INFO] [stdout] 733 | 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:738:34 [INFO] [stdout] | [INFO] [stdout] 738 | 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:748:48 [INFO] [stdout] | [INFO] [stdout] 748 | 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: `std::ffi::OsString` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | if (x == 0 && y == 0) {return;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | if( x > 0 ) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | else if( y > 0 ) [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | 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 `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | 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:103:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 103 | *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:103:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 103 | *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:110:26 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 110 | 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:111:26 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 111 | 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:110:26 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 110 | 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:118:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 118 | POS.lock().unwrap().x = 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:111:26 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 111 | 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:118:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 118 | POS.lock().unwrap().x = 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:119:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | 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:126:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 126 | 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:119:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | 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] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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:126:21 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 126 | 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:185:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 185 | 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:178:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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:185:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 185 | 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:186:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 186 | 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:186:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 186 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 194 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 194 | 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:195:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 195 | 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 `CHY` in the current scope [INFO] [stdout] --> src/main.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 195 | 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:202:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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:202:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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:220:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 220 | 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:203:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [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:220:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 220 | 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:224:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 224 | 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:225:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 225 | POS.lock().unwrap().x = getx(line_end); [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:224:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 224 | 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:225:13 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 225 | POS.lock().unwrap().x = getx(line_end); [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:276:22 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 276 | let ch_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:277:22 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 277 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 287 | 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:290:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | 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:297:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 297 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 276 | let ch_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:277:22 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 277 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 303 | let x = {POS.lock().unwrap().x} as usize; [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:307:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 307 | 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:287:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 287 | 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:315:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 315 | POS.lock().unwrap().x = getx(index.unwrap()); [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:290:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 290 | 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:297:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 297 | 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:303:16 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 303 | let x = {POS.lock().unwrap().x} as usize; [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:338:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 338 | POS.lock().unwrap().x = getx(index.unwrap()) + 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:345:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 345 | POS.lock().unwrap().x = getx(index.unwrap()+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:307:7 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 307 | 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:315:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 315 | POS.lock().unwrap().x = getx(index.unwrap()); [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:338:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 338 | POS.lock().unwrap().x = getx(index.unwrap()) + 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:371:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 371 | 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:372:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 372 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 373 | let ch_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:345:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 345 | POS.lock().unwrap().x = getx(index.unwrap()+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:374:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 374 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 371 | 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:372:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 372 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 373 | let ch_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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:389:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 389 | let ch_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:374:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 374 | 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:390:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 390 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:389:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 389 | let ch_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:390:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 390 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 449 | 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 `CHY` in the current scope [INFO] [stdout] --> src/main.rs:450:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 450 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:452:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 452 | POS.lock().unwrap().x = 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:449:24 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 449 | 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 `CHY` in the current scope [INFO] [stdout] --> src/main.rs:450:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 450 | 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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:465:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 465 | 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:452:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 452 | POS.lock().unwrap().x = 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:466:29 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 466 | let w = {*CHX.lock().unwrap()} as i32; [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:465:28 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 465 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 466 | let w = {*CHX.lock().unwrap()} as i32; [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:467:29 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 467 | 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 `CHY` in the current scope [INFO] [stdout] --> src/main.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 467 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 474 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 474 | 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:482:23 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 482 | 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:482:23 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 482 | 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:525:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 525 | POS.lock().unwrap().x = 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:526:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 526 | 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:525:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 525 | POS.lock().unwrap().x = 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:538:20 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 538 | 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:526:11 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 526 | 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:539:20 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 539 | 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:538:20 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 538 | 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:549:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 549 | 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:584:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 584 | 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:539:20 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 539 | 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:549:15 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 549 | 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:736:10 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 736 | *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 `POS` in the current scope [INFO] [stdout] --> src/main.rs:584:17 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 584 | 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:737:10 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 737 | *CHY.lock().unwrap() = tm.tmHeight; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 126 previous errors; 11 warnings 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 `CHX` in the current scope [INFO] [stdout] --> src/main.rs:736:10 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 736 | *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:737:10 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! [INFO] [stdout] 61 | | { [INFO] [stdout] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stdout] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stdout] ... | [INFO] [stdout] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] ... [INFO] [stdout] 737 | *CHY.lock().unwrap() = tm.tmHeight; [INFO] [stdout] | ^^^^ method not found in `CHY` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `read` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 126 previous errors; 11 warnings 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" "5ec0be3c64ff9e52d69829e9ebda192e5247e734590ca553438dfb11884d6074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec0be3c64ff9e52d69829e9ebda192e5247e734590ca553438dfb11884d6074", kill_on_drop: false }` [INFO] [stdout] 5ec0be3c64ff9e52d69829e9ebda192e5247e734590ca553438dfb11884d6074