[INFO] cloning repository https://github.com/WHots/Heartbeat-AI-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WHots/Heartbeat-AI-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWHots%2FHeartbeat-AI-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWHots%2FHeartbeat-AI-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27cd76074e9787ff74e48dfcb656e03f979c0c8a
[INFO] checking WHots/Heartbeat-AI-rs/27cd76074e9787ff74e48dfcb656e03f979c0c8a against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWHots%2FHeartbeat-AI-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/WHots/Heartbeat-AI-rs
[INFO] finished tweaking git repo https://github.com/WHots/Heartbeat-AI-rs
[INFO] tweaked toml for git repo https://github.com/WHots/Heartbeat-AI-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WHots/Heartbeat-AI-rs on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/WHots/Heartbeat-AI-rs 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52
[INFO] running `Command { std: "docker" "start" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking widestring v1.1.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-sys v0.52.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking HeartbeatAI-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/processutils.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/fileutils.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/playerone.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/processutils.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/fileutils.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::windows::ffi::{OsStrExt, OsStringExt};
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/playerone.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/processutils.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicU32`, and `Ordering`
[INFO] [stdout]   --> src/processutils.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::atomic::{AtomicBool, AtomicU32, Ordering};
[INFO] [stdout]    |                         ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOLEAN`, `HWND`, `LPARAM`, and `STATUS_SUCCESS`
[INFO] [stdout]   --> src/processutils.rs:17:44
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...L, BOOLEAN, GetLastError, HANDLE, HMODULE, HWND, INVALID_HANDLE_VALUE, LPARAM, LUID, NTSTATUS, STATUS_INFO_LENGTH_MISMATCH, STATUS_SUCCESS};
[INFO] [stdout]    |       ^^^^^^^                                 ^^^^                        ^^^^^^                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetCurrentProcessId`
[INFO] [stdout]   --> src/processutils.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 19 | use windows_sys::Win32::System::Threading::{GetCurrentProcessId, GetProcessIdOfThread, GetProcessIoCounters, IO_COUNTERS, IsWow64Pro...
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AllocateLocallyUniqueId`, `LookupPrivilegeValueW`, and `PRIVILEGE_SET`
[INFO] [stdout]   --> src/processutils.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...::{AllocateLocallyUniqueId, GetTokenInformation, LookupPrivilegeNameW, LookupPrivilegeValueW, LUID_AND_ATTRIBUTES, PRIVILEGE_SET, S...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^                                             ^^^^^^^^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY`
[INFO] [stdout]   --> src/processutils.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumWindows`, `GW_OWNER`, `GetWindowTextW`, `GetWindowThreadProcessId`, `GetWindow`, and `IsWindowVisible`
[INFO] [stdout]   --> src/processutils.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 | ...dowsAndMessaging::{EnumWindows, GetWindow, GetWindowTextW, GetWindowThreadProcessId, GW_OWNER, IsWindowVisible};
[INFO] [stdout]    |                       ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SYSTEM_HANDLE_INFORMATION` and `SYSTEM_HANDLE_TABLE_ENTRY_INFO`
[INFO] [stdout]   --> src/processutils.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::ntexapi_h::{SYSTEM_HANDLE_INFORMATION, SYSTEM_HANDLE_TABLE_ENTRY_INFO, SystemInformationClass};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ntexapi_h::SystemInformationClass::SystemHandleInformation`
[INFO] [stdout]   --> src/processutils.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::ntexapi_h::SystemInformationClass::SystemHandleInformation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NtPrivilegeCheck` and `NtQueryInformationToken`
[INFO] [stdout]   --> src/processutils.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::ntpsapi_h::{NtPrivilegeCheck, NtQueryInformationProcess, NtQueryInformationThread, NtQueryInformationToken, NtQuerySystem...
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^                                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenInformationClass`
[INFO] [stdout]   --> src/processutils.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::winnt_h::{TOKEN_PRIVILEGES, TokenInformationClass};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::processcore::ProcessDataError`
[INFO] [stdout]   --> src/processutils.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::processcore::ProcessDataError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TOKEN_INFORMATION_CLASS`
[INFO] [stdout]   --> src/ntpsapi_h.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Security::{PRIVILEGE_SET, TOKEN_INFORMATION_CLASS};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/playerone.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/processfilters.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::c_void`
[INFO] [stdout]   --> src/processfilters.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/processfilters.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{fmt, mem, slice};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GetLastError` and `STATUS_INFO_LENGTH_MISMATCH`
[INFO] [stdout]   --> src/processfilters.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows_sys::Win32::Foundation::{GetLastError, HANDLE, INVALID_HANDLE_VALUE, LocalFree, PSID, STATUS_INFO_LENGTH_MISMATCH};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SYSTEM_HANDLE_INFORMATION_EX` and `SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX`
[INFO] [stdout]   --> src/processfilters.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::ntexapi_h::{SYSTEM_HANDLE_INFORMATION_EX, SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemExtendedHandleInformation`
[INFO] [stdout]   --> src/processfilters.rs:25:48
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::ntexapi_h::SystemInformationClass::{SystemExtendedHandleInformation};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::processutils::ProcessError`
[INFO] [stdout]   --> src/processfilters.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::processutils::ProcessError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OBJECT_INFORMATION_CLASS` should have an upper camel case name
[INFO] [stdout]   --> src/ntobapi_h.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum OBJECT_INFORMATION_CLASS
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ObjectInformationClass`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOL` and `GetLastError`
[INFO] [stdout]   --> src/peutils.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows_sys::Win32::Foundation::{BOOL, GetLastError, HANDLE};
[INFO] [stdout]    |                                      ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadProcessMemory`
[INFO] [stdout]   --> src/peutils.rs:15:96
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows_sys::Win32::System::Diagnostics::Debug::{IMAGE_NT_HEADERS64, IMAGE_SECTION_HEADER, ReadProcessMemory};
[INFO] [stdout]    |                                                                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `percentage_of`
[INFO] [stdout]   --> src/mathutils.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | macro_rules! percentage_of {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/processthreatprocessor.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         /// TODO:
[INFO] [stdout] 152 | |         /// -  Thread based scoring needs reworked -
[INFO] [stdout] 153 | |         /// * Only score if the tread has the hide from debugger.
[INFO] [stdout] 154 | |         /// * If an anomaly thread (a thread that isn't owend by the process), capture that process as a complete threat.
[INFO] [stdout]     | |_________________________________________________________________________________________________________________________^
[INFO] [stdout] 155 |
[INFO] [stdout] 156 | /         if let Some(&count) = process_data.thread_count.get("Hidden Flag")
[INFO] [stdout] 157 | |         {
[INFO] [stdout] 158 | |             threat_score += count as f32 * 2.5;
[INFO] [stdout] 159 | |         }
[INFO] [stdout]     | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/processthreatprocessor.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |           /// --------------
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 166 |
[INFO] [stdout] 167 | /         if process_data.is_32_bit.as_ref().map_or(false, |&x| x)
[INFO] [stdout] 168 | |         {
[INFO] [stdout] 169 | |             threat_score += 3.25;
[INFO] [stdout] 170 | |         }
[INFO] [stdout]     | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]   --> src/screenshot.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ptr::null_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetDC`
[INFO] [stdout]   --> src/screenshot.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     GetDC, GetWindowDC, ReleaseDC, SelectObject, SRCCOPY,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumWindows` and `GetClientRect`
[INFO] [stdout]   --> src/screenshot.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     GetClientRect, GetWindowRect, GetWindowThreadProcessId, IsWindowVisible,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     EnumWindows, IsIconic,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetLastError`
[INFO] [stdout]   --> src/windowutils.rs:12:58
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Foundation::{HWND, LPARAM, BOOL, GetLastError};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BitBlt`, `CreateCompatibleBitmap`, `CreateCompatibleDC`, `DeleteDC`, `DeleteObject`, `GetDC`, `GetWindowDC`, `ReleaseDC`, `SRCCOPY`, and `SelectObject`
[INFO] [stdout]   --> src/windowutils.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     BitBlt, CreateCompatibleBitmap, CreateCompatibleDC, DeleteDC, DeleteObject,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 19 |     GetDC, GetWindowDC, ReleaseDC, SelectObject, SRCCOPY,
[INFO] [stdout]    |     ^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/processutils.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicU32`, and `Ordering`
[INFO] [stdout]   --> src/processutils.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::atomic::{AtomicBool, AtomicU32, Ordering};
[INFO] [stdout]    |                         ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOLEAN`, `HWND`, `LPARAM`, and `STATUS_SUCCESS`
[INFO] [stdout]   --> src/processutils.rs:17:44
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...L, BOOLEAN, GetLastError, HANDLE, HMODULE, HWND, INVALID_HANDLE_VALUE, LPARAM, LUID, NTSTATUS, STATUS_INFO_LENGTH_MISMATCH, STATUS_SUCCESS};
[INFO] [stdout]    |       ^^^^^^^                                 ^^^^                        ^^^^^^                                               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetCurrentProcessId`
[INFO] [stdout]   --> src/processutils.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 19 | use windows_sys::Win32::System::Threading::{GetCurrentProcessId, GetProcessIdOfThread, GetProcessIoCounters, IO_COUNTERS, IsWow64Pro...
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AllocateLocallyUniqueId`, `LookupPrivilegeValueW`, and `PRIVILEGE_SET`
[INFO] [stdout]   --> src/processutils.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 23 | ...::{AllocateLocallyUniqueId, GetTokenInformation, LookupPrivilegeNameW, LookupPrivilegeValueW, LUID_AND_ATTRIBUTES, PRIVILEGE_SET, S...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^                                             ^^^^^^^^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY`
[INFO] [stdout]   --> src/processutils.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumWindows`, `GW_OWNER`, `GetWindowTextW`, `GetWindowThreadProcessId`, `GetWindow`, and `IsWindowVisible`
[INFO] [stdout]   --> src/processutils.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 | ...dowsAndMessaging::{EnumWindows, GetWindow, GetWindowTextW, GetWindowThreadProcessId, GW_OWNER, IsWindowVisible};
[INFO] [stdout]    |                       ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SYSTEM_HANDLE_INFORMATION` and `SYSTEM_HANDLE_TABLE_ENTRY_INFO`
[INFO] [stdout]   --> src/processutils.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::ntexapi_h::{SYSTEM_HANDLE_INFORMATION, SYSTEM_HANDLE_TABLE_ENTRY_INFO, SystemInformationClass};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ntexapi_h::SystemInformationClass::SystemHandleInformation`
[INFO] [stdout]   --> src/processutils.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::ntexapi_h::SystemInformationClass::SystemHandleInformation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NtPrivilegeCheck` and `NtQueryInformationToken`
[INFO] [stdout]   --> src/processutils.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | use crate::ntpsapi_h::{NtPrivilegeCheck, NtQueryInformationProcess, NtQueryInformationThread, NtQueryInformationToken, NtQuerySystem...
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^                                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TokenInformationClass`
[INFO] [stdout]   --> src/processutils.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::winnt_h::{TOKEN_PRIVILEGES, TokenInformationClass};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::processcore::ProcessDataError`
[INFO] [stdout]   --> src/processutils.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::processcore::ProcessDataError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TOKEN_INFORMATION_CLASS`
[INFO] [stdout]   --> src/ntpsapi_h.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Security::{PRIVILEGE_SET, TOKEN_INFORMATION_CLASS};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/playerone.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/processfilters.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::c_void`
[INFO] [stdout]   --> src/processfilters.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ffi::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/processfilters.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{fmt, mem, slice};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GetLastError` and `STATUS_INFO_LENGTH_MISMATCH`
[INFO] [stdout]   --> src/processfilters.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows_sys::Win32::Foundation::{GetLastError, HANDLE, INVALID_HANDLE_VALUE, LocalFree, PSID, STATUS_INFO_LENGTH_MISMATCH};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SYSTEM_HANDLE_INFORMATION_EX` and `SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX`
[INFO] [stdout]   --> src/processfilters.rs:24:24
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::ntexapi_h::{SYSTEM_HANDLE_INFORMATION_EX, SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemExtendedHandleInformation`
[INFO] [stdout]   --> src/processfilters.rs:25:48
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::ntexapi_h::SystemInformationClass::{SystemExtendedHandleInformation};
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::processutils::ProcessError`
[INFO] [stdout]   --> src/processfilters.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::processutils::ProcessError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `OBJECT_INFORMATION_CLASS` should have an upper camel case name
[INFO] [stdout]   --> src/ntobapi_h.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum OBJECT_INFORMATION_CLASS
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ObjectInformationClass`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOL` and `GetLastError`
[INFO] [stdout]   --> src/peutils.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows_sys::Win32::Foundation::{BOOL, GetLastError, HANDLE};
[INFO] [stdout]    |                                      ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadProcessMemory`
[INFO] [stdout]   --> src/peutils.rs:15:96
[INFO] [stdout]    |
[INFO] [stdout] 15 | use windows_sys::Win32::System::Diagnostics::Debug::{IMAGE_NT_HEADERS64, IMAGE_SECTION_HEADER, ReadProcessMemory};
[INFO] [stdout]    |                                                                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `percentage_of`
[INFO] [stdout]   --> src/mathutils.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | macro_rules! percentage_of {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/processthreatprocessor.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         /// TODO:
[INFO] [stdout] 152 | |         /// -  Thread based scoring needs reworked -
[INFO] [stdout] 153 | |         /// * Only score if the tread has the hide from debugger.
[INFO] [stdout] 154 | |         /// * If an anomaly thread (a thread that isn't owend by the process), capture that process as a complete threat.
[INFO] [stdout]     | |_________________________________________________________________________________________________________________________^
[INFO] [stdout] 155 |
[INFO] [stdout] 156 | /         if let Some(&count) = process_data.thread_count.get("Hidden Flag")
[INFO] [stdout] 157 | |         {
[INFO] [stdout] 158 | |             threat_score += count as f32 * 2.5;
[INFO] [stdout] 159 | |         }
[INFO] [stdout]     | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/processthreatprocessor.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |           /// --------------
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 166 |
[INFO] [stdout] 167 | /         if process_data.is_32_bit.as_ref().map_or(false, |&x| x)
[INFO] [stdout] 168 | |         {
[INFO] [stdout] 169 | |             threat_score += 3.25;
[INFO] [stdout] 170 | |         }
[INFO] [stdout]     | |_________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]   --> src/screenshot.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ptr::null_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetDC`
[INFO] [stdout]   --> src/screenshot.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     GetDC, GetWindowDC, ReleaseDC, SelectObject, SRCCOPY,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnumWindows` and `GetClientRect`
[INFO] [stdout]   --> src/screenshot.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     GetClientRect, GetWindowRect, GetWindowThreadProcessId, IsWindowVisible,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     EnumWindows, IsIconic,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetLastError`
[INFO] [stdout]   --> src/windowutils.rs:12:58
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Foundation::{HWND, LPARAM, BOOL, GetLastError};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BitBlt`, `CreateCompatibleBitmap`, `CreateCompatibleDC`, `DeleteDC`, `DeleteObject`, `GetDC`, `GetWindowDC`, `ReleaseDC`, `SRCCOPY`, and `SelectObject`
[INFO] [stdout]   --> src/windowutils.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     BitBlt, CreateCompatibleBitmap, CreateCompatibleDC, DeleteDC, DeleteObject,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 19 |     GetDC, GetWindowDC, ReleaseDC, SelectObject, SRCCOPY,
[INFO] [stdout]    |     ^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/processutils.rs:295:41
[INFO] [stdout]     |
[INFO] [stdout] 295 |             let module_path = OsString::from_wide(buffer.as_slice());
[INFO] [stdout]     |                                         ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 295 -             let module_path = OsString::from_wide(buffer.as_slice());
[INFO] [stdout] 295 +             let module_path = OsString::from_iter(buffer.as_slice());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/processutils.rs:295:41
[INFO] [stdout]     |
[INFO] [stdout] 295 |             let module_path = OsString::from_wide(buffer.as_slice());
[INFO] [stdout]     |                                         ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 295 -             let module_path = OsString::from_wide(buffer.as_slice());
[INFO] [stdout] 295 +             let module_path = OsString::from_iter(buffer.as_slice());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/processutils.rs:477:32
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let output = OsString::from_wide(buffer.as_slice());
[INFO] [stdout]     |                                ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 477 -         let output = OsString::from_wide(buffer.as_slice());
[INFO] [stdout] 477 +         let output = OsString::from_iter(buffer.as_slice());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/processutils.rs:477:32
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let output = OsString::from_wide(buffer.as_slice());
[INFO] [stdout]     |                                ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 477 -         let output = OsString::from_wide(buffer.as_slice());
[INFO] [stdout] 477 +         let output = OsString::from_iter(buffer.as_slice());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let wide_file_path: Vec<u16> = file_path.encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:55:78
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let translation_key: Vec<u16> = OsStr::new("\\VarFileInfo\\Translation").encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:66:75
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let internal_name_key_wide: Vec<u16> = OsStr::new(&internal_name_key).encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let wide_file_path: Vec<u16> = file_path.encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Ok(OsString::from_wide(internal_name_wide))
[INFO] [stdout]    |                  ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 78 -     Ok(OsString::from_wide(internal_name_wide))
[INFO] [stdout] 78 +     Ok(OsString::from_iter(internal_name_wide))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:55:78
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let translation_key: Vec<u16> = OsStr::new("\\VarFileInfo\\Translation").encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:66:75
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let internal_name_key_wide: Vec<u16> = OsStr::new(&internal_name_key).encode_wide().chain(Some(0)).collect();
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/fileutils.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Ok(OsString::from_wide(internal_name_wide))
[INFO] [stdout]    |                  ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/1ed2df61a19042f231709eb05d032ae9e2cb2084/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 78 -     Ok(OsString::from_wide(internal_name_wide))
[INFO] [stdout] 78 +     Ok(OsString::from_iter(internal_name_wide))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/playerone.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 service_name.encode_wide().chain(Some(0)).collect::<Vec<_>>().as_ptr(),
[INFO] [stdout]    |                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope
[INFO] [stdout]   --> src/playerone.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 service_name.encode_wide().chain(Some(0)).collect::<Vec<_>>().as_ptr(),
[INFO] [stdout]    |                              ^^^^^^^^^^^ method not found in `&std::ffi::OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/playerone.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe { cpuid_result = std::arch::x86_64::__cpuid_count(1, 0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/processthreatprocessor.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/playerone.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe { cpuid_result = std::arch::x86_64::__cpuid_count(1, 0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 132 |             debug_log!("Failed to get window DC");
[INFO] [stdout]     |             ------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 141 |             debug_log!("Failed to create compatible DC");
[INFO] [stdout]     |             -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 151 |             debug_log!("Failed to create bitmap");
[INFO] [stdout]     |             ------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 165 |             debug_log!("Failed to capture window contents");
[INFO] [stdout]     |             ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HeartbeatAI-rs` (bin "HeartbeatAI-rs") due to 10 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/processthreatprocessor.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 132 |             debug_log!("Failed to get window DC");
[INFO] [stdout]     |             ------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 141 |             debug_log!("Failed to create compatible DC");
[INFO] [stdout]     |             -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 151 |             debug_log!("Failed to create bitmap");
[INFO] [stdout]     |             ------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/debugutils.rs:34:32
[INFO] [stdout]     |
[INFO] [stdout]  34 |                let win_error = unsafe { GetLastError() };
[INFO] [stdout]     |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/screenshot.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 165 |             debug_log!("Failed to capture window contents");
[INFO] [stdout]     |             ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `debug_log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HeartbeatAI-rs` (bin "HeartbeatAI-rs" test) due to 10 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52", kill_on_drop: false }`
[INFO] [stdout] af2ba28fa4638b800e2dff5aad1d7bc8e9b321e905161afc5795c4c99e455e52
