[INFO] cloning 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" "clone" "--bare" "https://github.com/nganhkhoa/pdb_for_nonpagedpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae679b62be0b580fb975c1945fa4c79771010843 [INFO] checking nganhkhoa/pdb_for_nonpagedpool against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/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-13/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c8a1585e282b57ddd1d3f2b3607bab3080ad0133ec832c3ee9887b7b6824f15 [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" "3c8a1585e282b57ddd1d3f2b3607bab3080ad0133ec832c3ee9887b7b6824f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c8a1585e282b57ddd1d3f2b3607bab3080ad0133ec832c3ee9887b7b6824f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8a1585e282b57ddd1d3f2b3607bab3080ad0133ec832c3ee9887b7b6824f15", kill_on_drop: false }` [INFO] [stdout] 3c8a1585e282b57ddd1d3f2b3607bab3080ad0133ec832c3ee9887b7b6824f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 287ab49fd17010c3a75c413c5fe4a7299f93acb88c5967b60642bb55f651d571 [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" "287ab49fd17010c3a75c413c5fe4a7299f93acb88c5967b60642bb55f651d571", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking widestring v0.4.2 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Checking parse_int v0.4.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking pdb v0.5.0 [INFO] [stderr] Compiling time v0.1.42 [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 openssl-sys v0.9.54 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking openssl v0.10.28 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling vergen v3.1.0 [INFO] [stderr] Compiling lpus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking native-tls v0.2.3 [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 rust-embed-impl v5.6.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Checking rust-embed v5.6.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] [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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | 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:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | 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:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | 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:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | 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:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | 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:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | 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:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | 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 `LUID` [INFO] [stdout] --> src/windows.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | let mut luid = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LUID` [INFO] [stdout] --> src/windows.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | let mut luid = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:262:42 [INFO] [stdout] | [INFO] [stdout] 262 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:275:42 [INFO] [stdout] | [INFO] [stdout] 275 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:262:42 [INFO] [stdout] | [INFO] [stdout] 262 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UNICODE_STRING` [INFO] [stdout] --> src/windows.rs:275:42 [INFO] [stdout] | [INFO] [stdout] 275 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | 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:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | 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:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | 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:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | 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:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | 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:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | 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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | 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:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | 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:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | 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:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | 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:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | 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:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | 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:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | 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:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | 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:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | 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:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | 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:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | 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:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | 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:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | output_len_as_byte 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:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | 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:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | 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:51:46 [INFO] [stdout] | [INFO] [stdout] 51 | 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:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | 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:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | 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:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | 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:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | 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:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | 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:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | 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:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | 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:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | 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:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | 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:63:64 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | 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[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | pub version_info: OSVERSIONINFOW, [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:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | 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[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | driver_handle: HANDLE, [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:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | 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[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | ntdll: HMODULE, [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:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | 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 `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | 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 value `METHOD_IN_DIRECT` in this scope [INFO] [stdout] --> src/driver_state.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | 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/windows.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | 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 value `FILE_ANY_ACCESS` in this scope [INFO] [stdout] --> src/driver_state.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | 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 `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | 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/driver_state.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn startup(&mut self) -> 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:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | 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/driver_state.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn shutdown(&self) -> NTSTATUS { [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:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | 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 `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | size_of_val(&input) as DWORD, [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:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | 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 `DWORD` in this scope [INFO] [stdout] --> src/driver_state.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | output_len_as_byte as DWORD, [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:76:65 [INFO] [stdout] | [INFO] [stdout] 76 | 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 `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | 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:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | 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:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | 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 `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | let mut version_info = OSVERSIONINFOW { [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:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | 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:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | 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:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | 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:76:65 [INFO] [stdout] | [INFO] [stdout] 76 | 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 `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | 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:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | 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:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | 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:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | 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:115:70 [INFO] [stdout] | [INFO] [stdout] 115 | 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:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | 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[E0422]: cannot find struct, variant or union type `OSVERSIONINFOW` in this scope [INFO] [stdout] --> src/windows.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | let mut version_info = OSVERSIONINFOW { [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:116:71 [INFO] [stdout] | [INFO] [stdout] 116 | 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:117:49 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | let ntdll: HMODULE; [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:117:73 [INFO] [stdout] | [INFO] [stdout] 117 | 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:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | ntdll = LoadLibraryA(str_ntdll.as_ptr()); [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:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | let 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 `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | 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[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows.rs:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | let 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 `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | 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[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/windows.rs:115:50 [INFO] [stdout] | [INFO] [stdout] 115 | 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:115:70 [INFO] [stdout] | [INFO] [stdout] 115 | 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:116:54 [INFO] [stdout] | [INFO] [stdout] 116 | 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[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | 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 `PCWSTR` in this scope [INFO] [stdout] --> src/windows.rs:116:71 [INFO] [stdout] | [INFO] [stdout] 116 | 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 `HKEY` in this scope [INFO] [stdout] --> src/windows.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | let mut registry_key: HKEY = null_mut(); [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:117:49 [INFO] [stdout] | [INFO] [stdout] 117 | 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 `RegCreateKeyExA` in this scope [INFO] [stdout] --> src/windows.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | RegCreateKeyExA( [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:117:73 [INFO] [stdout] | [INFO] [stdout] 117 | 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 value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/windows.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | HKEY_LOCAL_MACHINE, [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:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | ntdll = LoadLibraryA(str_ntdll.as_ptr()); [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:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | REG_OPTION_NON_VOLATILE, [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:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | 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 `KEY_WRITE` in this scope [INFO] [stdout] --> src/windows.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | KEY_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:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | 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 value `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | (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 function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/windows.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | 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 `REG_DWORD` in this scope [INFO] [stdout] --> src/windows.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | REG_DWORD, [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:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | 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:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | RegCreateKeyExA( [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:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | (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 `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/windows.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | HKEY_LOCAL_MACHINE, [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:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | REG_SZ, [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:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | 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:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | 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:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | (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 function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stdout] --> src/windows.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | RegSetValueExA( [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:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | REG_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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | RegCloseKey(registry_key); [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:156:38 [INFO] [stdout] | [INFO] [stdout] 156 | (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:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | REG_SZ, [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:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | 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 `RegSetValueExA` in this scope [INFO] [stdout] --> src/windows.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | RegSetValueExA( [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:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | OpenProcessToken( [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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | 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:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | 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 `GetCurrentProcess` in this scope [INFO] [stdout] --> src/windows.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | GetCurrentProcess(), [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:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | OpenProcessToken( [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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | 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 `GetCurrentProcess` in this scope [INFO] [stdout] --> src/windows.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | 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:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | 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:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | let mut new_token_state = TOKEN_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:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | 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 `LUID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> src/windows.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Privileges: [LUID_AND_ATTRIBUTES { [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:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | let mut new_token_state = TOKEN_PRIVILEGES { [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:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Attributes: SE_PRIVILEGE_ENABLED, [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:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Privileges: [LUID_AND_ATTRIBUTES { [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:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | AdjustTokenPrivileges( [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:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | 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:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | CloseHandle(token_handle); [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:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | 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:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | 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:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | 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:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | self.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:234:31 [INFO] [stdout] | [INFO] [stdout] 234 | self.driver_handle != INVALID_HANDLE_VALUE [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:239:33 [INFO] [stdout] | [INFO] [stdout] 239 | 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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | 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:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | 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:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | 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:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | 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:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | FILE_ATTRIBUTE_NORMAL, [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:239:33 [INFO] [stdout] | [INFO] [stdout] 239 | let driver_file_handle: HANDLE = unsafe { [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:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | if driver_file_handle == INVALID_HANDLE_VALUE { [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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | CreateFileA( [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:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn load_driver(&mut self) -> NTSTATUS { [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:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | GENERIC_READ | GENERIC_WRITE, [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:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn unload_driver(&self) -> NTSTATUS { [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:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | GENERIC_READ | GENERIC_WRITE, [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:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_build_number(&self) -> DWORD { [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:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | CREATE_ALWAYS, [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:311:42 [INFO] [stdout] | [INFO] [stdout] 311 | let system_up_time_ms = unsafe { GetTickCount64() }; [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:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | FILE_ATTRIBUTE_NORMAL, [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:41 [INFO] [stdout] | [INFO] [stdout] 329 | 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[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/windows.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | 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 `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:329:82 [INFO] [stdout] | [INFO] [stdout] 329 | 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:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | size_of_val(inbuf) as DWORD, [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:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | 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 `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | 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:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | 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:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | 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:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | 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:346:10 [INFO] [stdout] | [INFO] [stdout] 346 | ) -> 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:348:33 [INFO] [stdout] | [INFO] [stdout] 348 | 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:350:26 [INFO] [stdout] | [INFO] [stdout] 350 | 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:361:61 [INFO] [stdout] | [INFO] [stdout] 361 | println!("device io failed: last error {}", GetLastError()); [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:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | 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:281:39 [INFO] [stdout] | [INFO] [stdout] 281 | 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:311:42 [INFO] [stdout] | [INFO] [stdout] 311 | 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:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | 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:329:82 [INFO] [stdout] | [INFO] [stdout] 329 | 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:333:35 [INFO] [stdout] | [INFO] [stdout] 333 | 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:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | 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:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | 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:343:20 [INFO] [stdout] | [INFO] [stdout] 343 | 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:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | 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:346:10 [INFO] [stdout] | [INFO] [stdout] 346 | ) -> 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:348:33 [INFO] [stdout] | [INFO] [stdout] 348 | 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:350:26 [INFO] [stdout] | [INFO] [stdout] 350 | 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:361:61 [INFO] [stdout] | [INFO] [stdout] 361 | println!("device io failed: last error {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/commands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 117 previous errors; 1 warning emitted [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] [stdout] error: aborting due to 117 previous errors; 1 warning emitted [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "287ab49fd17010c3a75c413c5fe4a7299f93acb88c5967b60642bb55f651d571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "287ab49fd17010c3a75c413c5fe4a7299f93acb88c5967b60642bb55f651d571", kill_on_drop: false }` [INFO] [stdout] 287ab49fd17010c3a75c413c5fe4a7299f93acb88c5967b60642bb55f651d571