[INFO] cloning repository https://github.com/VisualSource/task_watcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VisualSource/task_watcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVisualSource%2Ftask_watcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVisualSource%2Ftask_watcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22acefae2acee9c4d61b1ba4fbceb3fb394d0cec [INFO] checking VisualSource/task_watcher against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVisualSource%2Ftask_watcher" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VisualSource/task_watcher on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VisualSource/task_watcher [INFO] finished tweaking git repo https://github.com/VisualSource/task_watcher [INFO] tweaked toml for git repo https://github.com/VisualSource/task_watcher written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/VisualSource/task_watcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79bcde97464c736c5e5653e8e230a3ff98513276658491f20649ebbb8bfccc23 [INFO] running `Command { std: "docker" "start" "-a" "79bcde97464c736c5e5653e8e230a3ff98513276658491f20649ebbb8bfccc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79bcde97464c736c5e5653e8e230a3ff98513276658491f20649ebbb8bfccc23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bcde97464c736c5e5653e8e230a3ff98513276658491f20649ebbb8bfccc23", kill_on_drop: false }` [INFO] [stdout] 79bcde97464c736c5e5653e8e230a3ff98513276658491f20649ebbb8bfccc23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdc0f7d7039c0335f139bea7980e7c108017126f8666d6c2bd2d8d514fb1338d [INFO] running `Command { std: "docker" "start" "-a" "cdc0f7d7039c0335f139bea7980e7c108017126f8666d6c2bd2d8d514fb1338d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking windows-service v0.3.1 (https://github.com/mullvad/windows-service-rs#f4433728) [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Checking craftping v0.2.1 [INFO] [stderr] Checking task_watcher v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/icon_handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::PBYTE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/icon_handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::PBYTE; [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/icon_handler.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{LookupIconIdFromDirectoryEx,LR_DEFAULTCOLOR,CreateIconFromResourceEx}; [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/icon_handler.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HICON; [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/icon_handler.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{LookupIconIdFromDirectoryEx,LR_DEFAULTCOLOR,CreateIconFromResourceEx}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/icon_process.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::shellapi::{NOTIFYICONDATAW, NIF_MESSAGE, NIF_ICON, NIF_TIP, Shell_NotifyIconW, NIM_ADD, NIM_MODIFY, NIM_DELETE}; [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/icon_handler.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HICON; [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/icon_process.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::shellapi::{NOTIFYICONDATAW, NIF_MESSAGE, NIF_ICON, NIF_TIP, Shell_NotifyIconW, NIM_ADD, NIM_MODIFY, NIM_DELETE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/icon_process.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{WM_APP, LoadIconW, IDI_APPLICATION}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/icon_process.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::{WM_APP, LoadIconW, IDI_APPLICATION}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/icon_process.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/icon_process.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/icon_process.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let h_wnd = winapi::um::wincon::GetConsoleWindow; //gets the current console window handle [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/icon_handler.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub hicon: HICON [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupIconIdFromDirectoryEx` in this scope [INFO] [stdout] --> src/icon_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | LookupIconIdFromDirectoryEx(buffer.as_ptr() as PBYTE, 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope [INFO] [stdout] --> src/icon_handler.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | LookupIconIdFromDirectoryEx(buffer.as_ptr() as PBYTE, 1, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/icon_handler.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | LR_DEFAULTCOLOR [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/icon_handler.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | CreateIconFromResourceEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope [INFO] [stdout] --> src/icon_handler.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | icon_data.as_ptr() as PBYTE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/icon_handler.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | LR_DEFAULTCOLOR,) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | nid: NOTIFYICONDATAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe{ Shell_NotifyIconW(NIM_DELETE, &mut self.nid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> src/icon_process.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe{ Shell_NotifyIconW(NIM_DELETE, &mut self.nid) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/icon_process.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope [INFO] [stdout] --> src/icon_process.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope [INFO] [stdout] --> src/icon_process.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> src/icon_process.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let wm_mymessage = WM_APP + 100; //prep WM_MYMESSAGE [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/icon_process.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let mut nid: NOTIFYICONDATAW = unsafe{ zeroed() }; //thing that has info on window and system tray stuff in it [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 17 | impl TrayIconProcess { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | nid.cbSize = size_of::() as u32; //prep [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> src/icon_process.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> src/icon_process.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> src/icon_process.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe{ Shell_NotifyIconW(NIM_ADD, &mut nid) }; //shows the icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> src/icon_process.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe{ Shell_NotifyIconW(NIM_ADD, &mut nid) }; //shows the icon [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/icon_process.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let h_wnd = winapi::um::wincon::GetConsoleWindow; //gets the current console window handle [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HICON` in this scope [INFO] [stdout] --> src/icon_handler.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub hicon: HICON [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupIconIdFromDirectoryEx` in this scope [INFO] [stdout] --> src/icon_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | LookupIconIdFromDirectoryEx(buffer.as_ptr() as PBYTE, 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope [INFO] [stdout] --> src/icon_handler.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | LookupIconIdFromDirectoryEx(buffer.as_ptr() as PBYTE, 1, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/icon_handler.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | LR_DEFAULTCOLOR [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIconFromResourceEx` in this scope [INFO] [stdout] --> src/icon_handler.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | CreateIconFromResourceEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope [INFO] [stdout] --> src/icon_handler.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | icon_data.as_ptr() as PBYTE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LR_DEFAULTCOLOR` in this scope [INFO] [stdout] --> src/icon_handler.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | LR_DEFAULTCOLOR,) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | nid: NOTIFYICONDATAW, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe{ Shell_NotifyIconW(NIM_DELETE, &mut self.nid) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_DELETE` in this scope [INFO] [stdout] --> src/icon_process.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe{ Shell_NotifyIconW(NIM_DELETE, &mut self.nid) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/icon_process.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope [INFO] [stdout] --> src/icon_process.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_MODIFY` in this scope [INFO] [stdout] --> src/icon_process.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe{ Shell_NotifyIconW(NIM_MODIFY, &mut self.nid) }; //updates system tray icon [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_APP` in this scope [INFO] [stdout] --> src/icon_process.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let wm_mymessage = WM_APP + 100; //prep WM_MYMESSAGE [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> src/icon_process.rs:63:47 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe { LoadIconW(null_mut(),IDI_APPLICATION) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let mut nid: NOTIFYICONDATAW = unsafe{ zeroed() }; //thing that has info on window and system tray stuff in it [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NOTIFYICONDATAW` in this scope [INFO] [stdout] --> src/icon_process.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 17 | impl TrayIconProcess { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 70 | nid.cbSize = size_of::() as u32; //prep [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_MESSAGE` in this scope [INFO] [stdout] --> src/icon_process.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_ICON` in this scope [INFO] [stdout] --> src/icon_process.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIF_TIP` in this scope [INFO] [stdout] --> src/icon_process.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 76 | nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //who knows [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Shell_NotifyIconW` in this scope [INFO] [stdout] --> src/icon_process.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe{ Shell_NotifyIconW(NIM_ADD, &mut nid) }; //shows the icon [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NIM_ADD` in this scope [INFO] [stdout] --> src/icon_process.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe{ Shell_NotifyIconW(NIM_ADD, &mut nid) }; //shows the icon [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/icon_process.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | let tool_tip_step_utf16 = tool_tip_step_os.encode_wide().collect::>(); //now actually convert to UTF16 format for the OS [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/icon_process.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | let tooltip_utf16 = tooltip_os.encode_wide().collect::>(); //now actually convert to UTF16 format for the OS [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/icon_process.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | let tool_tip_step_utf16 = tool_tip_step_os.encode_wide().collect::>(); //now actually convert to UTF16 format for the OS [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `task_watcher` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/icon_process.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | let tooltip_utf16 = tooltip_os.encode_wide().collect::>(); //now actually convert to UTF16 format for the OS [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cdc0f7d7039c0335f139bea7980e7c108017126f8666d6c2bd2d8d514fb1338d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc0f7d7039c0335f139bea7980e7c108017126f8666d6c2bd2d8d514fb1338d", kill_on_drop: false }` [INFO] [stdout] cdc0f7d7039c0335f139bea7980e7c108017126f8666d6c2bd2d8d514fb1338d