[INFO] updating cached repository https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] running `"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"` [INFO] [stderr] From https://github.com/nganhkhoa/pdb_for_nonpagedpool [INFO] [stderr] ecc476c..8c642f6 master -> master [INFO] [stderr] * [new tag] v0.2-alpha -> v0.2-alpha [INFO] [stderr] * [new tag] v0.3-alpha -> v0.3-alpha [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8c642f6ba079fa6ce1526d4197c6313d85f25f0c [INFO] testing nganhkhoa/pdb_for_nonpagedpool against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f3677abc75f6ba4f46a0ad79e3e6213ecc1933ee03b45cde078c864783a8e89c [INFO] running `"docker" "start" "-a" "f3677abc75f6ba4f46a0ad79e3e6213ecc1933ee03b45cde078c864783a8e89c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling widestring v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling app_dirs v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling pdb v0.5.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.1 [INFO] [stderr] Compiling lpus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/windows.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/windows.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{DWORD, HKEY, HMODULE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winnt::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::ioapiset::{DeviceIoControl}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::errhandlingapi::{GetLastError}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::fileapi::{CreateFileA, CREATE_ALWAYS}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::um::handleapi::{INVALID_HANDLE_VALUE, CloseHandle}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::um::libloaderapi::{LoadLibraryA, GetProcAddress}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::sysinfoapi::{GetTickCount64}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::securitybaseapi::{AdjustTokenPrivileges}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::winbase::{LookupPrivilegeValueA}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::um::winreg::{RegCreateKeyExA, RegSetValueExA, RegCloseKey, HKEY_LOCAL_MACHINE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/driver_state.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::ntdef::{NTSTATUS}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/driver_state.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::{DWORD}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/driver_state.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winioctl::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LUID` [INFO] [stderr] --> src/windows.rs:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | let mut luid = LUID::default(); [INFO] [stderr] | ^^^^ use of undeclared type or module `LUID` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] --> src/windows.rs:172:42 [INFO] [stderr] | [INFO] [stderr] 172 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] --> src/windows.rs:195:42 [INFO] [stderr] | [INFO] [stderr] 195 | let mut str_driver_reg_unicode = UNICODE_STRING::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:45:23 [INFO] [stderr] | [INFO] [stderr] 45 | pub version_info: OSVERSIONINFOW, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/windows.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | driver_handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/windows.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | ntdll: HMODULE, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:49:40 [INFO] [stderr] | [INFO] [stderr] 49 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:49:60 [INFO] [stderr] | [INFO] [stderr] 49 | nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:50:42 [INFO] [stderr] | [INFO] [stderr] 50 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:50:62 [INFO] [stderr] | [INFO] [stderr] 50 | nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:51:46 [INFO] [stderr] | [INFO] [stderr] 51 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stderr] --> src/windows.rs:51:63 [INFO] [stderr] | [INFO] [stderr] 51 | rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR), [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:52:65 [INFO] [stderr] | [INFO] [stderr] 52 | rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | let mut version_info = OSVERSIONINFOW { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/windows.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | let ntdll: HMODULE; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:81:48 [INFO] [stderr] | [INFO] [stderr] 81 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:81:68 [INFO] [stderr] | [INFO] [stderr] 81 | let nt_load_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:82:50 [INFO] [stderr] | [INFO] [stderr] 82 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:82:70 [INFO] [stderr] | [INFO] [stderr] 82 | let nt_unload_driver: extern "system" fn(PUNICODE_STRING) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:83:54 [INFO] [stderr] | [INFO] [stderr] 83 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stderr] --> src/windows.rs:83:71 [INFO] [stderr] | [INFO] [stderr] 83 | let rtl_init_unicode_str: extern "system" fn(PUNICODE_STRING, PCWSTR); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PRTL_OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:84:49 [INFO] [stderr] | [INFO] [stderr] 84 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:84:73 [INFO] [stderr] | [INFO] [stderr] 84 | let rtl_get_version: extern "system" fn(PRTL_OSVERSIONINFOW) -> NTSTATUS; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stderr] --> src/windows.rs:88:21 [INFO] [stderr] | [INFO] [stderr] 88 | ntdll = LoadLibraryA(str_ntdll.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/windows.rs:89:35 [INFO] [stderr] | [INFO] [stderr] 89 | let nt_load_driver_ = GetProcAddress(ntdll, str_nt_load_driver.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/windows.rs:90:37 [INFO] [stderr] | [INFO] [stderr] 90 | let nt_unload_driver_ = GetProcAddress(ntdll, str_nt_unload_driver.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/windows.rs:91:41 [INFO] [stderr] | [INFO] [stderr] 91 | let rtl_init_unicode_str_ = GetProcAddress(ntdll, str_rtl_init_unicode_str.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/windows.rs:92:36 [INFO] [stderr] | [INFO] [stderr] 92 | let rtl_get_version_ = GetProcAddress(ntdll, str_rtl_get_version.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stderr] --> src/windows.rs:100:35 [INFO] [stderr] | [INFO] [stderr] 100 | let mut registry_key: HKEY = null_mut(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegCreateKeyExA` in this scope [INFO] [stderr] --> src/windows.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | RegCreateKeyExA( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stderr] --> src/windows.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | HKEY_LOCAL_MACHINE, str_registry_path.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REG_OPTION_NON_VOLATILE` in this scope [INFO] [stderr] --> src/windows.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | REG_OPTION_NON_VOLATILE, KEY_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stderr] --> src/windows.rs:104:42 [INFO] [stderr] | [INFO] [stderr] 104 | REG_OPTION_NON_VOLATILE, KEY_WRITE, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stderr] --> src/windows.rs:111:37 [INFO] [stderr] | [INFO] [stderr] 111 | (str_type.as_ptr(), REG_DWORD, type_value.as_ptr(), 4), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stderr] --> src/windows.rs:112:46 [INFO] [stderr] | [INFO] [stderr] 112 | (str_error_control.as_ptr(), REG_DWORD, error_control_value.as_ptr(), 4), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stderr] --> src/windows.rs:113:38 [INFO] [stderr] | [INFO] [stderr] 113 | (str_start.as_ptr(), REG_DWORD, start_value.as_ptr(), 4), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stderr] --> src/windows.rs:114:43 [INFO] [stderr] | [INFO] [stderr] 114 | (str_image_path.as_ptr(), REG_SZ, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stderr] --> src/windows.rs:118:17 [INFO] [stderr] | [INFO] [stderr] 118 | RegSetValueExA( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stderr] --> src/windows.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | RegCloseKey(registry_key); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/windows.rs:126:35 [INFO] [stderr] | [INFO] [stderr] 126 | let mut token_handle: HANDLE = null_mut(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stderr] --> src/windows.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stderr] --> src/windows.rs:128:30 [INFO] [stderr] | [INFO] [stderr] 128 | OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope [INFO] [stderr] --> src/windows.rs:128:51 [INFO] [stderr] | [INFO] [stderr] 128 | OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stderr] --> src/windows.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | LookupPrivilegeValueA(null_mut(), str_se_load_driver_privilege.as_ptr(), &mut luid); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope [INFO] [stderr] --> src/windows.rs:130:39 [INFO] [stderr] | [INFO] [stderr] 130 | let mut new_token_state = TOKEN_PRIVILEGES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope [INFO] [stderr] --> src/windows.rs:132:30 [INFO] [stderr] | [INFO] [stderr] 132 | Privileges: [LUID_AND_ATTRIBUTES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope [INFO] [stderr] --> src/windows.rs:134:33 [INFO] [stderr] | [INFO] [stderr] 134 | Attributes: SE_PRIVILEGE_ENABLED [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope [INFO] [stderr] --> src/windows.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | AdjustTokenPrivileges( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/windows.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | CloseHandle(token_handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/windows.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | driver_handle: INVALID_HANDLE_VALUE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/windows.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | self.driver_handle != INVALID_HANDLE_VALUE [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:168:38 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn load_driver(&mut self) -> NTSTATUS { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/windows.rs:177:33 [INFO] [stderr] | [INFO] [stderr] 177 | let driver_file_handle: HANDLE = unsafe { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stderr] --> src/windows.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | CreateFileA(filename.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stderr] --> src/windows.rs:179:25 [INFO] [stderr] | [INFO] [stderr] 179 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stderr] --> src/windows.rs:179:40 [INFO] [stderr] | [INFO] [stderr] 179 | GENERIC_READ | GENERIC_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope [INFO] [stderr] --> src/windows.rs:180:40 [INFO] [stderr] | [INFO] [stderr] 180 | 0, null_mut(), CREATE_ALWAYS, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stderr] --> src/windows.rs:181:25 [INFO] [stderr] | [INFO] [stderr] 181 | FILE_ATTRIBUTE_NORMAL, null_mut()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/windows.rs:184:34 [INFO] [stderr] | [INFO] [stderr] 184 | if driver_file_handle == INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/windows.rs:193:36 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn unload_driver(&self) -> NTSTATUS { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:201:39 [INFO] [stderr] | [INFO] [stderr] 201 | pub fn get_build_number(&self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope [INFO] [stderr] --> src/windows.rs:221:42 [INFO] [stderr] | [INFO] [stderr] 221 | let system_up_time_ms = unsafe { GetTickCount64() }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:235:41 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:235:82 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn device_io(&self, code: DWORD, inbuf: &mut T, outbuf: &mut E) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:237:82 [INFO] [stderr] | [INFO] [stderr] 237 | ... inbuf as *mut _ as *mut c_void, size_of_val(inbuf) as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:238:84 [INFO] [stderr] | [INFO] [stderr] 238 | ... outbuf as *mut _ as *mut c_void, size_of_val(outbuf) as DWORD) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:241:39 [INFO] [stderr] | [INFO] [stderr] 241 | pub fn device_io_raw(&self, code: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:242:61 [INFO] [stderr] | [INFO] [stderr] 242 | input_ptr: *mut c_void, input_len: DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:243:63 [INFO] [stderr] | [INFO] [stderr] 243 | output_ptr: *mut c_void, output_len: DWORD) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:243:73 [INFO] [stderr] | [INFO] [stderr] 243 | output_ptr: *mut c_void, output_len: DWORD) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/windows.rs:245:33 [INFO] [stderr] | [INFO] [stderr] 245 | let mut bytes_returned: DWORD = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stderr] --> src/windows.rs:247:26 [INFO] [stderr] | [INFO] [stderr] 247 | let status = DeviceIoControl(self.driver_handle, code, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/windows.rs:252:61 [INFO] [stderr] | [INFO] [stderr] 252 | println!("device io failed: last error {}", GetLastError()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/driver_state.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | const SIOCTL_TYPE: DWORD = 40000; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/driver_state.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn get_code(&self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | DriverAction::SetupOffset => CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:48:71 [INFO] [stderr] | [INFO] [stderr] 48 | DriverAction::SetupOffset => CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:48:89 [INFO] [stderr] | [INFO] [stderr] 48 | DriverAction::SetupOffset => CTL_CODE(SIOCTL_TYPE, 0x900, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:49:44 [INFO] [stderr] | [INFO] [stderr] 49 | DriverAction::GetKernelBase => CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:49:73 [INFO] [stderr] | [INFO] [stderr] 49 | DriverAction::GetKernelBase => CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:49:92 [INFO] [stderr] | [INFO] [stderr] 49 | DriverAction::GetKernelBase => CTL_CODE(SIOCTL_TYPE, 0x901, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:50:47 [INFO] [stderr] | [INFO] [stderr] 50 | DriverAction::ScanPsActiveHead => CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_NEITHER` in this scope [INFO] [stderr] --> src/driver_state.rs:50:76 [INFO] [stderr] | [INFO] [stderr] 50 | DriverAction::ScanPsActiveHead => CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:50:92 [INFO] [stderr] | [INFO] [stderr] 50 | DriverAction::ScanPsActiveHead => CTL_CODE(SIOCTL_TYPE, 0x902, METHOD_NEITHER, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:51:39 [INFO] [stderr] | [INFO] [stderr] 51 | DriverAction::ScanPool => CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:51:68 [INFO] [stderr] | [INFO] [stderr] 51 | DriverAction::ScanPool => CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:51:86 [INFO] [stderr] | [INFO] [stderr] 51 | DriverAction::ScanPool => CTL_CODE(SIOCTL_TYPE, 0x903, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:52:45 [INFO] [stderr] | [INFO] [stderr] 52 | DriverAction::ScanPoolRemote => CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:52:74 [INFO] [stderr] | [INFO] [stderr] 52 | DriverAction::ScanPoolRemote => CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:52:92 [INFO] [stderr] | [INFO] [stderr] 52 | DriverAction::ScanPoolRemote => CTL_CODE(SIOCTL_TYPE, 0x904, METHOD_IN_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:53:49 [INFO] [stderr] | [INFO] [stderr] 53 | DriverAction::DereferenceAddress => CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_OUT_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:53:78 [INFO] [stderr] | [INFO] [stderr] 53 | DriverAction::DereferenceAddress => CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:53:97 [INFO] [stderr] | [INFO] [stderr] 53 | DriverAction::DereferenceAddress => CTL_CODE(SIOCTL_TYPE, 0xA00, METHOD_OUT_DIRECT, FILE_ANY_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CTL_CODE` in this scope [INFO] [stderr] --> src/driver_state.rs:54:42 [INFO] [stderr] | [INFO] [stderr] 54 | DriverAction::HideProcess => CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `METHOD_IN_DIRECT` in this scope [INFO] [stderr] --> src/driver_state.rs:54:71 [INFO] [stderr] | [INFO] [stderr] 54 | DriverAction::HideProcess => CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_ANY_ACCESS` in this scope [INFO] [stderr] --> src/driver_state.rs:54:89 [INFO] [stderr] | [INFO] [stderr] 54 | DriverAction::HideProcess => CTL_CODE(SIOCTL_TYPE, 0xA01, METHOD_IN_DIRECT, FILE_ANY_ACCESS) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/driver_state.rs:89:34 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn startup(&mut self) -> NTSTATUS { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/driver_state.rs:99:31 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn shutdown(&self) -> NTSTATUS { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/driver_state.rs:239:100 [INFO] [stderr] | [INFO] [stderr] 239 | ... &mut input as *mut _ as *mut c_void, size_of_val(&input) as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/driver_state.rs:240:77 [INFO] [stderr] | [INFO] [stderr] 240 | ... outptr as *mut c_void, output_len as DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 117 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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 `"docker" "inspect" "f3677abc75f6ba4f46a0ad79e3e6213ecc1933ee03b45cde078c864783a8e89c"` [INFO] running `"docker" "rm" "-f" "f3677abc75f6ba4f46a0ad79e3e6213ecc1933ee03b45cde078c864783a8e89c"` [INFO] [stdout] f3677abc75f6ba4f46a0ad79e3e6213ecc1933ee03b45cde078c864783a8e89c