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