[INFO] cloning repository https://github.com/shubhj-gb247/licencemon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shubhj-gb247/licencemon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhj-gb247%2Flicencemon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhj-gb247%2Flicencemon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ac336c1c397236f36622104ec2efe8aafd641b7 [INFO] checking shubhj-gb247/licencemon/5ac336c1c397236f36622104ec2efe8aafd641b7 against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhj-gb247%2Flicencemon" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shubhj-gb247/licencemon [INFO] finished tweaking git repo https://github.com/shubhj-gb247/licencemon [INFO] tweaked toml for git repo https://github.com/shubhj-gb247/licencemon written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shubhj-gb247/licencemon on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shubhj-gb247/licencemon already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded tray-icon v0.21.1 [INFO] [stderr] Downloaded block2 v0.6.1 [INFO] [stderr] Downloaded muda v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9425e4fa500119a6301447307df90b698e03362dc589b3236cfcb493261bcb94 [INFO] running `Command { std: "docker" "start" "-a" "9425e4fa500119a6301447307df90b698e03362dc589b3236cfcb493261bcb94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9425e4fa500119a6301447307df90b698e03362dc589b3236cfcb493261bcb94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9425e4fa500119a6301447307df90b698e03362dc589b3236cfcb493261bcb94", kill_on_drop: false }` [INFO] [stdout] 9425e4fa500119a6301447307df90b698e03362dc589b3236cfcb493261bcb94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ab0ae5ca6fa3a59f9597c54b46275723c4aaaf773e82e726ded0ec386c9c655 [INFO] running `Command { std: "docker" "start" "-a" "9ab0ae5ca6fa3a59f9597c54b46275723c4aaaf773e82e726ded0ec386c9c655", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking muda v0.17.1 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking tray-icon v0.21.1 [INFO] [stderr] Checking licencemon v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Threading::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::UI::Accessibility::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::core::PWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Threading::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::UI::Accessibility::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::core::PWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_process_name_from_hwnd(hwnd: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_LIMITED_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | let h_process = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/main.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | _h_win_event_hook: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | if event == EVENT_SYSTEM_FOREGROUND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/main.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | WINEVENT_OUTOFCONTEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_process_name_from_hwnd(hwnd: HWND) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_LIMITED_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | let h_process = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWINEVENTHOOK` in this scope [INFO] [stdout] --> src/main.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | _h_win_event_hook: HWINEVENTHOOK, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | if event == EVENT_SYSTEM_FOREGROUND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_SYSTEM_FOREGROUND` in this scope [INFO] [stdout] --> src/main.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | EVENT_SYSTEM_FOREGROUND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WINEVENT_OUTOFCONTEXT` in this scope [INFO] [stdout] --> src/main.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | WINEVENT_OUTOFCONTEXT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | GetWindowThreadProcessId(hwnd, Some(&mut pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let h_process = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PROCESS_NAME_FORMAT` in this scope [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 64 | / static PROCESS_NAME_CACHE: Lazy>> = [INFO] [stdout] 65 | | Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | |_____________________________________________- similarly named static `PROCESS_NAME_CACHE` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | PROCESS_NAME_FORMAT(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `PROCESS_NAME_CACHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryFullProcessImageNameW` in this scope [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let result = QueryFullProcessImageNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | CloseHandle(handle).expect("Couldn't close handle"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HINSTANCE` [INFO] [stdout] --> src/main.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | HINSTANCE::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HINSTANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/main.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | let hook = SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/main.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/main.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | while GetMessageW(&mut msg, HWND(std::ptr::null_mut()), 0, 0).into() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | while GetMessageW(&mut msg, HWND(std::ptr::null_mut()), 0, 0).into() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | let _ = UnhookWinEvent(hook); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | GetWindowThreadProcessId(hwnd, Some(&mut pid)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let h_process = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, false, pid); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PROCESS_NAME_FORMAT` in this scope [INFO] [stdout] --> src/main.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 64 | / static PROCESS_NAME_CACHE: Lazy>> = [INFO] [stdout] 65 | | Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | |_____________________________________________- similarly named static `PROCESS_NAME_CACHE` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | PROCESS_NAME_FORMAT(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `PROCESS_NAME_CACHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryFullProcessImageNameW` in this scope [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let result = QueryFullProcessImageNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | CloseHandle(handle).expect("Couldn't close handle"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `licencemon` (bin "licencemon" test) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HINSTANCE` [INFO] [stdout] --> src/main.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | HINSTANCE::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `HINSTANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWinEventHook` in this scope [INFO] [stdout] --> src/main.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | let hook = SetWinEventHook( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG` [INFO] [stdout] --> src/main.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HWND` in this scope [INFO] [stdout] --> src/main.rs:335:37 [INFO] [stdout] | [INFO] [stdout] 335 | while GetMessageW(&mut msg, HWND(std::ptr::null_mut()), 0, 0).into() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | while GetMessageW(&mut msg, HWND(std::ptr::null_mut()), 0, 0).into() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWinEvent` in this scope [INFO] [stdout] --> src/main.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | let _ = UnhookWinEvent(hook); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `licencemon` (bin "licencemon") due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "9ab0ae5ca6fa3a59f9597c54b46275723c4aaaf773e82e726ded0ec386c9c655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab0ae5ca6fa3a59f9597c54b46275723c4aaaf773e82e726ded0ec386c9c655", kill_on_drop: false }` [INFO] [stdout] 9ab0ae5ca6fa3a59f9597c54b46275723c4aaaf773e82e726ded0ec386c9c655