[INFO] updating cached repository https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] [stderr] 60513ee..967684f master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 967684f140e598d125de596983cd5a411e8c7d4b [INFO] checking nganhkhoa/pdb_for_nonpagedpool against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] finished tweaking git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] tweaked toml for git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 081e7942c61fec4e859b35a976d808499c3549c75ad97a43596829cbb0d21c1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "081e7942c61fec4e859b35a976d808499c3549c75ad97a43596829cbb0d21c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "081e7942c61fec4e859b35a976d808499c3549c75ad97a43596829cbb0d21c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081e7942c61fec4e859b35a976d808499c3549c75ad97a43596829cbb0d21c1c", kill_on_drop: false }` [INFO] [stdout] 081e7942c61fec4e859b35a976d808499c3549c75ad97a43596829cbb0d21c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d0069fbbc9b5706d6fe67ae050fd8a8cc9258aac4864e75138fa54daaa008d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4d0069fbbc9b5706d6fe67ae050fd8a8cc9258aac4864e75138fa54daaa008d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mime_guess v2.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking parse_int v0.4.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking pdb v0.5.0 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.1 [INFO] [stderr] Checking lpus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/driver_state.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/driver_state.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/driver_state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winioctl::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{DWORD, HKEY, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::fileapi::{CreateFileA, CREATE_ALWAYS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::securitybaseapi::AdjustTokenPrivileges; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::sysinfoapi::GetTickCount64; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winbase::LookupPrivilegeValueA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winreg::{RegCloseKey, RegCreateKeyExA, RegSetValueExA, HKEY_LOCAL_MACHINE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/driver_state.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/driver_state.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/driver_state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winioctl::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{DWORD, HKEY, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::fileapi::{CreateFileA, CREATE_ALWAYS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::ioapiset::DeviceIoControl; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::securitybaseapi::AdjustTokenPrivileges; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::sysinfoapi::GetTickCount64; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winbase::LookupPrivilegeValueA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winreg::{RegCloseKey, RegCreateKeyExA, RegSetValueExA, HKEY_LOCAL_MACHINE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LUID` [INFO] [stdout] --> src/windows.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | let mut luid = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type or module `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `LUID` [INFO] [stdout] --> src/windows.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | let mut luid = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type or module `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:258:42 [INFO] [stdout] | [INFO] [stdout] 258 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | const SIOCTL_TYPE: DWORD = 40000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_code(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_NEITHER` in this scope [INFO] [stdout] --> src/driver_state.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:58:62 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:61:64 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/driver_state.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn startup(&mut self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/driver_state.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn shutdown(&self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | size_of_val(&input) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:281:35 [INFO] [stdout] | [INFO] [stdout] 281 | output_len_as_byte as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub version_info: OSVERSIONINFOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | driver_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | ntdll: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:70:62 [INFO] [stdout] | [INFO] [stdout] 70 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/windows.rs:71:63 [INFO] [stdout] | [INFO] [stdout] 71 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | let mut version_info = OSVERSIONINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let ntdll: HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:101:68 [INFO] [stdout] | [INFO] [stdout] 101 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/windows.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/windows.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ntdll = LoadLibraryA(str_ntdll.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | let nt_load_driver_ = GetProcAddress(ntdll, str_nt_load_driver.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | let nt_unload_driver_ = GetProcAddress(ntdll, str_nt_unload_driver.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | let rtl_init_unicode_str_ = GetProcAddress(ntdll, str_rtl_init_unicode_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let rtl_get_version_ = GetProcAddress(ntdll, str_rtl_get_version.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/windows.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | let mut registry_key: HKEY = null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExA` in this scope [INFO] [stdout] --> src/windows.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | RegCreateKeyExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/windows.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | HKEY_LOCAL_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> src/windows.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | const SIOCTL_TYPE: DWORD = 40000; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_code(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:55:46 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:55:65 [INFO] [stdout] | [INFO] [stdout] 55 | CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_NEITHER` in this scope [INFO] [stdout] --> src/driver_state.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:58:62 [INFO] [stdout] | [INFO] [stdout] 58 | CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:61:64 [INFO] [stdout] | [INFO] [stdout] 61 | CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 64 | CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stdout] --> src/windows.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | (str_type.as_ptr(), REG_DWORD, type_value.as_ptr(), 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | REG_DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stdout] --> src/driver_state.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | (str_start.as_ptr(), REG_DWORD, start_value.as_ptr(), 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/windows.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/driver_state.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn startup(&mut self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/driver_state.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn shutdown(&self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stdout] --> src/windows.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | RegSetValueExA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | size_of_val(&input) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stdout] --> src/windows.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | RegCloseKey(registry_key); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:281:35 [INFO] [stdout] | [INFO] [stdout] 281 | output_len_as_byte as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let mut token_handle: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub version_info: OSVERSIONINFOW, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/windows.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | OpenProcessToken( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | driver_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/windows.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | ntdll: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope [INFO] [stdout] --> src/windows.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | TOKEN_ADJUST_PRIVILEGES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stdout] --> src/windows.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | LookupPrivilegeValueA(null_mut(), str_se_load_driver_privilege.as_ptr(), &mut luid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope [INFO] [stdout] --> src/windows.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | let mut new_token_state = TOKEN_PRIVILEGES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> src/windows.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | Privileges: [LUID_AND_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:70:62 [INFO] [stdout] | [INFO] [stdout] 70 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope [INFO] [stdout] --> src/windows.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | Attributes: SE_PRIVILEGE_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope [INFO] [stdout] --> src/windows.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/windows.rs:71:63 [INFO] [stdout] | [INFO] [stdout] 71 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/windows.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | CloseHandle(token_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 72 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | driver_handle: INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | self.driver_handle != INVALID_HANDLE_VALUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | let mut version_info = OSVERSIONINFOW { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let ntdll: HMODULE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:101:48 [INFO] [stdout] | [INFO] [stdout] 101 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:101:68 [INFO] [stdout] | [INFO] [stdout] 101 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:102:70 [INFO] [stdout] | [INFO] [stdout] 102 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/windows.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_driver(&mut self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | let driver_file_handle: HANDLE = unsafe { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> src/windows.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | ntdll = LoadLibraryA(str_ntdll.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/windows.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | let nt_load_driver_ = GetProcAddress(ntdll, str_nt_load_driver.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/windows.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | let nt_unload_driver_ = GetProcAddress(ntdll, str_nt_unload_driver.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/windows.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | let rtl_init_unicode_str_ = GetProcAddress(ntdll, str_rtl_init_unicode_str.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let rtl_get_version_ = GetProcAddress(ntdll, str_rtl_get_version.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope [INFO] [stdout] --> src/windows.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | CREATE_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/windows.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | let mut registry_key: HKEY = null_mut(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/windows.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExA` in this scope [INFO] [stdout] --> src/windows.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | RegCreateKeyExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | if driver_file_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/windows.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | HKEY_LOCAL_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn unload_driver(&self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_build_number(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope [INFO] [stdout] --> src/windows.rs:294:42 [INFO] [stdout] | [INFO] [stdout] 294 | let system_up_time_ms = unsafe { GetTickCount64() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:312:41 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:312:82 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | size_of_val(inbuf) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | size_of_val(outbuf) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | code: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | input_len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | output_len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | ) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | let mut bytes_returned: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/windows.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | let status = DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows.rs:344:61 [INFO] [stdout] | [INFO] [stdout] 344 | println!("device io failed: last error {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stdout] --> src/windows.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | REG_OPTION_NON_VOLATILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stdout] --> src/windows.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | (str_type.as_ptr(), REG_DWORD, type_value.as_ptr(), 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | REG_DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | (str_start.as_ptr(), REG_DWORD, start_value.as_ptr(), 4), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/windows.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stdout] --> src/windows.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | RegSetValueExA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stdout] --> src/windows.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | RegCloseKey(registry_key); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | let mut token_handle: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/windows.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | OpenProcessToken( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/windows.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope [INFO] [stdout] --> src/windows.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | TOKEN_ADJUST_PRIVILEGES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stdout] --> src/windows.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | LookupPrivilegeValueA(null_mut(), str_se_load_driver_privilege.as_ptr(), &mut luid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope [INFO] [stdout] --> src/windows.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | let mut new_token_state = TOKEN_PRIVILEGES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> src/windows.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | Privileges: [LUID_AND_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope [INFO] [stdout] --> src/windows.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | Attributes: SE_PRIVILEGE_ENABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope [INFO] [stdout] --> src/windows.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/windows.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | CloseHandle(token_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | driver_handle: INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | self.driver_handle != INVALID_HANDLE_VALUE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn load_driver(&mut self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | let driver_file_handle: HANDLE = unsafe { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/windows.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/windows.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/windows.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope [INFO] [stdout] --> src/windows.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | CREATE_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/windows.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | if driver_file_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn unload_driver(&self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_build_number(&self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope [INFO] [stdout] --> src/windows.rs:294:42 [INFO] [stdout] | [INFO] [stdout] 294 | let system_up_time_ms = unsafe { GetTickCount64() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:312:41 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:312:82 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | size_of_val(inbuf) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | size_of_val(outbuf) as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | code: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | input_len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | output_len: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:329:10 [INFO] [stdout] | [INFO] [stdout] 329 | ) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | let mut bytes_returned: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/windows.rs:333:26 [INFO] [stdout] | [INFO] [stdout] 333 | let status = DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows.rs:344:61 [INFO] [stdout] | [INFO] [stdout] 344 | println!("device io failed: last error {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 117 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpus`. [INFO] [stdout] error: aborting due to 117 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a4d0069fbbc9b5706d6fe67ae050fd8a8cc9258aac4864e75138fa54daaa008d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d0069fbbc9b5706d6fe67ae050fd8a8cc9258aac4864e75138fa54daaa008d", kill_on_drop: false }` [INFO] [stdout] a4d0069fbbc9b5706d6fe67ae050fd8a8cc9258aac4864e75138fa54daaa008d