[INFO] cloning repository https://github.com/TimUntersberger/wwm [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimUntersberger/wwm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4bcc3bff3e8f9ea275c1c7fce84a54cd35a33d7d [INFO] testing TimUntersberger/wwm against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimUntersberger%2Fwwm" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TimUntersberger/wwm on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/TimUntersberger/wwm [INFO] finished tweaking git repo https://github.com/TimUntersberger/wwm [INFO] tweaked toml for git repo https://github.com/TimUntersberger/wwm written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/TimUntersberger/wwm already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c34a95a23a4cb72de62d4968aeda93697ec0cd237c7b53a15a9ddda019233687 [INFO] running `"docker" "start" "-a" "c34a95a23a4cb72de62d4968aeda93697ec0cd237c7b53a15a9ddda019233687"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling ctrlc v3.1.4 [INFO] [stderr] Compiling wwm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::SendMessageA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::WM_DESTROY; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::GetForegroundWindow; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::FindWindowA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser::SetWindowLongA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::SetWindowPos; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::winuser::ShowWindow; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::SW_SHOW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::winuser::GWL_STYLE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winuser::SetForegroundWindow; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::winuser::GetWindowRect; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::FindWindowA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::ShowWindow; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::SW_HIDE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::GetSystemMetrics; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::winuser::SM_CXSCREEN; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::SM_CYSCREEN; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/tile_grid.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::winuser::SetWindowPos; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::winuser::WM_HOTKEY; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winuser::DispatchMessageW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winuser::TranslateMessage; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winuser::GetMessageW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::winuser::MSG; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::RegisterHotKey; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::LPARAM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::minwindef::WPARAM; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::minwindef::UINT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::shared::windef::POINT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hot_key_manager.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/window.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/util.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/util.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::um::winuser::GetWindowTextA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::winuser::EVENT_OBJECT_CREATE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::EVENT_OBJECT_SHOW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::winuser::EVENT_OBJECT_DESTROY; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::GetParent; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winuser::GetWindowLongA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winuser::SetWindowLongA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::GetWindowRect; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::winuser::GWL_STYLE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::winuser::WS_CAPTION; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::winuser::WS_THICKFRAME; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::winuser::WS_BORDER; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::shared::windef::HWINEVENTHOOK; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::shared::windef::RECT; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::shared::minwindef::DWORD; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::shared::ntdef::LONG; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::winuser::OBJID_WINDOW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winuser::SetWinEventHook; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::winuser::UnhookWinEvent; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winuser::EVENT_MIN; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/win_event_handler.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::winuser::EVENT_MAX; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tile_grid.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:73:60 [INFO] [stderr] | [INFO] [stderr] 73 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tile_grid.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:89:60 [INFO] [stderr] | [INFO] [stderr] 89 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tile_grid.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:105:60 [INFO] [stderr] | [INFO] [stderr] 105 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/tile_grid.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:121:60 [INFO] [stderr] | [INFO] [stderr] 121 | SetForegroundWindow(next_tile.window.id as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/tile_grid.rs:126:24 [INFO] [stderr] | [INFO] [stderr] 126 | let mut rect = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/tile_grid.rs:133:23 [INFO] [stderr] | [INFO] [stderr] 133 | self.height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stderr] --> src/tile_grid.rs:133:40 [INFO] [stderr] | [INFO] [stderr] 133 | self.height = GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/tile_grid.rs:134:22 [INFO] [stderr] | [INFO] [stderr] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stderr] --> src/tile_grid.rs:134:39 [INFO] [stderr] | [INFO] [stderr] 134 | self.width = GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope [INFO] [stderr] --> src/tile_grid.rs:142:31 [INFO] [stderr] | [INFO] [stderr] 142 | self.taskbar_window = FindWindowA("Shell_TrayWnd".as_ptr() as *const i8, std::ptr::null()) as i32; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stderr] --> src/tile_grid.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:145:46 [INFO] [stderr] | [INFO] [stderr] 145 | GetWindowRect(self.taskbar_window as HWND, &mut rect); [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/tile_grid.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 149 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:149:51 [INFO] [stderr] | [INFO] [stderr] 149 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_HIDE` in this scope [INFO] [stderr] --> src/tile_grid.rs:149:57 [INFO] [stderr] | [INFO] [stderr] 149 | ShowWindow(self.taskbar_window as HWND, SW_HIDE); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/tile_grid.rs:318:9 [INFO] [stderr] | [INFO] [stderr] 318 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y, width, height, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:318:40 [INFO] [stderr] | [INFO] [stderr] 318 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y, width, height, 0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/tile_grid.rs:345:9 [INFO] [stderr] | [INFO] [stderr] 345 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y, width, height, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/tile_grid.rs:345:40 [INFO] [stderr] | [INFO] [stderr] 345 | SetWindowPos(tile.window.id as HWND, std::ptr::null_mut(), x, y, width, height, 0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterHotKey` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | RegisterHotKey( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 84 | 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:97:22 [INFO] [stderr] | [INFO] [stderr] 97 | let mut msg: MSG = MSG { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | let mut msg: MSG = MSG { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | hwnd : 0 as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | message : 0 as UINT, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:100:18 [INFO] [stderr] | [INFO] [stderr] 100 | wParam : 0 as WPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:101:18 [INFO] [stderr] | [INFO] [stderr] 101 | lParam : 0 as LPARAM, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:102:16 [INFO] [stderr] | [INFO] [stderr] 102 | time : 0 as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | pt : POINT { x: 0, y: 0, }, [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/hot_key_manager.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:107:43 [INFO] [stderr] | [INFO] [stderr] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:107:49 [INFO] [stderr] | [INFO] [stderr] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:107:60 [INFO] [stderr] | [INFO] [stderr] 107 | if GetMessageW(&mut msg, 0 as HWND, WM_HOTKEY, WM_HOTKEY) == 0 { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | TranslateMessage(&msg); [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/hot_key_manager.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | DispatchMessageW(&msg); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_HOTKEY` in this scope [INFO] [stderr] --> src/hot_key_manager.rs:114:31 [INFO] [stderr] | [INFO] [stderr] 114 | if msg.message == WM_HOTKEY { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/window.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | pub original_rect: RECT [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/util.rs:4:50 [INFO] [stderr] | [INFO] [stderr] 4 | pub unsafe fn get_title_of_window(window_handle: HWND) -> Option { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stderr] --> src/util.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | let result = GetWindowTextA(window_handle, buffer.as_mut_ptr(), buffer.len() as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EVENT_OBJECT_SHOW` in this scope [INFO] [stderr] --> src/win_event_handler.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EVENT_OBJECT_DESTROY` in this scope [INFO] [stderr] --> src/win_event_handler.rs:27:55 [INFO] [stderr] | [INFO] [stderr] 27 | static HANDLED_EVENTS: [u32; 2] = [EVENT_OBJECT_SHOW, EVENT_OBJECT_DESTROY]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stderr] --> src/win_event_handler.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | static mut hook: Option = None; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/win_event_handler.rs:61:43 [INFO] [stderr] | [INFO] [stderr] 61 | pub unsafe fn split_window(window_handle: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/win_event_handler.rs:67:51 [INFO] [stderr] | [INFO] [stderr] 67 | unsafe fn handle_event_object_show(window_handle: HWND, window_title: &str, ignore_window_style: bool){ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongA` in this scope [INFO] [stderr] --> src/win_event_handler.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stderr] --> src/win_event_handler.rs:69:54 [INFO] [stderr] | [INFO] [stderr] 69 | let window_style = GetWindowLongA(window_handle, GWL_STYLE); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in this scope [INFO] [stderr] --> src/win_event_handler.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | let parent = GetParent(window_handle) as i32; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stderr] --> src/win_event_handler.rs:73:80 [INFO] [stderr] | [INFO] [stderr] 73 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stderr] --> src/win_event_handler.rs:73:102 [INFO] [stderr] | [INFO] [stderr] 73 | let should_manage = parent == 0 && (ignore_window_style || (window_style & WS_CAPTION as i32) == WS_CAPTION as i32); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stderr] --> src/win_event_handler.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stderr] --> src/win_event_handler.rs:78:43 [INFO] [stderr] | [INFO] [stderr] 78 | SetWindowLongA(window_handle, GWL_STYLE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stderr] --> src/win_event_handler.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | !WS_CAPTION as i32 & [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_THICKFRAME` in this scope [INFO] [stderr] --> src/win_event_handler.rs:81:18 [INFO] [stderr] | [INFO] [stderr] 81 | !WS_THICKFRAME as i32 | [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WS_BORDER` in this scope [INFO] [stderr] --> src/win_event_handler.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | WS_BORDER as i32 [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/win_event_handler.rs:87:27 [INFO] [stderr] | [INFO] [stderr] 87 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/win_event_handler.rs:87:34 [INFO] [stderr] | [INFO] [stderr] 87 | let mut rect: RECT = RECT { bottom: 0, left: 0, right: 0, top: 0}; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stderr] --> src/win_event_handler.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | GetWindowRect(window_handle, &mut rect); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/win_event_handler.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | unsafe fn handle_event_object_destroy(window_handle: HWND){ [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:38 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:60 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:82 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:101 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LONG` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:114 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:123 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/win_event_handler.rs:109:133 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe extern "system" fn handler(_: HWINEVENTHOOK, event: DWORD, window_handle: HWND, object_type: LONG, child: LONG, _: DWORD, _: DWORD) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OBJID_WINDOW` in this scope [INFO] [stderr] --> src/win_event_handler.rs:111:27 [INFO] [stderr] | [INFO] [stderr] 111 | if object_type != OBJID_WINDOW { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stderr] --> src/win_event_handler.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | hook = Some(SetWinEventHook( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EVENT_MIN` in this scope [INFO] [stderr] --> src/win_event_handler.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | EVENT_MIN, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EVENT_MAX` in this scope [INFO] [stderr] --> src/win_event_handler.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | EVENT_MAX, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope [INFO] [stderr] --> src/win_event_handler.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | UnhookWinEvent(hook.unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 52 | unsafe fn on_quit(){ [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 58 | .collect::>() // collect because of borrow checker [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stderr] --> src/main.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:61:39 [INFO] [stderr] | [INFO] [stderr] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stderr] --> src/main.rs:61:45 [INFO] [stderr] | [INFO] [stderr] 61 | SetWindowLongA(*id as HWND, GWL_STYLE, *style); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | SetWindowPos( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:63:28 [INFO] [stderr] | [INFO] [stderr] 63 | *id as HWND, [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:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:75:47 [INFO] [stderr] | [INFO] [stderr] 75 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SW_SHOW` in this scope [INFO] [stderr] --> src/main.rs:75:53 [INFO] [stderr] | [INFO] [stderr] 75 | ShowWindow(grid.taskbar_window as HWND, SW_SHOW); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageA` in this scope [INFO] [stderr] --> src/main.rs:102:29 [INFO] [stderr] | [INFO] [stderr] 102 | ... SendMessageA(id as HWND, WM_DESTROY, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:102:48 [INFO] [stderr] | [INFO] [stderr] 102 | ... SendMessageA(id as HWND, WM_DESTROY, 0, 0); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WM_DESTROY` in this scope [INFO] [stderr] --> src/main.rs:102:54 [INFO] [stderr] | [INFO] [stderr] 102 | ... SendMessageA(id as HWND, WM_DESTROY, 0, 0); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stderr] --> src/main.rs:109:41 [INFO] [stderr] | [INFO] [stderr] 109 | let window_handle = GetForegroundWindow(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:120:41 [INFO] [stderr] | [INFO] [stderr] 120 | if window_id as HWND == window_handle { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongA` in this scope [INFO] [stderr] --> src/main.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_style); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stderr] --> src/main.rs:121:59 [INFO] [stderr] | [INFO] [stderr] 121 | ... SetWindowLongA(window_handle, GWL_STYLE, tile.window.original_styl... [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | ... SetWindowPos( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:123:46 [INFO] [stderr] | [INFO] [stderr] 123 | ... window_id as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:138:78 [INFO] [stderr] | [INFO] [stderr] 138 | ... win_event_handler::split_window(window_handle as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:141:74 [INFO] [stderr] | [INFO] [stderr] 141 | win_event_handler::split_window(window_handle as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 152 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `wwm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c34a95a23a4cb72de62d4968aeda93697ec0cd237c7b53a15a9ddda019233687"` [INFO] running `"docker" "rm" "-f" "c34a95a23a4cb72de62d4968aeda93697ec0cd237c7b53a15a9ddda019233687"` [INFO] [stdout] c34a95a23a4cb72de62d4968aeda93697ec0cd237c7b53a15a9ddda019233687