[INFO] cloning repository https://github.com/levinion/wtools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/levinion/wtools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevinion%2Fwtools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevinion%2Fwtools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 732201626fd1318e7456e79dedaeaf4315bdb8b3 [INFO] checking levinion/wtools against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevinion%2Fwtools" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/levinion/wtools on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/levinion/wtools [INFO] finished tweaking git repo https://github.com/levinion/wtools [INFO] tweaked toml for git repo https://github.com/levinion/wtools written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/levinion/wtools 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" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded anstream v0.6.17 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.0 [INFO] [stderr] Downloaded clap v4.5.20 [INFO] [stderr] Downloaded clap_builder v4.5.20 [INFO] [stderr] Downloaded syn v2.0.86 [INFO] [stderr] Downloaded winvd v0.0.46 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eb9830e14eac3cf9a3ca78db440c3f0ebaec4b15be5e04f1f2db897763505a9 [INFO] running `Command { std: "docker" "start" "-a" "0eb9830e14eac3cf9a3ca78db440c3f0ebaec4b15be5e04f1f2db897763505a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eb9830e14eac3cf9a3ca78db440c3f0ebaec4b15be5e04f1f2db897763505a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb9830e14eac3cf9a3ca78db440c3f0ebaec4b15be5e04f1f2db897763505a9", kill_on_drop: false }` [INFO] [stdout] 0eb9830e14eac3cf9a3ca78db440c3f0ebaec4b15be5e04f1f2db897763505a9 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69ec71d1f0c069cb3fdc4a61eb5f32e1787daac821875188cf40e5199945f693 [INFO] running `Command { std: "docker" "start" "-a" "69ec71d1f0c069cb3fdc4a61eb5f32e1787daac821875188cf40e5199945f693", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling windows-interface v0.52.0 [INFO] [stderr] Compiling windows-implement v0.52.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking winvd v0.0.46 [INFO] [stderr] Checking wtools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::UI::WindowsAndMessaging::{MessageBoxW, MB_OK}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/window.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::UI::WindowsAndMessaging::{MessageBoxW, MB_OK}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/window.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/util.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn info(&self) -> WINDOWINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let mut info = WINDOWINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | cbSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Window { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_CLOSE` in this scope [INFO] [stdout] --> src/window.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MAXIMIZE` in this scope [INFO] [stdout] --> src/window.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHOW_FULLSCREEN` in this scope [INFO] [stdout] --> src/window.rs:69:59 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/window.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/window.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/window.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let hwnd = unsafe { GetForegroundWindow() }; [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/window.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn info(&self) -> WINDOWINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let mut info = WINDOWINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WINDOWINFO` in this scope [INFO] [stdout] --> src/window.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | cbSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Window { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_CLOSE` in this scope [INFO] [stdout] --> src/window.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MAXIMIZE` in this scope [INFO] [stdout] --> src/window.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_RESTORE` in this scope [INFO] [stdout] --> src/window.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in this scope [INFO] [stdout] --> src/window.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHOW_FULLSCREEN` in this scope [INFO] [stdout] --> src/window.rs:69:59 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stdout] --> src/window.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | HWND_TOP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/window.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/window.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stdout] --> src/window.rs:104:43 [INFO] [stdout] | [INFO] [stdout] 104 | SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | let hwnd = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTopWindow` in this scope [INFO] [stdout] --> src/window.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let hwnd = unsafe { GetTopWindow(None).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | GetWindowInfo(self.hwnd, &mut info).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/window.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let len = GetWindowTextW(self.hwnd, &mut text); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> src/window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | CloseWindow(self.hwnd).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTopWindow` in this scope [INFO] [stdout] --> src/window.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let hwnd = unsafe { GetTopWindow(None).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowInfo` in this scope [INFO] [stdout] --> src/window.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | GetWindowInfo(self.hwnd, &mut info).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsZoomed` in this scope [INFO] [stdout] --> src/window.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { IsZoomed(self.hwnd).into() } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/window.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let len = GetWindowTextW(self.hwnd, &mut text); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope [INFO] [stdout] --> src/window.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { IsIconic(self.hwnd).into() } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> src/window.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | CloseWindow(self.hwnd).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let _ = SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_CLOSE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | SetForegroundWindow(self.hwnd).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_MAXIMIZE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SC_RESTORE as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:69:52 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/window.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | PostMessageW(self.hwnd, WM_SYSCOMMAND, WPARAM(SHOW_FULLSCREEN as _), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsZoomed` in this scope [INFO] [stdout] --> src/window.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { IsZoomed(self.hwnd).into() } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope [INFO] [stdout] --> src/window.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { IsIconic(self.hwnd).into() } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/window.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let _ = SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | SetForegroundWindow(self.hwnd).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wtools` (lib test) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wtools` (lib) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "69ec71d1f0c069cb3fdc4a61eb5f32e1787daac821875188cf40e5199945f693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ec71d1f0c069cb3fdc4a61eb5f32e1787daac821875188cf40e5199945f693", kill_on_drop: false }` [INFO] [stdout] 69ec71d1f0c069cb3fdc4a61eb5f32e1787daac821875188cf40e5199945f693