[INFO] updating cached repository JesperAxelsson/rust-virtual-listview [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/JesperAxelsson/rust-virtual-listview [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/JesperAxelsson/rust-virtual-listview" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/JesperAxelsson/rust-virtual-listview"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/JesperAxelsson/rust-virtual-listview'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/JesperAxelsson/rust-virtual-listview" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/JesperAxelsson/rust-virtual-listview"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/JesperAxelsson/rust-virtual-listview'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3907acff8b103fde1ea80639addb00377e24ae8d [INFO] sha for GitHub repo JesperAxelsson/rust-virtual-listview: 3907acff8b103fde1ea80639addb00377e24ae8d [INFO] validating manifest of JesperAxelsson/rust-virtual-listview on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of JesperAxelsson/rust-virtual-listview on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing JesperAxelsson/rust-virtual-listview [INFO] finished frobbing JesperAxelsson/rust-virtual-listview [INFO] frobbed toml for JesperAxelsson/rust-virtual-listview written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/JesperAxelsson/rust-virtual-listview/Cargo.toml [INFO] started frobbing JesperAxelsson/rust-virtual-listview [INFO] finished frobbing JesperAxelsson/rust-virtual-listview [INFO] frobbed toml for JesperAxelsson/rust-virtual-listview written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/JesperAxelsson/rust-virtual-listview/Cargo.toml [INFO] crate JesperAxelsson/rust-virtual-listview already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking JesperAxelsson/rust-virtual-listview against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/JesperAxelsson/rust-virtual-listview:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8e71c8edda81984e14e983aeb6a66e2a049d6ee3eb0254e81a1e44590a802029 [INFO] running `"docker" "start" "-a" "8e71c8edda81984e14e983aeb6a66e2a049d6ee3eb0254e81a1e44590a802029"` [INFO] [stderr] Checking rust-virtual-listview v0.1.0 (/opt/crater/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 `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] 66 | let mut icc = mem::zeroed::(); [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] 67 | icc.dwSize = mem::size_of::() 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::() 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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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] 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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = 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 outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:44:46 [INFO] [stderr] | [INFO] [stderr] 44 | let mut wide: Vec = OsStr::new(str).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [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: 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] 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: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] 66 | let mut icc = mem::zeroed::(); [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] 67 | icc.dwSize = mem::size_of::() 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::() 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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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] 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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = 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 outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-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> = RwLock::new(Vec::new()); [INFO] [stderr] 51 | | static ref STRING_CACHE: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:44:46 [INFO] [stderr] | [INFO] [stderr] 44 | let mut wide: Vec = OsStr::new(str).encode_wide().chain(once(0)).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [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" "8e71c8edda81984e14e983aeb6a66e2a049d6ee3eb0254e81a1e44590a802029"` [INFO] running `"docker" "rm" "-f" "8e71c8edda81984e14e983aeb6a66e2a049d6ee3eb0254e81a1e44590a802029"` [INFO] [stdout] 8e71c8edda81984e14e983aeb6a66e2a049d6ee3eb0254e81a1e44590a802029