[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] 29e80e7477495a7cf4989a73fa0bb02992d720cf [INFO] checking WHots/Heartbeat-AI-rs against master#e08b80c0fb7667bdcd040761891701e576c42ec8 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWHots%2FHeartbeat-AI-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WHots/Heartbeat-AI-rs on toolchain e08b80c0fb7667bdcd040761891701e576c42ec8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+e08b80c0fb7667bdcd040761891701e576c42ec8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking WHots/Heartbeat-AI-rs against try#f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 for pr-129021 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWHots%2FHeartbeat-AI-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WHots/Heartbeat-AI-rs on toolchain f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 382b61ce48b5384c76455c437efffaa3bbc17451c04165e005ef174b7984e098 [INFO] running `Command { std: "docker" "start" "-a" "382b61ce48b5384c76455c437efffaa3bbc17451c04165e005ef174b7984e098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "382b61ce48b5384c76455c437efffaa3bbc17451c04165e005ef174b7984e098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382b61ce48b5384c76455c437efffaa3bbc17451c04165e005ef174b7984e098", kill_on_drop: false }` [INFO] [stdout] 382b61ce48b5384c76455c437efffaa3bbc17451c04165e005ef174b7984e098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67babd967f2f90c65b1e67e251cbd00551c5131ad30c02312014edac1f5a993c [INFO] running `Command { std: "docker" "start" "-a" "67babd967f2f90c65b1e67e251cbd00551c5131ad30c02312014edac1f5a993c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking widestring v1.1.0 [INFO] [stderr] Checking windows-targets v0.52.5 [INFO] [stderr] Checking windows-sys v0.52.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking HeartbeatAI-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/processutils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OsString` and `c_void` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{c_void, OsString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IATResult` and `display_section_info` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use peutils::{display_section_info, IATResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/processutils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOL`, `MAX_PATH`, and `NO_ERROR` [INFO] [stdout] --> src/main.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::Foundation::{CloseHandle, BOOL, HANDLE, MAX_PATH, NO_ERROR}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows_sys::Win32::Security::SE_DEBUG_NAME` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows_sys::Win32::Security::SE_DEBUG_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetCurrentProcess`, `PROCESS_QUERY_INFORMATION`, and `PROCESS_VM_READ` [INFO] [stdout] --> src/main.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ...eading::{GetCurrentProcess, GetCurrentProcessId, OpenProcess, PROCESS_ALL_ACCESS, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenSCManagerW`, `OpenServiceW`, `QueryServiceStatus`, `SC_MANAGER_ENUMERATE_SERVICE`, `SERVICE_QUERY_STATUS`, and `SERVICE_STATUS` [INFO] [stdout] --> src/main.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | ...rvices::{OpenSCManagerW, OpenServiceW, QueryServiceStatus, SC_MANAGER_ENUMERATE_SERVICE, SERVICE_QUERY_STATUS, SERVICE_STATUS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOLEAN` and `STATUS_SUCCESS` [INFO] [stdout] --> src/processutils.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | ...BOOL, BOOLEAN, GetLastError, HANDLE, HMODULE, INVALID_HANDLE_VALUE, 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:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | use windows_sys::Win32::System::Threading::{GetCurrentProcessId, GetProcessIdOfThread, OpenProcessToken, OpenThread, PEB, PROCESS_BASIC_I... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocateLocallyUniqueId`, `LookupPrivilegeValueW`, and `PRIVILEGE_SET` [INFO] [stdout] --> src/processutils.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | ...y::{AllocateLocallyUniqueId, GetTokenInformation, LookupPrivilegeNameW, LookupPrivilegeValueW, LUID_AND_ATTRIBUTES, PRIVILEGE_SET, SE_... [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:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY; [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:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ntpsapi_h::{NtPrivilegeCheck, NtQueryInformationProcess, NtQueryInformationThread, NtQueryInformationToken, NtQuerySystemInfor... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInformationClass` [INFO] [stdout] --> src/processutils.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::winnt_h::{TOKEN_PRIVILEGES, TokenInformationClass}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOOL` [INFO] [stdout] --> src/peutils.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:96 [INFO] [stdout] | [INFO] [stdout] 14 | use windows_sys::Win32::System::Diagnostics::Debug::{IMAGE_NT_HEADERS64, IMAGE_SECTION_HEADER, ReadProcessMemory}; [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 imports: `BOOL` and `GetLastError` [INFO] [stdout] --> src/playerone.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | Foundation::{GetLastError, BOOL, HANDLE}, [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 imports: `mem` and `slice` [INFO] [stdout] --> src/processfilters.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{mem, slice}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATUS_INFO_LENGTH_MISMATCH` [INFO] [stdout] --> src/processfilters.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | use windows_sys::Win32::Foundation::{GetLastError, HANDLE, 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::ntpsapi_h::NtQuerySystemInformation` [INFO] [stdout] --> src/processfilters.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::ntpsapi_h::NtQuerySystemInformation; [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::processfilters::ProcessEnumerator` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::processfilters::ProcessEnumerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OsString` and `c_void` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::{c_void, OsString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IATResult` and `display_section_info` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use peutils::{display_section_info, IATResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOL`, `MAX_PATH`, and `NO_ERROR` [INFO] [stdout] --> src/main.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use windows_sys::Win32::Foundation::{CloseHandle, BOOL, HANDLE, MAX_PATH, NO_ERROR}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows_sys::Win32::Security::SE_DEBUG_NAME` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows_sys::Win32::Security::SE_DEBUG_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetCurrentProcess`, `PROCESS_QUERY_INFORMATION`, and `PROCESS_VM_READ` [INFO] [stdout] --> src/main.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | ...eading::{GetCurrentProcess, GetCurrentProcessId, OpenProcess, PROCESS_ALL_ACCESS, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenSCManagerW`, `OpenServiceW`, `QueryServiceStatus`, `SC_MANAGER_ENUMERATE_SERVICE`, `SERVICE_QUERY_STATUS`, and `SERVICE_STATUS` [INFO] [stdout] --> src/main.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | ...rvices::{OpenSCManagerW, OpenServiceW, QueryServiceStatus, SC_MANAGER_ENUMERATE_SERVICE, SERVICE_QUERY_STATUS, SERVICE_STATUS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOLEAN` and `STATUS_SUCCESS` [INFO] [stdout] --> src/processutils.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | ...BOOL, BOOLEAN, GetLastError, HANDLE, HMODULE, INVALID_HANDLE_VALUE, 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:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | use windows_sys::Win32::System::Threading::{GetCurrentProcessId, GetProcessIdOfThread, OpenProcessToken, OpenThread, PEB, PROCESS_BASIC_I... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllocateLocallyUniqueId`, `LookupPrivilegeValueW`, and `PRIVILEGE_SET` [INFO] [stdout] --> src/processutils.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | ...y::{AllocateLocallyUniqueId, GetTokenInformation, LookupPrivilegeNameW, LookupPrivilegeValueW, LUID_AND_ATTRIBUTES, PRIVILEGE_SET, SE_... [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:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use windows_sys::Win32::System::SystemServices::PRIVILEGE_SET_ALL_NECESSARY; [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:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ntpsapi_h::{NtPrivilegeCheck, NtQueryInformationProcess, NtQueryInformationThread, NtQueryInformationToken, NtQuerySystemInfor... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInformationClass` [INFO] [stdout] --> src/processutils.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::winnt_h::{TOKEN_PRIVILEGES, TokenInformationClass}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BOOL` [INFO] [stdout] --> src/peutils.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:96 [INFO] [stdout] | [INFO] [stdout] 14 | use windows_sys::Win32::System::Diagnostics::Debug::{IMAGE_NT_HEADERS64, IMAGE_SECTION_HEADER, ReadProcessMemory}; [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 imports: `BOOL` and `GetLastError` [INFO] [stdout] --> src/playerone.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | Foundation::{GetLastError, BOOL, HANDLE}, [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 imports: `mem` and `slice` [INFO] [stdout] --> src/processfilters.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{mem, slice}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATUS_INFO_LENGTH_MISMATCH` [INFO] [stdout] --> src/processfilters.rs:15:77 [INFO] [stdout] | [INFO] [stdout] 15 | use windows_sys::Win32::Foundation::{GetLastError, HANDLE, 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::ntpsapi_h::NtQuerySystemInformation` [INFO] [stdout] --> src/processfilters.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::ntpsapi_h::NtQuerySystemInformation; [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::processfilters::ProcessEnumerator` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::processfilters::ProcessEnumerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/processutils.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | let module_path = OsString::from_wide(buffer.as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 218 | let module_path = OsString::from_iter(buffer.as_slice()); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/processutils.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | let output = OsString::from_wide(buffer.as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 303 | let output = OsString::from_iter(buffer.as_slice()); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/processutils.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | let module_path = OsString::from_wide(buffer.as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 218 | let module_path = OsString::from_iter(buffer.as_slice()); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/processutils.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | let output = OsString::from_wide(buffer.as_slice()); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 303 | 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 = file_path.encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&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 = OsStr::new("\\VarFileInfo\\Translation").encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&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 = OsStr::new(&internal_name_key).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | let wide_file_path: Vec = file_path.encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&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 = OsStr::new("\\VarFileInfo\\Translation").encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&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 = OsStr::new(&internal_name_key).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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/f781a78d815e6a304bf6061b8a8fa69d7ce8dfd5/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | service_name.encode_wide().chain(Some(0)).collect::>().as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&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:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | service_name.encode_wide().chain(Some(0)).collect::>().as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 27 warnings emitted [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 11 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 27 warnings emitted [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 11 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67babd967f2f90c65b1e67e251cbd00551c5131ad30c02312014edac1f5a993c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67babd967f2f90c65b1e67e251cbd00551c5131ad30c02312014edac1f5a993c", kill_on_drop: false }` [INFO] [stdout] 67babd967f2f90c65b1e67e251cbd00551c5131ad30c02312014edac1f5a993c