[INFO] cloning repository https://github.com/Fastiraz/winapi-clipboard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fastiraz/winapi-clipboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFastiraz%2Fwinapi-clipboard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFastiraz%2Fwinapi-clipboard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8f53ed73f62aee5aaa83ee769b525addda4eb3c6
[INFO] checking Fastiraz/winapi-clipboard against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFastiraz%2Fwinapi-clipboard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Fastiraz/winapi-clipboard
[INFO] finished tweaking git repo https://github.com/Fastiraz/winapi-clipboard
[INFO] tweaked toml for git repo https://github.com/Fastiraz/winapi-clipboard written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Fastiraz/winapi-clipboard on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Fastiraz/winapi-clipboard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2507a3e196c1867a04dd92bfce938c3674e3e1d7f75186ac4b3c49f23fb2e4d
[INFO] running `Command { std: "docker" "start" "-a" "c2507a3e196c1867a04dd92bfce938c3674e3e1d7f75186ac4b3c49f23fb2e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2507a3e196c1867a04dd92bfce938c3674e3e1d7f75186ac4b3c49f23fb2e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2507a3e196c1867a04dd92bfce938c3674e3e1d7f75186ac4b3c49f23fb2e4d", kill_on_drop: false }`
[INFO] [stdout] c2507a3e196c1867a04dd92bfce938c3674e3e1d7f75186ac4b3c49f23fb2e4d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 359db08b4d6c0516e2c7a2e7f4cb0bc680b64135f1e8c1c0a0691c033b60eb03
[INFO] running `Command { std: "docker" "start" "-a" "359db08b4d6c0516e2c7a2e7f4cb0bc680b64135f1e8c1c0a0691c033b60eb03", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking winapi-clipboard v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::libloaderapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winbase::GlobalLock;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::winbase::GlobalUnlock;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::minwindef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::*;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::libloaderapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::winuser::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winbase::GlobalLock;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::winbase::GlobalUnlock;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     msg: UINT,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     wparam: WPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     lparam: LPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/main.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope
[INFO] [stdout]   --> src/main.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let handle = GetClipboardData(CF_UNICODETEXT);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let wnd_class = WNDCLASSW {
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ..zeroed::<WNDCLASSW>()
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_MESSAGE` in this scope
[INFO] [stdout]   --> src/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HWND_MESSAGE,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     OsStr::new(s)
[INFO] [stdout] 19 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddClipboardFormatListener` in this scope
[INFO] [stdout]   --> src/main.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let add_result = AddClipboardFormatListener(hwnd);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemoveClipboardFormatListener` in this scope
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 RemoveClipboardFormatListener(hwnd);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             PostQuitMessage(0);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |     msg: UINT,
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     wparam: WPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     lparam: LPARAM,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/main.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope
[INFO] [stdout]   --> src/main.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let handle = GetClipboardData(CF_UNICODETEXT);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let wnd_class = WNDCLASSW {
[INFO] [stdout]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope
[INFO] [stdout]   --> src/main.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             if OpenClipboard(ptr::null_mut()) != 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope
[INFO] [stdout]   --> src/main.rs:51:30
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let handle = GetClipboardData(CF_UNICODETEXT);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope
[INFO] [stdout]   --> src/main.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 CloseClipboard();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/main.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope
[INFO] [stdout]   --> src/main.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ..zeroed::<WNDCLASSW>()
[INFO] [stdout]    |                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_MESSAGE` in this scope
[INFO] [stdout]   --> src/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             HWND_MESSAGE,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let hinst = GetModuleHandleW(ptr::null_mut());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if RegisterClassW(&wnd_class) == 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let hwnd = CreateWindowExW(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:104:23
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let res = GetMessageW(&mut msg, ptr::null_mut(), 0, 0);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     OsStr::new(s)
[INFO] [stdout] 19 | |         .encode_wide()
[INFO] [stdout]    | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddClipboardFormatListener` in this scope
[INFO] [stdout]   --> src/main.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let add_result = AddClipboardFormatListener(hwnd);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winapi-clipboard` (bin "winapi-clipboard") due to 29 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RemoveClipboardFormatListener` in this scope
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 RemoveClipboardFormatListener(hwnd);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             PostQuitMessage(0);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope
[INFO] [stdout]   --> src/main.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             if OpenClipboard(ptr::null_mut()) != 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope
[INFO] [stdout]   --> src/main.rs:51:30
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 let handle = GetClipboardData(CF_UNICODETEXT);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope
[INFO] [stdout]   --> src/main.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 CloseClipboard();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/main.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |         _ => DefWindowProcW(hwnd, msg, wparam, lparam),
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope
[INFO] [stdout]   --> src/main.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let hinst = GetModuleHandleW(ptr::null_mut());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |         if RegisterClassW(&wnd_class) == 0 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let hwnd = CreateWindowExW(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:104:23
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let res = GetMessageW(&mut msg, ptr::null_mut(), 0, 0);
[INFO] [stdout]     |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             DispatchMessageW(&msg);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winapi-clipboard` (bin "winapi-clipboard" test) due to 29 previous errors
[INFO] running `Command { std: "docker" "inspect" "359db08b4d6c0516e2c7a2e7f4cb0bc680b64135f1e8c1c0a0691c033b60eb03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "359db08b4d6c0516e2c7a2e7f4cb0bc680b64135f1e8c1c0a0691c033b60eb03", kill_on_drop: false }`
[INFO] [stdout] 359db08b4d6c0516e2c7a2e7f4cb0bc680b64135f1e8c1c0a0691c033b60eb03
