[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] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c036f3645af88e431afc6a93bbe03d258f870d64 [INFO] checking nganhkhoa/pdb_for_nonpagedpool against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnganhkhoa%2Fpdb_for_nonpagedpool" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nganhkhoa/pdb_for_nonpagedpool on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-5/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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 29ed6757b5c924d39612bbdeaaf1638c417e6d451d967c22cf7d65cd9731a191 [INFO] running `"docker" "start" "-a" "29ed6757b5c924d39612bbdeaaf1638c417e6d451d967c22cf7d65cd9731a191"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking pdb v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.1 [INFO] [stderr] Checking parse_pdb_for_offsets v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/windows.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | 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:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | 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:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | 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:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::handleapi::*; [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:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::libloaderapi::*; [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:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::processthreadsapi::*; [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:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::securitybaseapi::*; [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::winbase::*; [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::winreg::*; [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/windows.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | 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:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | 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:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | 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:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::um::handleapi::*; [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:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::libloaderapi::*; [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:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::processthreadsapi::*; [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:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::securitybaseapi::*; [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::winbase::*; [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::winreg::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] --> src/windows.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | 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 `LUID` [INFO] [stderr] --> src/windows.rs:119:28 [INFO] [stderr] | [INFO] [stderr] 119 | let mut luid = LUID::default(); [INFO] [stderr] | ^^^^ use of undeclared type or module `LUID` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | pub version_info: OSVERSIONINFOW, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | driver_registry_string: UNICODE_STRING, [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:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | 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:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | nt_load_driver: extern "stdcall" 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:38:61 [INFO] [stderr] | [INFO] [stderr] 38 | nt_load_driver: extern "stdcall" 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:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | nt_unload_driver: extern "stdcall" 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:39:63 [INFO] [stderr] | [INFO] [stderr] 39 | nt_unload_driver: extern "stdcall" 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:40:47 [INFO] [stderr] | [INFO] [stderr] 40 | rtl_init_unicode_str: extern "stdcall" 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:40:64 [INFO] [stderr] | [INFO] [stderr] 40 | rtl_init_unicode_str: extern "stdcall" 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:41:41 [INFO] [stderr] | [INFO] [stderr] 41 | 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:41:65 [INFO] [stderr] | [INFO] [stderr] 41 | 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:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | 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:72:20 [INFO] [stderr] | [INFO] [stderr] 72 | 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:73:49 [INFO] [stderr] | [INFO] [stderr] 73 | let nt_load_driver: extern "stdcall" 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:73:69 [INFO] [stderr] | [INFO] [stderr] 73 | let nt_load_driver: extern "stdcall" 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:74:51 [INFO] [stderr] | [INFO] [stderr] 74 | let nt_unload_driver: extern "stdcall" 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:74:71 [INFO] [stderr] | [INFO] [stderr] 74 | let nt_unload_driver: extern "stdcall" 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:75:55 [INFO] [stderr] | [INFO] [stderr] 75 | let rtl_init_unicode_str: extern "stdcall" 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:75:72 [INFO] [stderr] | [INFO] [stderr] 75 | let rtl_init_unicode_str: extern "stdcall" 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:76:49 [INFO] [stderr] | [INFO] [stderr] 76 | 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:76:73 [INFO] [stderr] | [INFO] [stderr] 76 | 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:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:41 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:36 [INFO] [stderr] | [INFO] [stderr] 84 | 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:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | let mut registry_key: HKEY = std::ptr::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:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | 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:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | 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:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | 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:96:42 [INFO] [stderr] | [INFO] [stderr] 96 | 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:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | (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:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | (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:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | (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:106:43 [INFO] [stderr] | [INFO] [stderr] 106 | (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:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | 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:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | 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:118:35 [INFO] [stderr] | [INFO] [stderr] 118 | let mut token_handle: HANDLE = std::ptr::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:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | 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:120:30 [INFO] [stderr] | [INFO] [stderr] 120 | 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:120:51 [INFO] [stderr] | [INFO] [stderr] 120 | 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:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | LookupPrivilegeValueA(std::ptr::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:122:39 [INFO] [stderr] | [INFO] [stderr] 122 | 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:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | 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:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | 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:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | 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:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | CloseHandle(token_handle); [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:159:38 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn load_driver(&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/windows.rs:163:40 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn unload_driver(&mut 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:168:39 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn get_build_number(&self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UNICODE_STRING` [INFO] [stderr] --> src/windows.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | 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 `LUID` [INFO] [stderr] --> src/windows.rs:119:28 [INFO] [stderr] | [INFO] [stderr] 119 | let mut luid = LUID::default(); [INFO] [stderr] | ^^^^ use of undeclared type or module `LUID` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OSVERSIONINFOW` in this scope [INFO] [stderr] --> src/windows.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | pub version_info: OSVERSIONINFOW, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stderr] --> src/windows.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | driver_registry_string: UNICODE_STRING, [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:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | 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:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | nt_load_driver: extern "stdcall" 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:38:61 [INFO] [stderr] | [INFO] [stderr] 38 | nt_load_driver: extern "stdcall" 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:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | nt_unload_driver: extern "stdcall" 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:39:63 [INFO] [stderr] | [INFO] [stderr] 39 | nt_unload_driver: extern "stdcall" 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:40:47 [INFO] [stderr] | [INFO] [stderr] 40 | rtl_init_unicode_str: extern "stdcall" 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:40:64 [INFO] [stderr] | [INFO] [stderr] 40 | rtl_init_unicode_str: extern "stdcall" 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:41:41 [INFO] [stderr] | [INFO] [stderr] 41 | 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:41:65 [INFO] [stderr] | [INFO] [stderr] 41 | 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:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | 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:72:20 [INFO] [stderr] | [INFO] [stderr] 72 | 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:73:49 [INFO] [stderr] | [INFO] [stderr] 73 | let nt_load_driver: extern "stdcall" 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:73:69 [INFO] [stderr] | [INFO] [stderr] 73 | let nt_load_driver: extern "stdcall" 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:74:51 [INFO] [stderr] | [INFO] [stderr] 74 | let nt_unload_driver: extern "stdcall" 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:74:71 [INFO] [stderr] | [INFO] [stderr] 74 | let nt_unload_driver: extern "stdcall" 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:75:55 [INFO] [stderr] | [INFO] [stderr] 75 | let rtl_init_unicode_str: extern "stdcall" 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:75:72 [INFO] [stderr] | [INFO] [stderr] 75 | let rtl_init_unicode_str: extern "stdcall" 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:76:49 [INFO] [stderr] | [INFO] [stderr] 76 | 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:76:73 [INFO] [stderr] | [INFO] [stderr] 76 | 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:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | 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:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | 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:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:41 [INFO] [stderr] | [INFO] [stderr] 83 | 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:84:36 [INFO] [stderr] | [INFO] [stderr] 84 | 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:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | let mut registry_key: HKEY = std::ptr::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:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | 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:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | 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:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | 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:96:42 [INFO] [stderr] | [INFO] [stderr] 96 | 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:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | (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:104:46 [INFO] [stderr] | [INFO] [stderr] 104 | (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:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | (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:106:43 [INFO] [stderr] | [INFO] [stderr] 106 | (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:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | 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:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | 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:118:35 [INFO] [stderr] | [INFO] [stderr] 118 | let mut token_handle: HANDLE = std::ptr::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:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | 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:120:30 [INFO] [stderr] | [INFO] [stderr] 120 | 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:120:51 [INFO] [stderr] | [INFO] [stderr] 120 | 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:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | LookupPrivilegeValueA(std::ptr::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:122:39 [INFO] [stderr] | [INFO] [stderr] 122 | 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:124:30 [INFO] [stderr] | [INFO] [stderr] 124 | 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:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | 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:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | 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:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | CloseHandle(token_handle); [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:159:38 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn load_driver(&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/windows.rs:163:40 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn unload_driver(&mut 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:168:39 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn get_build_number(&self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 61 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 `parse_pdb_for_offsets`. [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: aborting due to 61 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 `parse_pdb_for_offsets`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "29ed6757b5c924d39612bbdeaaf1638c417e6d451d967c22cf7d65cd9731a191"` [INFO] running `"docker" "rm" "-f" "29ed6757b5c924d39612bbdeaaf1638c417e6d451d967c22cf7d65cd9731a191"` [INFO] [stdout] 29ed6757b5c924d39612bbdeaaf1638c417e6d451d967c22cf7d65cd9731a191