[INFO] updating cached repository https://github.com/Earlz/rust-hellowindows [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] 73a2683ad1b95d968870b82adb54e17a0b5a118b [INFO] checking Earlz/rust-hellowindows against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEarlz%2Frust-hellowindows" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Earlz/rust-hellowindows on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Earlz/rust-hellowindows [INFO] finished tweaking git repo https://github.com/Earlz/rust-hellowindows [INFO] tweaked toml for git repo https://github.com/Earlz/rust-hellowindows written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Earlz/rust-hellowindows already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1e40f64ce325f0bd0504b4ff34c4a993fb4549ea22052763d05bd755b3d8723d [INFO] running `"docker" "start" "-a" "1e40f64ce325f0bd0504b4ff34c4a993fb4549ea22052763d05bd755b3d8723d"` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking hellowindows 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, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | OsStringExt::from_wide(wide) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/main.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | ::from_wide(wide).into() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:57 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:71 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:87 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:98 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | return DefWindowProcW(handle, msg, wparam, lparam); [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:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | let hinstance:HINSTANCE = unsafe{ [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:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | let mut hmodule: HINSTANCE = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleExA` in this scope [INFO] [stderr] --> src/main.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, "main".as_ptr() as *const i8, &mut hmodule); [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:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | let wc=WNDCLASSW{ [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:76:16 [INFO] [stderr] | [INFO] [stderr] 76 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:81:23 [INFO] [stderr] | [INFO] [stderr] 81 | hIcon: unsafe{LoadIconW(ptr::null_mut(), IDI_APPLICATION)}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/main.rs:81:50 [INFO] [stderr] | [INFO] [stderr] 81 | hIcon: unsafe{LoadIconW(ptr::null_mut(), 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 this scope [INFO] [stderr] --> src/main.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | hCursor: unsafe{LoadCursorW(ptr::null_mut(), IDC_ARROW)}, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:82:54 [INFO] [stderr] | [INFO] [stderr] 82 | hCursor: unsafe{LoadCursorW(ptr::null_mut(), IDC_ARROW)}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSysColorBrush` in this scope [INFO] [stderr] --> src/main.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | hbrBackground: unsafe{GetSysColorBrush(COLOR_3DFACE)}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_3DFACE` in this scope [INFO] [stderr] --> src/main.rs:83:48 [INFO] [stderr] | [INFO] [stderr] 83 | hbrBackground: unsafe{GetSysColorBrush(COLOR_3DFACE)}, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | RegisterClassW(&wc); [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:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | let hwnd = user32::CreateWindowExW(0, wc.lpszClassName, wc.lpszClassName, [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:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | 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:91:39 [INFO] [stderr] | [INFO] [stderr] 91 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | ShowWindow(hwnd, SW_RESTORE); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stderr] --> src/main.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | ShowWindow(hwnd, SW_RESTORE); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stderr] --> src/main.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | let mut msg: MSG = mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:96:15 [INFO] [stderr] | [INFO] [stderr] 96 | while GetMessageW(&mut msg as LPMSG, ptr::null_mut(), 0, 0) != 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPMSG` in this scope [INFO] [stderr] --> src/main.rs:96:39 [INFO] [stderr] | [INFO] [stderr] 96 | while GetMessageW(&mut msg as LPMSG, ptr::null_mut(), 0, 0) != 0 { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:97:11 [INFO] [stderr] | [INFO] [stderr] 97 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [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, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | OsStringExt::from_wide(wide) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OsStringExt` [INFO] [stderr] --> src/main.rs:44:22 [INFO] [stderr] | [INFO] [stderr] 44 | ::from_wide(wide).into() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `OsStringExt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:57 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:71 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:87 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: 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:49:98 [INFO] [stderr] | [INFO] [stderr] 49 | unsafe extern "system" fn windowproc(handle: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> LRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | PostQuitMessage(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | return DefWindowProcW(handle, msg, wparam, lparam); [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:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | let hinstance:HINSTANCE = unsafe{ [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:68:26 [INFO] [stderr] | [INFO] [stderr] 68 | let mut hmodule: HINSTANCE = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleExA` in this scope [INFO] [stderr] --> src/main.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, "main".as_ptr() as *const i8, &mut hmodule); [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:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | let wc=WNDCLASSW{ [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:76:16 [INFO] [stderr] | [INFO] [stderr] 76 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stderr] --> src/main.rs:81:23 [INFO] [stderr] | [INFO] [stderr] 81 | hIcon: unsafe{LoadIconW(ptr::null_mut(), IDI_APPLICATION)}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stderr] --> src/main.rs:81:50 [INFO] [stderr] | [INFO] [stderr] 81 | hIcon: unsafe{LoadIconW(ptr::null_mut(), 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 this scope [INFO] [stderr] --> src/main.rs:82:25 [INFO] [stderr] | [INFO] [stderr] 82 | hCursor: unsafe{LoadCursorW(ptr::null_mut(), IDC_ARROW)}, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stderr] --> src/main.rs:82:54 [INFO] [stderr] | [INFO] [stderr] 82 | hCursor: unsafe{LoadCursorW(ptr::null_mut(), IDC_ARROW)}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSysColorBrush` in this scope [INFO] [stderr] --> src/main.rs:83:31 [INFO] [stderr] | [INFO] [stderr] 83 | hbrBackground: unsafe{GetSysColorBrush(COLOR_3DFACE)}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `COLOR_3DFACE` in this scope [INFO] [stderr] --> src/main.rs:83:48 [INFO] [stderr] | [INFO] [stderr] 83 | hbrBackground: unsafe{GetSysColorBrush(COLOR_3DFACE)}, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | RegisterClassW(&wc); [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:90:28 [INFO] [stderr] | [INFO] [stderr] 90 | let hwnd = user32::CreateWindowExW(0, wc.lpszClassName, wc.lpszClassName, [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:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | 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:91:39 [INFO] [stderr] | [INFO] [stderr] 91 | WS_OVERLAPPEDWINDOW | WS_VISIBLE, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stderr] --> src/main.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | ShowWindow(hwnd, SW_RESTORE); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_RESTORE` in this scope [INFO] [stderr] --> src/main.rs:93:26 [INFO] [stderr] | [INFO] [stderr] 93 | ShowWindow(hwnd, SW_RESTORE); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stderr] --> src/main.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | UpdateWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:95:22 [INFO] [stderr] | [INFO] [stderr] 95 | let mut msg: MSG = mem::zeroed(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:96:15 [INFO] [stderr] | [INFO] [stderr] 96 | while GetMessageW(&mut msg as LPMSG, ptr::null_mut(), 0, 0) != 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPMSG` in this scope [INFO] [stderr] --> src/main.rs:96:39 [INFO] [stderr] | [INFO] [stderr] 96 | while GetMessageW(&mut msg as LPMSG, ptr::null_mut(), 0, 0) != 0 { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:97:11 [INFO] [stderr] | [INFO] [stderr] 97 | DispatchMessageW(&mut msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::*` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `kernel32::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use kernel32::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user32::*` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use user32::*; [INFO] [stderr] | ^^^^^^^^^ [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:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | self.as_ref().encode_wide().collect() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [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:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | self.as_ref().encode_wide().collect() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [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:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | self.as_ref().encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [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:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | self.as_ref().encode_wide().chain(Some(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 35 previous errors; 3 warnings emitted [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: aborting due to 35 previous errors; 3 warnings emitted [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 `hellowindows`. [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: could not compile `hellowindows`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1e40f64ce325f0bd0504b4ff34c4a993fb4549ea22052763d05bd755b3d8723d"` [INFO] running `"docker" "rm" "-f" "1e40f64ce325f0bd0504b4ff34c4a993fb4549ea22052763d05bd755b3d8723d"` [INFO] [stdout] 1e40f64ce325f0bd0504b4ff34c4a993fb4549ea22052763d05bd755b3d8723d