[INFO] updating cached repository https://github.com/sailfish009/read [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 54502c1fc6f4ec4766ae2a2c3fdbe5ee259146f1 [INFO] checking sailfish009/read against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsailfish009%2Fread" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sailfish009/read on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/sailfish009/read already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d2b16e0effa5ec85096f7bd55ea5798a09cfb0e30c6088a9606819cc710a8e10 [INFO] running `"docker" "start" "-a" "d2b16e0effa5ec85096f7bd55ea5798a09cfb0e30c6088a9606819cc710a8e10"` [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking read v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::shellapi as shell; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::winuser as user; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | use winapi::shared::minwindef::{HINSTANCE, INT, UINT, DWORD, WPARAM, LPARAM, LRESULT, LPVOID, MAX_PATH }; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | use winapi::um::winnt::{LPCWSTR, LPWSTR, LONG}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::um`, `user::WS_OVERLAPPEDWINDOW`, `user::WS_VISIBLE`, `user::WNDCLASSW`, `user::LPCREATESTRUCTW` [INFO] [stderr] --> src/main.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::wingdi as gdi; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] ... [INFO] [stderr] 43 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WNDCLASSW, LPCREATESTRUCTW}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:58:15 [INFO] [stderr] | [INFO] [stderr] 58 | struct CH {x :LONG, y :LONG, c :char} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | struct CH {x :LONG, y :LONG, c :char} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope [INFO] [stderr] --> src/main.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | static ref POS: Mutex = Mutex::new(POINT{x:0, y:0}); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | static ref POS: Mutex = Mutex::new(POINT{x:0, y:0}); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | static ref CHX: Mutex = Mutex::new(0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | static ref CHY: Mutex = Mutex::new(0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | *POS.lock().unwrap() = POINT{x:0, y:0}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | fn clearscreen(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:161:15 [INFO] [stderr] | [INFO] [stderr] 161 | fn clearch(w :HWND, i :usize, r :i32) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:171:22 [INFO] [stderr] | [INFO] [stderr] 171 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:174:22 [INFO] [stderr] | [INFO] [stderr] 174 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:191:25 [INFO] [stderr] | [INFO] [stderr] 191 | fn getrect(i :usize) -> RECT [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:196:11 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | fn line(w :HWND, f :HFONT, mode :u8) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | fn line(w :HWND, f :HFONT, mode :u8) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:265:16 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:265:25 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:265:42 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:269:32 [INFO] [stderr] | [INFO] [stderr] 269 | let dc = user::GetDC(w) as HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/main.rs:270:32 [INFO] [stderr] | [INFO] [stderr] 270 | gdi::SelectObject(dc, f as HGDIOBJ ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:285:14 [INFO] [stderr] | [INFO] [stderr] 285 | fn key_up(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:294:16 [INFO] [stderr] | [INFO] [stderr] 294 | fn key_down(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:301:16 [INFO] [stderr] | [INFO] [stderr] 301 | fn key_left(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:321:17 [INFO] [stderr] | [INFO] [stderr] 321 | fn key_right(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:351:17 [INFO] [stderr] | [INFO] [stderr] 351 | fn showcaret(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:400:17 [INFO] [stderr] | [INFO] [stderr] 400 | fn hidecaret(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:405:12 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:405:21 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:405:32 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:597:46 [INFO] [stderr] | [INFO] [stderr] 597 | pub unsafe extern "system" fn window_proc(w :HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:598:8 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:598:28 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:598:39 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope [INFO] [stderr] --> src/main.rs:602:25 [INFO] [stderr] | [INFO] [stderr] 602 | let param = &*(l as LPCREATESTRUCTW); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:611:69 [INFO] [stderr] | [INFO] [stderr] 611 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/main.rs:626:32 [INFO] [stderr] | [INFO] [stderr] 626 | let mut v = vec![0u16; MAX_PATH as usize]; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/main.rs:627:57 [INFO] [stderr] | [INFO] [stderr] 627 | shell::DragQueryFileW(hdrop, 0, v.as_mut_ptr(), MAX_PATH as u32); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:637:71 [INFO] [stderr] | [INFO] [stderr] 637 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:667:15 [INFO] [stderr] | [INFO] [stderr] 667 | let wnd = WNDCLASSW [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:673:23 [INFO] [stderr] | [INFO] [stderr] 673 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:675:36 [INFO] [stderr] | [INFO] [stderr] 675 | hIcon: user::LoadImageW(0 as HINSTANCE, icon_name.as_ptr(), user::IMAGE_ICON, 0, 0, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:676:76 [INFO] [stderr] | [INFO] [stderr] 676 | user::LR_LOADFROMFILE | user::LR_DEFAULTSIZE | user::LR_SHARED) as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:677:21 [INFO] [stderr] | [INFO] [stderr] 677 | hCursor: 0 as HICON, // user32::LoadCursorW(0 as HINSTANCE, user::IDI_APPLICATION), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:678:27 [INFO] [stderr] | [INFO] [stderr] 678 | hbrBackground: 0 as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/main.rs:679:26 [INFO] [stderr] | [INFO] [stderr] 679 | lpszMenuName: 0 as LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:687:7 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/main.rs:687:29 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:687:58 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:687:69 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:687:81 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/main.rs:687:100 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:693:19 [INFO] [stderr] | [INFO] [stderr] 693 | hwnd : 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:694:22 [INFO] [stderr] | [INFO] [stderr] 694 | message : 0 as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:695:21 [INFO] [stderr] | [INFO] [stderr] 695 | wParam : 0 as WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:696:21 [INFO] [stderr] | [INFO] [stderr] 696 | lParam : 0 as LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:697:19 [INFO] [stderr] | [INFO] [stderr] 697 | time : 0 as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:698:12 [INFO] [stderr] | [INFO] [stderr] 698 | pt : POINT{x:0, y:0, }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:704:58 [INFO] [stderr] | [INFO] [stderr] 704 | user::SendMessageW(hwnd, user::WM_SETFONT, font as WPARAM, 1); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:707:35 [INFO] [stderr] | [INFO] [stderr] 707 | let dc = user::GetDC(hwnd) as HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/main.rs:708:22 [INFO] [stderr] | [INFO] [stderr] 708 | let mut char_w : INT = 0; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/main.rs:732:35 [INFO] [stderr] | [INFO] [stderr] 732 | gdi::SelectObject(dc, font as HGDIOBJ ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:733:35 [INFO] [stderr] | [INFO] [stderr] 733 | gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:733:46 [INFO] [stderr] | [INFO] [stderr] 733 | gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stderr] --> src/main.rs:738:34 [INFO] [stderr] | [INFO] [stderr] 738 | user::CreateCaret(hwnd, 0 as HBITMAP, 1, tm.tmHeight); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:748:48 [INFO] [stderr] | [INFO] [stderr] 748 | let m = user::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::OsString` [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use std::ffi::OsString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:209:10 [INFO] [stderr] | [INFO] [stderr] 209 | if (x == 0 && y == 0) {return;} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | if( x > 0 ) [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:222:14 [INFO] [stderr] | [INFO] [stderr] 222 | else if( y > 0 ) [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | use winapi::um::shellapi as shell; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use winapi::um::winuser as user; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use winapi::shared::windef::{HWND, HMENU, HBRUSH, HICON, HFONT, HGDIOBJ, HBITMAP, HDC, RECT, POINT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | use winapi::shared::minwindef::{HINSTANCE, INT, UINT, DWORD, WPARAM, LPARAM, LRESULT, LPVOID, MAX_PATH }; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | use winapi::um::winnt::{LPCWSTR, LPWSTR, LONG}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::um`, `user::WS_OVERLAPPEDWINDOW`, `user::WS_VISIBLE`, `user::WNDCLASSW`, `user::LPCREATESTRUCTW` [INFO] [stderr] --> src/main.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use winapi::um::wingdi as gdi; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] ... [INFO] [stderr] 43 | use user::{WS_OVERLAPPEDWINDOW, WS_VISIBLE, WNDCLASSW, LPCREATESTRUCTW}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:58:15 [INFO] [stderr] | [INFO] [stderr] 58 | struct CH {x :LONG, y :LONG, c :char} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | struct CH {x :LONG, y :LONG, c :char} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope [INFO] [stderr] --> src/main.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | static ref POS: Mutex = Mutex::new(POINT{x:0, y:0}); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:65:45 [INFO] [stderr] | [INFO] [stderr] 65 | static ref POS: Mutex = Mutex::new(POINT{x:0, y:0}); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | static ref CHX: Mutex = Mutex::new(0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | static ref CHY: Mutex = Mutex::new(0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | fn fileio(w :HWND, f :HFONT, path :String, mode :u8) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | *POS.lock().unwrap() = POINT{x:0, y:0}; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | fn clearscreen(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:161:15 [INFO] [stderr] | [INFO] [stderr] 161 | fn clearch(w :HWND, i :usize, r :i32) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:171:22 [INFO] [stderr] | [INFO] [stderr] 171 | fn getx(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let x = vec[i].x; x} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | fn gety(i :usize) -> LONG {let vec = {TEXT.lock().unwrap()}; let y = vec[i].y; y} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:174:22 [INFO] [stderr] | [INFO] [stderr] 174 | fn setx(i :usize, x :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].x = x;} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/main.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | fn sety(i :usize, y :LONG){let mut vec = {TEXT.lock().unwrap()}; vec[i].y = y;} [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:191:25 [INFO] [stderr] | [INFO] [stderr] 191 | fn getrect(i :usize) -> RECT [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:196:11 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | fn line(w :HWND, f :HFONT, mode :u8) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:200:21 [INFO] [stderr] | [INFO] [stderr] 200 | fn line(w :HWND, f :HFONT, mode :u8) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:265:16 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:265:25 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:265:42 [INFO] [stderr] | [INFO] [stderr] 265 | fn drawtext(w :HWND, f :HFONT, c :CH, p :WPARAM) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:269:32 [INFO] [stderr] | [INFO] [stderr] 269 | let dc = user::GetDC(w) as HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/main.rs:270:32 [INFO] [stderr] | [INFO] [stderr] 270 | gdi::SelectObject(dc, f as HGDIOBJ ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:285:14 [INFO] [stderr] | [INFO] [stderr] 285 | fn key_up(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:294:16 [INFO] [stderr] | [INFO] [stderr] 294 | fn key_down(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:301:16 [INFO] [stderr] | [INFO] [stderr] 301 | fn key_left(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:321:17 [INFO] [stderr] | [INFO] [stderr] 321 | fn key_right(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:351:17 [INFO] [stderr] | [INFO] [stderr] 351 | fn showcaret(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:400:17 [INFO] [stderr] | [INFO] [stderr] 400 | fn hidecaret(w :HWND) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:405:12 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:405:21 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:405:32 [INFO] [stderr] | [INFO] [stderr] 405 | fn edit(w :HWND, p :WPARAM, f :HFONT) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:597:46 [INFO] [stderr] | [INFO] [stderr] 597 | pub unsafe extern "system" fn window_proc(w :HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:598:8 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:598:28 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stderr] --> src/main.rs:598:39 [INFO] [stderr] | [INFO] [stderr] 598 | msg :UINT, p :WPARAM, l :LPARAM) -> LRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCREATESTRUCTW` in this scope [INFO] [stderr] --> src/main.rs:602:25 [INFO] [stderr] | [INFO] [stderr] 602 | let param = &*(l as LPCREATESTRUCTW); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:611:69 [INFO] [stderr] | [INFO] [stderr] 611 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/main.rs:626:32 [INFO] [stderr] | [INFO] [stderr] 626 | let mut v = vec![0u16; MAX_PATH as usize]; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stderr] --> src/main.rs:627:57 [INFO] [stderr] | [INFO] [stderr] 627 | shell::DragQueryFileW(hdrop, 0, v.as_mut_ptr(), MAX_PATH as u32); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HFONT` in this scope [INFO] [stderr] --> src/main.rs:637:71 [INFO] [stderr] | [INFO] [stderr] 637 | let font = user::GetWindowLongPtrW(w, user::GWLP_USERDATA) as HFONT; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:667:15 [INFO] [stderr] | [INFO] [stderr] 667 | let wnd = WNDCLASSW [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:673:23 [INFO] [stderr] | [INFO] [stderr] 673 | hInstance: 0 as HINSTANCE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:675:36 [INFO] [stderr] | [INFO] [stderr] 675 | hIcon: user::LoadImageW(0 as HINSTANCE, icon_name.as_ptr(), user::IMAGE_ICON, 0, 0, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:676:76 [INFO] [stderr] | [INFO] [stderr] 676 | user::LR_LOADFROMFILE | user::LR_DEFAULTSIZE | user::LR_SHARED) as HICON, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HICON` in this scope [INFO] [stderr] --> src/main.rs:677:21 [INFO] [stderr] | [INFO] [stderr] 677 | hCursor: 0 as HICON, // user32::LoadCursorW(0 as HINSTANCE, user::IDI_APPLICATION), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stderr] --> src/main.rs:678:27 [INFO] [stderr] | [INFO] [stderr] 678 | hbrBackground: 0 as HBRUSH, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/main.rs:679:26 [INFO] [stderr] | [INFO] [stderr] 679 | lpszMenuName: 0 as LPCWSTR, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stderr] --> src/main.rs:687:7 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stderr] --> src/main.rs:687:29 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:687:58 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stderr] --> src/main.rs:687:69 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stderr] --> src/main.rs:687:81 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/main.rs:687:100 [INFO] [stderr] | [INFO] [stderr] 687 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, 0, 0, W, H, 0 as HWND, 0 as HMENU, 0 as HINSTANCE, font as LPVOID); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:693:19 [INFO] [stderr] | [INFO] [stderr] 693 | hwnd : 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:694:22 [INFO] [stderr] | [INFO] [stderr] 694 | message : 0 as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:695:21 [INFO] [stderr] | [INFO] [stderr] 695 | wParam : 0 as WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:696:21 [INFO] [stderr] | [INFO] [stderr] 696 | lParam : 0 as LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:697:19 [INFO] [stderr] | [INFO] [stderr] 697 | time : 0 as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/main.rs:698:12 [INFO] [stderr] | [INFO] [stderr] 698 | pt : POINT{x:0, y:0, }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/main.rs:704:58 [INFO] [stderr] | [INFO] [stderr] 704 | user::SendMessageW(hwnd, user::WM_SETFONT, font as WPARAM, 1); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:707:35 [INFO] [stderr] | [INFO] [stderr] 707 | let dc = user::GetDC(hwnd) as HDC; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INT` in this scope [INFO] [stderr] --> src/main.rs:708:22 [INFO] [stderr] | [INFO] [stderr] 708 | let mut char_w : INT = 0; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HGDIOBJ` in this scope [INFO] [stderr] --> src/main.rs:732:35 [INFO] [stderr] | [INFO] [stderr] 732 | gdi::SelectObject(dc, font as HGDIOBJ ); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:733:35 [INFO] [stderr] | [INFO] [stderr] 733 | gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/main.rs:733:46 [INFO] [stderr] | [INFO] [stderr] 733 | gdi::GetCharWidth32W(dc, 0 as UINT, 0 as UINT, &mut char_w); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HBITMAP` in this scope [INFO] [stderr] --> src/main.rs:738:34 [INFO] [stderr] | [INFO] [stderr] 738 | user::CreateCaret(hwnd, 0 as HBITMAP, 1, tm.tmHeight); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:748:48 [INFO] [stderr] | [INFO] [stderr] 748 | let m = user::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::OsString` [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use std::ffi::OsString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:209:10 [INFO] [stderr] | [INFO] [stderr] 209 | if (x == 0 && y == 0) {return;} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | if( x > 0 ) [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:222:14 [INFO] [stderr] | [INFO] [stderr] 222 | else if( y > 0 ) [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 103 | *POS.lock().unwrap() = POINT{x:0, y:0}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:110:26 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 110 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 111 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 118 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 119 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 126 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:178:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 178 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:185:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 185 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:186:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 186 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 194 | let w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 195 | let h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:202:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 202 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:203:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 203 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 220 | POS.lock().unwrap().x -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 224 | POS.lock().unwrap().y -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 225 | POS.lock().unwrap().x = getx(line_end); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:276:22 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 276 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:277:22 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 277 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:287:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 287 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:290:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 290 | POS.lock().unwrap().y -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:297:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 297 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:303:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 303 | let x = {POS.lock().unwrap().x} as usize; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:307:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 307 | POS.lock().unwrap().x -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:315:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 315 | POS.lock().unwrap().x = getx(index.unwrap()); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:81:21 [INFO] [stderr] | [INFO] [stderr] 81 | OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:338:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 338 | POS.lock().unwrap().x = getx(index.unwrap()) + 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:345:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 345 | POS.lock().unwrap().x = getx(index.unwrap()+1); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:371:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 371 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 103 | *POS.lock().unwrap() = POINT{x:0, y:0}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:372:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 372 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:110:26 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 110 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:373:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 373 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:111:26 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 111 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:374:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 374 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 118 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:389:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 389 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 119 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:390:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 390 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 126 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:449:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 449 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:450:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 450 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:452:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 452 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:465:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 465 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:466:29 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 466 | let w = {*CHX.lock().unwrap()} as i32; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:467:29 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 467 | let h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:474:23 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 474 | POS.lock().unwrap().x = x; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:482:23 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 482 | POS.lock().unwrap().x = x; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:178:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 178 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:525:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 525 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:526:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 526 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:538:20 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 538 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:185:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 185 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:539:20 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 539 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:186:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 186 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:549:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 549 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 194 | let w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:584:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 584 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 195 | let h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:202:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 202 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:203:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 203 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:736:10 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 736 | *CHX.lock().unwrap() = char_w; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 220 | POS.lock().unwrap().x -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:737:10 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 737 | *CHY.lock().unwrap() = tm.tmHeight; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 224 | POS.lock().unwrap().y -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:225:13 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 225 | POS.lock().unwrap().x = getx(line_end); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error: aborting due to 126 previous errors; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:276:22 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 276 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:277:22 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 277 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:287:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 287 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:290:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 290 | POS.lock().unwrap().y -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:297:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 297 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error: could not compile `read`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:303:16 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 303 | let x = {POS.lock().unwrap().x} as usize; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:307:7 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 307 | POS.lock().unwrap().x -= 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:315:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 315 | POS.lock().unwrap().x = getx(index.unwrap()); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:338:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 338 | POS.lock().unwrap().x = getx(index.unwrap()) + 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:345:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 345 | POS.lock().unwrap().x = getx(index.unwrap()+1); [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:371:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 371 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:372:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 372 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:373:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 373 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:374:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 374 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:389:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 389 | let ch_w = {*CHX.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:390:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 390 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:449:24 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 449 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:450:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 450 | let ch_h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:452:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 452 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:465:28 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 465 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:466:29 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 466 | let w = {*CHX.lock().unwrap()} as i32; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:467:29 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 467 | let h = {*CHY.lock().unwrap()}; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:474:23 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 474 | POS.lock().unwrap().x = x; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:482:23 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 482 | POS.lock().unwrap().x = x; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:525:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 525 | POS.lock().unwrap().x = 0; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:526:11 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 526 | POS.lock().unwrap().y += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:538:20 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 538 | let x = {POS.lock().unwrap().x}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:539:20 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 539 | let y = {POS.lock().unwrap().y}; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:549:15 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 549 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `POS` in the current scope [INFO] [stderr] --> src/main.rs:584:17 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 584 | POS.lock().unwrap().x += 1; [INFO] [stderr] | ^^^^ method not found in `POS` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHX` in the current scope [INFO] [stderr] --> src/main.rs:736:10 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 736 | *CHX.lock().unwrap() = char_w; [INFO] [stderr] | ^^^^ method not found in `CHX` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lock` found for struct `CHY` in the current scope [INFO] [stderr] --> src/main.rs:737:10 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! [INFO] [stderr] 61 | | { [INFO] [stderr] 62 | | // MODE: 0: save 1(i),2(a): edit [INFO] [stderr] 63 | | static ref MODE: Mutex = Mutex::new(0); [INFO] [stderr] ... | [INFO] [stderr] 68 | | static ref END: Mutex = Mutex::new(0); [INFO] [stderr] 69 | | } [INFO] [stderr] | |_- method `lock` not found for this [INFO] [stderr] ... [INFO] [stderr] 737 | *CHY.lock().unwrap() = tm.tmHeight; [INFO] [stderr] | ^^^^ method not found in `CHY` [INFO] [stderr] [INFO] [stderr] error: aborting due to 126 previous errors; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `read`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d2b16e0effa5ec85096f7bd55ea5798a09cfb0e30c6088a9606819cc710a8e10"` [INFO] running `"docker" "rm" "-f" "d2b16e0effa5ec85096f7bd55ea5798a09cfb0e30c6088a9606819cc710a8e10"` [INFO] [stdout] d2b16e0effa5ec85096f7bd55ea5798a09cfb0e30c6088a9606819cc710a8e10