[INFO] fetching crate win-overlay 0.1.0... [INFO] testing win-overlay-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate win-overlay 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate win-overlay 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate win-overlay 0.1.0 [INFO] finished tweaking crates.io crate win-overlay 0.1.0 [INFO] tweaked toml for crates.io crate win-overlay 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f88e42d5d8c55715693bf44183fae26ef44a5a8fade8506e8f8f00bb99a00001 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f88e42d5d8c55715693bf44183fae26ef44a5a8fade8506e8f8f00bb99a00001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88e42d5d8c55715693bf44183fae26ef44a5a8fade8506e8f8f00bb99a00001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88e42d5d8c55715693bf44183fae26ef44a5a8fade8506e8f8f00bb99a00001", kill_on_drop: false }` [INFO] [stdout] f88e42d5d8c55715693bf44183fae26ef44a5a8fade8506e8f8f00bb99a00001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24c303c874e9d7600b4e2215bbc53553ae515bba772a20658a6a9519e715c6bf [INFO] running `Command { std: "docker" "start" "-a" "24c303c874e9d7600b4e2215bbc53553ae515bba772a20658a6a9519e715c6bf", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling win-overlay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: win-overlay is exclusive to windows. [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("win-overlay is exclusive to windows."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/utils.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::{shared::windef::HWND, um::winuser::FindWindowA}; [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/utils.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::{shared::windef::HWND, um::winuser::FindWindowA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::{ [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/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | um::{ [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/utils.rs:13:81 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn find_window(class: Option<*const i8>, name: Option<*const i8>) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stdout] --> src/utils.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | FindWindowA( [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/lib.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | _wnd: HWND, [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/lib.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | _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/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | _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/lib.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | DefWindowProcA(_wnd, 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 `SetWindowPos` in this scope [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/lib.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | HWND_TOPMOST, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCLEAR_TARGET` in this scope [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | D3DCLEAR_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCOLOR_ARGB` in this scope [INFO] [stdout] --> src/lib.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | D3DCOLOR_ARGB(0, 0, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3DRECT` in this scope [INFO] [stdout] --> src/lib.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let rect: D3DRECT = D3DRECT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DRECT` in this scope [INFO] [stdout] --> src/lib.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | let rect: D3DRECT = D3DRECT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCLEAR_TARGET` in this scope [INFO] [stdout] --> src/lib.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | (*device).Clear(1, &rect as *const _, D3DCLEAR_TARGET, color, 0f32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3D9` in this scope [INFO] [stdout] --> src/lib.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_d3d(&self) -> *mut IDirect3D9 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice9` in this scope [INFO] [stdout] --> src/lib.rs:154:38 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_device(&self) -> *mut IDirect3DDevice9 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:159:31 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_rect(&self) -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | let mut rectangle = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/lib.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | GetWindowRect(self.get_target(), &mut rectangle); [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/lib.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn get_overlay(&self) -> HWND { [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/lib.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | self._overlay as HWND [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/lib.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_target(&self) -> HWND { [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/lib.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | self._target as HWND [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Direct3DCreate9` in this scope [INFO] [stdout] --> src/lib.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | let d3d = unsafe { Direct3DCreate9(D3D_SDK_VERSION) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_SDK_VERSION` in this scope [INFO] [stdout] --> src/lib.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | let d3d = unsafe { Direct3DCreate9(D3D_SDK_VERSION) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3DPRESENT_PARAMETERS` in this scope [INFO] [stdout] --> src/lib.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | D3DPRESENT_PARAMETERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DSWAPEFFECT_DISCARD` in this scope [INFO] [stdout] --> src/lib.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | SwapEffect: D3DSWAPEFFECT_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DPRESENT_INTERVAL_IMMEDIATE` in this scope [INFO] [stdout] --> src/lib.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | PresentationInterval: D3DPRESENT_INTERVAL_IMMEDIATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DFMT_A8R8G8B8` in this scope [INFO] [stdout] --> src/lib.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | BackBufferFormat: D3DFMT_A8R8G8B8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DADAPTER_DEFAULT` in this scope [INFO] [stdout] --> src/lib.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | D3DADAPTER_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DDEVTYPE_HAL` in this scope [INFO] [stdout] --> src/lib.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | D3DDEVTYPE_HAL, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCREATE_HARDWARE_VERTEXPROCESSING` in this scope [INFO] [stdout] --> src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | D3DCREATE_HARDWARE_VERTEXPROCESSING, [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/lib.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn create_overlay(target: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSEXA` in this scope [INFO] [stdout] --> src/lib.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | let mut wc = WNDCLASSEXA { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXA` in this scope [INFO] [stdout] --> src/lib.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 60 | impl Overlay { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 238 | cbSize: std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/lib.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/lib.rs:239:33 [INFO] [stdout] | [INFO] [stdout] 239 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/lib.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | hCursor: unsafe { LoadCursorW(std::ptr::null_mut(), IDC_ARROW) }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/lib.rs:245:65 [INFO] [stdout] | [INFO] [stdout] 245 | hCursor: unsafe { LoadCursorW(std::ptr::null_mut(), IDC_ARROW) }, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/lib.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | hbrBackground: unsafe { CreateSolidBrush(RGB(0, 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 `RGB` in this scope [INFO] [stdout] --> src/lib.rs:246:54 [INFO] [stdout] | [INFO] [stdout] 246 | hbrBackground: unsafe { CreateSolidBrush(RGB(0, 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 `DisableProcessWindowsGhosting` in this scope [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | DisableProcessWindowsGhosting(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExA` in this scope [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | if unsafe { RegisterClassExA(&mut wc as *mut _) } == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:261:46 [INFO] [stdout] | [INFO] [stdout] 60 | impl Overlay { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 261 | let rect = [0i8; std::mem::size_of::()].as_mut_ptr() as *mut RECT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/lib.rs:261:76 [INFO] [stdout] | [INFO] [stdout] 261 | let rect = [0i8; std::mem::size_of::()].as_mut_ptr() as *mut RECT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/lib.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | unsafe { GetWindowRect(target, rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_LAYERED` in this scope [INFO] [stdout] --> src/lib.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | let styles = WS_EX_LAYERED | WS_EX_TRANSPARENT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TRANSPARENT` in this scope [INFO] [stdout] --> src/lib.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | let styles = WS_EX_LAYERED | WS_EX_TRANSPARENT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/lib.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_POPUP` in this scope [INFO] [stdout] --> src/lib.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | WS_POPUP | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/lib.rs:275:28 [INFO] [stdout] | [INFO] [stdout] 275 | WS_POPUP | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MARGINS` in this scope [INFO] [stdout] --> src/lib.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | let margins: *mut MARGINS = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MARGINS` in this scope [INFO] [stdout] --> src/lib.rs:294:39 [INFO] [stdout] | [INFO] [stdout] 60 | impl Overlay { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 294 | [0i8; std::mem::size_of::()].as_mut_ptr() as *mut MARGINS; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MARGINS` in this scope [INFO] [stdout] --> src/lib.rs:294:72 [INFO] [stdout] | [INFO] [stdout] 294 | [0i8; std::mem::size_of::()].as_mut_ptr() as *mut MARGINS; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmExtendFrameIntoClientArea` in this scope [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | DwmExtendFrameIntoClientArea(window, margins); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLayeredWindowAttributes` in this scope [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | SetLayeredWindowAttributes(window, RGB(0, 0, 0), 255, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope [INFO] [stdout] --> src/lib.rs:303:48 [INFO] [stdout] | [INFO] [stdout] 303 | SetLayeredWindowAttributes(window, RGB(0, 0, 0), 255, LWA_ALPHA); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LWA_ALPHA` in this scope [INFO] [stdout] --> src/lib.rs:303:67 [INFO] [stdout] | [INFO] [stdout] 303 | SetLayeredWindowAttributes(window, RGB(0, 0, 0), 255, LWA_ALPHA); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stdout] --> src/lib.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | ShowWindow(window, SW_SHOW); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/lib.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | DestroyWindow(self.get_overlay()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-overlay` due to 67 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "24c303c874e9d7600b4e2215bbc53553ae515bba772a20658a6a9519e715c6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c303c874e9d7600b4e2215bbc53553ae515bba772a20658a6a9519e715c6bf", kill_on_drop: false }` [INFO] [stdout] 24c303c874e9d7600b4e2215bbc53553ae515bba772a20658a6a9519e715c6bf