[INFO] cloning repository https://github.com/JesperAxelsson/rust-virtual-listview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JesperAxelsson/rust-virtual-listview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJesperAxelsson%2Frust-virtual-listview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJesperAxelsson%2Frust-virtual-listview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3907acff8b103fde1ea80639addb00377e24ae8d [INFO] checking JesperAxelsson/rust-virtual-listview against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJesperAxelsson%2Frust-virtual-listview" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JesperAxelsson/rust-virtual-listview on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JesperAxelsson/rust-virtual-listview [INFO] finished tweaking git repo https://github.com/JesperAxelsson/rust-virtual-listview [INFO] tweaked toml for git repo https://github.com/JesperAxelsson/rust-virtual-listview written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/JesperAxelsson/rust-virtual-listview already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a68d65189b3b3ea1d01213591f8965767ebc1ab3732efc8ec4fd626ef0eeb59b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a68d65189b3b3ea1d01213591f8965767ebc1ab3732efc8ec4fd626ef0eeb59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a68d65189b3b3ea1d01213591f8965767ebc1ab3732efc8ec4fd626ef0eeb59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68d65189b3b3ea1d01213591f8965767ebc1ab3732efc8ec4fd626ef0eeb59b", kill_on_drop: false }` [INFO] [stdout] a68d65189b3b3ea1d01213591f8965767ebc1ab3732efc8ec4fd626ef0eeb59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7b67c6cef247ed980aedb79a97449cd2588d6308b02e84393620af3bd0ee06c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d7b67c6cef247ed980aedb79a97449cd2588d6308b02e84393620af3bd0ee06c", kill_on_drop: false }` [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling comctl32-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rust-virtual-listview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:234:58 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:235:62 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:235:62 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | let mut msg = winapi::winuser::MSG { [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windef` in `winapi` [INFO] [stdout] --> src/main.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | pt : winapi::windef::POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | static mut LIST_HWND: HWND = 0 as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | static mut LIST_HWND: HWND = 0 as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | const IDC_MAIN_LISTVIEW: HMENU = 101 as HMENU; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | const IDC_MAIN_LISTVIEW: HMENU = 101 as HMENU; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:62:75 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:62:92 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:62:103 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INITCOMMONCONTROLSEX` in this scope [INFO] [stdout] --> src/main.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 66 | let mut icc = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INITCOMMONCONTROLSEX` in this scope [INFO] [stdout] --> src/main.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | icc.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:67:68 [INFO] [stdout] | [INFO] [stdout] 67 | icc.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICC_LISTVIEW_CLASSES` in this scope [INFO] [stdout] --> src/main.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | icc.dwICC = ICC_LISTVIEW_CLASSES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitCommonControlsEx` in crate `comctl32` [INFO] [stdout] --> src/main.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | if comctl32::InitCommonControlsEx(&icc) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPNMHDR` in this scope [INFO] [stdout] --> src/main.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | match (*(l_param as LPNMHDR) as NMHDR).code { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMHDR` in this scope [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | match (*(l_param as LPNMHDR) as NMHDR).code { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | let ix: usize = (*(l_param as *const NMLVDISPINFOW)).item.iItem as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winuser` in `winapi` [INFO] [stdout] --> src/main.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | let mut msg = winapi::winuser::MSG { [INFO] [stdout] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | let mask = (*(l_param as *const NMLVDISPINFOW)).item.mask; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | if (*(l_param as *const NMLVDISPINFOW)).item.iItem < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:89:96 [INFO] [stdout] | [INFO] [stdout] 89 | println!("Request Item with negative index:{:?}", (*(l_param as *const NMLVDISPINFOW)).item.iItem); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVIF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | if (mask & LVIF_TEXT) == LVIF_TEXT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVIF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | if (mask & LVIF_TEXT) == LVIF_TEXT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:109:67 [INFO] [stdout] | [INFO] [stdout] 109 | let (ptr, _) = match (*(l_param as *const NMLVDISPINFOW)).item.iSubItem { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | (*(l_param as *mut NMLVDISPINFOW)).item.pszText = ptr as LPWSTR; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:118:82 [INFO] [stdout] | [INFO] [stdout] 118 | (*(l_param as *mut NMLVDISPINFOW)).item.pszText = ptr as LPWSTR; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | on_size(hwnd, LOWORD(l_param as u32) as i32, HIWORD(l_param as u32) as i32, w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:141:58 [INFO] [stdout] | [INFO] [stdout] 141 | on_size(hwnd, LOWORD(l_param as u32) as i32, HIWORD(l_param as u32) as i32, w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | user32::DestroyWindow(hwnd) as i64 [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/main.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | 4173 => {println!("Got Insert Item"); user32::DefWindowProcW(hwnd, msg, w_param, l_param)} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | 4193 => {println!("Got Insert Column"); user32::DefWindowProcW(hwnd, msg, w_param, l_param)} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | _ => user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | fn on_size(hwnd: HWND, cx: i32, cy: i32, flags: u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | user32::MoveWindow(LIST_HWND, 0, 30, cx, cy-30, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_ARRANGE` in crate `winapi` [INFO] [stdout] --> src/main.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVA_ALIGNTOP` in crate `winapi` [INFO] [stdout] --> src/main.rs:168:70 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | fn test_setup_list(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | user32::SendMessageW(list_hwnd, winapi::LVM_SETITEMCOUNT, (ALL_DATA.read().unwrap().len()-1) as u64, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_SETITEMCOUNT` in crate `winapi` [INFO] [stdout] --> src/main.rs:197:49 [INFO] [stdout] | [INFO] [stdout] 197 | user32::SendMessageW(list_hwnd, winapi::LVM_SETITEMCOUNT, (ALL_DATA.read().unwrap().len()-1) as u64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | fn create_column(list_hwnd: HWND, text: &str, sub_item: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPLVCOLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | let col: winapi::LPLVCOLUMNW = &mut winapi::LV_COLUMNW { [INFO] [stdout] | ^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LV_COLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | let col: winapi::LPLVCOLUMNW = &mut winapi::LV_COLUMNW { [INFO] [stdout] | ^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windef` in `winapi` [INFO] [stdout] --> src/main.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | pt : winapi::windef::POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | static mut LIST_HWND: HWND = 0 as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | static mut LIST_HWND: HWND = 0 as HWND; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | const IDC_MAIN_LISTVIEW: HMENU = 101 as HMENU; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | const IDC_MAIN_LISTVIEW: HMENU = 101 as HMENU; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:62:75 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:62:92 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:62:103 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INITCOMMONCONTROLSEX` in this scope [INFO] [stdout] --> src/main.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 66 | let mut icc = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INITCOMMONCONTROLSEX` in this scope [INFO] [stdout] --> src/main.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub unsafe extern "system" fn window_proc(hwnd: HWND, msg: UINT, w_param: WPARAM, l_param: LPARAM) -> LRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 67 | icc.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:67:68 [INFO] [stdout] | [INFO] [stdout] 67 | icc.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICC_LISTVIEW_CLASSES` in this scope [INFO] [stdout] --> src/main.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | icc.dwICC = ICC_LISTVIEW_CLASSES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVCF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | mask: LVCF_TEXT | LVCF_WIDTH, //LVCF_TEXT | LVCF_IDEALWIDTH | LVCF_WIDTH | LVCF_SUBITEM, // | LVCF_ORDER, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVCF_WIDTH` in this scope [INFO] [stdout] --> src/main.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | mask: LVCF_TEXT | LVCF_WIDTH, //LVCF_TEXT | LVCF_IDEALWIDTH | LVCF_WIDTH | LVCF_SUBITEM, // | LVCF_ORDER, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:209:46 [INFO] [stdout] | [INFO] [stdout] 209 | pszText: text_column.as_ptr() as LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InitCommonControlsEx` in crate `comctl32` [INFO] [stdout] --> src/main.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | if comctl32::InitCommonControlsEx(&icc) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `comctl32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_INSERTCOLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:220:52 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPNMHDR` in this scope [INFO] [stdout] --> src/main.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | match (*(l_param as LPNMHDR) as NMHDR).code { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:220:81 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | fn create_window(title: &str) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32` [INFO] [stdout] --> src/main.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:234:39 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32` [INFO] [stdout] --> src/main.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | let wnd = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/main.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | hbrBackground: 16 as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/main.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | lpszMenuName: 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in crate `user32` [INFO] [stdout] --> src/main.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | if user32::RegisterClassW(&wnd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | let h_wnd_desktop = user32::GetDesktopWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/main.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/main.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | 0 as HMENU, 0 as HINSTANCE, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | 0 as HMENU, 0 as HINSTANCE, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMHDR` in this scope [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | match (*(l_param as LPNMHDR) as NMHDR).code { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | let ix: usize = (*(l_param as *const NMLVDISPINFOW)).item.iItem as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | let mask = (*(l_param as *const NMLVDISPINFOW)).item.mask; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | if (*(l_param as *const NMLVDISPINFOW)).item.iItem < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:89:96 [INFO] [stdout] | [INFO] [stdout] 89 | println!("Request Item with negative index:{:?}", (*(l_param as *const NMLVDISPINFOW)).item.iItem); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVIF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | if (mask & LVIF_TEXT) == LVIF_TEXT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVIF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:93:46 [INFO] [stdout] | [INFO] [stdout] 93 | if (mask & LVIF_TEXT) == LVIF_TEXT { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:109:67 [INFO] [stdout] | [INFO] [stdout] 109 | let (ptr, _) = match (*(l_param as *const NMLVDISPINFOW)).item.iSubItem { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NMLVDISPINFOW` in this scope [INFO] [stdout] --> src/main.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | (*(l_param as *mut NMLVDISPINFOW)).item.pszText = ptr as LPWSTR; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | fn create_list_view(hwnd_parent: HWND) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | fn create_list_view(hwnd_parent: HWND) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:118:82 [INFO] [stdout] | [INFO] [stdout] 118 | (*(l_param as *mut NMLVDISPINFOW)).item.pszText = ptr as LPWSTR; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | let h_instance = kernel32::GetModuleHandleW(std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope [INFO] [stdout] --> src/main.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_NOSORTHEADER` in this scope [INFO] [stdout] --> src/main.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_OWNERDATA` in this scope [INFO] [stdout] --> src/main.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_AUTOARRANGE` in this scope [INFO] [stdout] --> src/main.rs:293:54 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_SINGLESEL` in this scope [INFO] [stdout] --> src/main.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | LVS_SINGLESEL | LVS_REPORT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_REPORT` in this scope [INFO] [stdout] --> src/main.rs:294:35 [INFO] [stdout] | [INFO] [stdout] 294 | LVS_SINGLESEL | LVS_REPORT; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | on_size(hwnd, LOWORD(l_param as u32) as i32, HIWORD(l_param as u32) as i32, w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | user32::ShowWindow(hwnd, winapi::SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in crate `winapi` [INFO] [stdout] --> src/main.rs:318:42 [INFO] [stdout] | [INFO] [stdout] 318 | user32::ShowWindow(hwnd, winapi::SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | user32::UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | hwnd : 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:141:58 [INFO] [stdout] | [INFO] [stdout] 141 | on_size(hwnd, LOWORD(l_param as u32) as i32, HIWORD(l_param as u32) as i32, w_param as u32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | user32::DestroyWindow(hwnd) as i64 [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/main.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | 4173 => {println!("Got Insert Item"); user32::DefWindowProcW(hwnd, msg, w_param, l_param)} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | 4193 => {println!("Got Insert Column"); user32::DefWindowProcW(hwnd, msg, w_param, l_param)} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | _ => user32::DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | fn on_size(hwnd: HWND, cx: i32, cy: i32, flags: u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | user32::MoveWindow(LIST_HWND, 0, 30, cx, cy-30, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_ARRANGE` in crate `winapi` [INFO] [stdout] --> src/main.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVA_ALIGNTOP` in crate `winapi` [INFO] [stdout] --> src/main.rs:168:70 [INFO] [stdout] | [INFO] [stdout] 168 | user32::SendMessageW(LIST_HWND, winapi::LVM_ARRANGE, winapi::LVA_ALIGNTOP, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | fn test_setup_list(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | user32::SendMessageW(list_hwnd, winapi::LVM_SETITEMCOUNT, (ALL_DATA.read().unwrap().len()-1) as u64, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_SETITEMCOUNT` in crate `winapi` [INFO] [stdout] --> src/main.rs:197:49 [INFO] [stdout] | [INFO] [stdout] 197 | user32::SendMessageW(list_hwnd, winapi::LVM_SETITEMCOUNT, (ALL_DATA.read().unwrap().len()-1) as u64, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | fn create_column(list_hwnd: HWND, text: &str, sub_item: i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPLVCOLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | let col: winapi::LPLVCOLUMNW = &mut winapi::LV_COLUMNW { [INFO] [stdout] | ^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LV_COLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | let col: winapi::LPLVCOLUMNW = &mut winapi::LV_COLUMNW { [INFO] [stdout] | ^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVCF_TEXT` in this scope [INFO] [stdout] --> src/main.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | mask: LVCF_TEXT | LVCF_WIDTH, //LVCF_TEXT | LVCF_IDEALWIDTH | LVCF_WIDTH | LVCF_SUBITEM, // | LVCF_ORDER, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVCF_WIDTH` in this scope [INFO] [stdout] --> src/main.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | mask: LVCF_TEXT | LVCF_WIDTH, //LVCF_TEXT | LVCF_IDEALWIDTH | LVCF_WIDTH | LVCF_SUBITEM, // | LVCF_ORDER, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:209:46 [INFO] [stdout] | [INFO] [stdout] 209 | pszText: text_column.as_ptr() as LPWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVM_INSERTCOLUMNW` in crate `winapi` [INFO] [stdout] --> src/main.rs:220:52 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:220:81 [INFO] [stdout] | [INFO] [stdout] 220 | if user32::SendMessageW(list_hwnd, winapi::LVM_INSERTCOLUMNW, 0, col as LPARAM) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | fn create_window(title: &str) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32` [INFO] [stdout] --> src/main.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:234:39 [INFO] [stdout] | [INFO] [stdout] 234 | icon = user32::LoadIconW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 326 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:336:26 [INFO] [stdout] | [INFO] [stdout] 336 | pm = user32::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | pm = user32::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32` [INFO] [stdout] --> src/main.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | user32::TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | user32::DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32` [INFO] [stdout] --> src/main.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | cursor = user32::LoadCursorW(0 as HINSTANCE, winapi::winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | let wnd = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | hInstance: 0 as HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> src/main.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | hbrBackground: 16 as HBRUSH, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/main.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | lpszMenuName: 0 as LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in crate `user32` [INFO] [stdout] --> src/main.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | if user32::RegisterClassW(&wnd) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | let h_wnd_desktop = user32::GetDesktopWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/main.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> src/main.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMENU` in this scope [INFO] [stdout] --> src/main.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | 0 as HMENU, 0 as HINSTANCE, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/main.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | 0 as HMENU, 0 as HINSTANCE, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | fn create_list_view(hwnd_parent: HWND) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | fn create_list_view(hwnd_parent: HWND) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | let h_instance = kernel32::GetModuleHandleW(std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CHILD` in this scope [INFO] [stdout] --> src/main.rs:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_TABSTOP` in this scope [INFO] [stdout] --> src/main.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | let style = WS_VISIBLE | WS_CHILD | WS_TABSTOP | [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_NOSORTHEADER` in this scope [INFO] [stdout] --> src/main.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_OWNERDATA` in this scope [INFO] [stdout] --> src/main.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_AUTOARRANGE` in this scope [INFO] [stdout] --> src/main.rs:293:54 [INFO] [stdout] | [INFO] [stdout] 293 | LVS_NOSORTHEADER | LVS_OWNERDATA | LVS_AUTOARRANGE | [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_SINGLESEL` in this scope [INFO] [stdout] --> src/main.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | LVS_SINGLESEL | LVS_REPORT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LVS_REPORT` in this scope [INFO] [stdout] --> src/main.rs:294:35 [INFO] [stdout] | [INFO] [stdout] 294 | LVS_SINGLESEL | LVS_REPORT; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | user32::ShowWindow(hwnd, winapi::SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in crate `winapi` [INFO] [stdout] --> src/main.rs:318:42 [INFO] [stdout] | [INFO] [stdout] 318 | user32::ShowWindow(hwnd, winapi::SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in crate `user32` [INFO] [stdout] --> src/main.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | user32::UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | hwnd : 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | message : 0 as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:325:23 [INFO] [stdout] | [INFO] [stdout] 325 | wParam : 0 as WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 326 | lParam : 0 as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | time : 0 as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:336:26 [INFO] [stdout] | [INFO] [stdout] 336 | pm = user32::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | pm = user32::GetMessageW(&mut msg, 0 as HWND, 0, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32` [INFO] [stdout] --> src/main.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | user32::TranslateMessage(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32` [INFO] [stdout] --> src/main.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 346 | user32::DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / lazy_static! { [INFO] [stdout] 50 | | static ref ALL_DATA: RwLock> = RwLock::new(Vec::new()); [INFO] [stdout] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let mut wide: Vec = OsStr::new(str).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 98 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | let mut wide: Vec = OsStr::new(str).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-virtual-listview` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 98 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d7b67c6cef247ed980aedb79a97449cd2588d6308b02e84393620af3bd0ee06c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b67c6cef247ed980aedb79a97449cd2588d6308b02e84393620af3bd0ee06c", kill_on_drop: false }` [INFO] [stdout] d7b67c6cef247ed980aedb79a97449cd2588d6308b02e84393620af3bd0ee06c