[INFO] cloning repository https://github.com/israelxss/usb-driver-forensics
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/israelxss/usb-driver-forensics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisraelxss%2Fusb-driver-forensics"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisraelxss%2Fusb-driver-forensics'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f8dbceec2a78d384719e8528ce66bda9af2b6035
[INFO] testing israelxss/usb-driver-forensics against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisraelxss%2Fusb-driver-forensics" "/workspace/builds/worker-7-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/israelxss/usb-driver-forensics
[INFO] finished tweaking git repo https://github.com/israelxss/usb-driver-forensics
[INFO] tweaked toml for git repo https://github.com/israelxss/usb-driver-forensics written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/israelxss/usb-driver-forensics on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/israelxss/usb-driver-forensics already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc
[INFO] running `"docker" "start" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc"`
[INFO] running `"docker" "inspect" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.26
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling smallvec v1.16.1
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling either v1.18.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling instability v0.3.13
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling compact_str v0.8.2
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.3
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling darling_core v0.24.1
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling darling_macro v0.24.1
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling darling v0.24.1
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling ratatui v0.28.1
[INFO] [stderr]    Compiling usb_forensics_rs v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/live_detector.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Devices::DeviceAndDriverInstallation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/live_detector.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Foundation::HWND;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]    --> src/live_detector.rs:255:18
[INFO] [stdout]     |
[INFO] [stdout] 255 |     use windows::Win32::System::Registry::{RegCloseKey, RegOpenKeyExW, RegQueryValueExW, HKEY, HKEY_LOCAL_MACHINE, KEY_READ, REG_VA...
[INFO] [stdout]     |                  ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/live_detector.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::core::PCWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/registry_forensics.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::System::Registry::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/registry_forensics.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::core::PCWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/storage_analyzer.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Storage::FileSystem::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/storage_analyzer.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::System::Registry::{RegCloseKey, RegEnumValueW, RegOpenKeyExW, HKEY, HKEY_LOCAL_MACHINE, KEY_READ, REG_VALUE_TYPE};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/storage_analyzer.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::core::PCWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/live_detector.rs:131:33
[INFO] [stdout]     |
[INFO] [stdout] 131 |             ClassGuid: windows::core::GUID::zeroed(),
[INFO] [stdout]     |                                 ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/registry_forensics.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 windows::core::PWSTR(name_buf.as_mut_ptr()),
[INFO] [stdout]    |                          ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/registry_forensics.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 windows::core::PWSTR::null(),
[INFO] [stdout]    |                          ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/registry_forensics.rs:119:30
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     windows::core::PWSTR(name_buf.as_mut_ptr()),
[INFO] [stdout]     |                              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/storage_analyzer.rs:121:30
[INFO] [stdout]     |
[INFO] [stdout] 121 |                     windows::core::PWSTR(name_buf.as_mut_ptr()),
[INFO] [stdout]     |                              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]    --> src/live_detector.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             DIGCF_PRESENT | DIGCF_ALLCLASSES,
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_ALLCLASSES` in this scope
[INFO] [stdout]    --> src/live_detector.rs:121:29
[INFO] [stdout]     |
[INFO] [stdout] 121 |             DIGCF_PRESENT | DIGCF_ALLCLASSES,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/live_detector.rs:129:28
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut dev_data = SP_DEVINFO_DATA {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/live_detector.rs:130:41
[INFO] [stdout]     |
[INFO] [stdout] 130 |             cbSize: std::mem::size_of::<SP_DEVINFO_DATA>() as u32,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn scan_live_devices<SP_DEVINFO_DATA>() -> Vec<LiveUsbDevice> {
[INFO] [stdout]     |                         +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/live_detector.rs:163:77
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let friendly_name = get_device_property_string(hdev, &dev_data, SPDRP_FRIENDLYNAME);
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_DEVICEDESC` in this scope
[INFO] [stdout]    --> src/live_detector.rs:164:68
[INFO] [stdout]     |
[INFO] [stdout] 164 |             let desc = get_device_property_string(hdev, &dev_data, SPDRP_DEVICEDESC);
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_CLASS` in this scope
[INFO] [stdout]    --> src/live_detector.rs:165:73
[INFO] [stdout]     |
[INFO] [stdout] 165 |             let pnp_class = get_device_property_string(hdev, &dev_data, SPDRP_CLASS);
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_SERVICE` in this scope
[INFO] [stdout]    --> src/live_detector.rs:166:71
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let service = get_device_property_string(hdev, &dev_data, SPDRP_SERVICE);
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_LOCATION_INFORMATION` in this scope
[INFO] [stdout]    --> src/live_detector.rs:167:72
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let location = get_device_property_string(hdev, &dev_data, SPDRP_LOCATION_INFORMATION);
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_DRIVER` in this scope
[INFO] [stdout]    --> src/live_detector.rs:218:74
[INFO] [stdout]     |
[INFO] [stdout] 218 |             let driver_key = get_device_property_string(hdev, &dev_data, SPDRP_DRIVER);
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/live_detector.rs:288:44
[INFO] [stdout]     |
[INFO] [stdout] 288 | unsafe fn get_device_property_string(hdev: HDEVINFO, dev_data: &SP_DEVINFO_DATA, prop: SETUP_DI_REGISTRY_PROPERTY) -> String {
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/live_detector.rs:288:65
[INFO] [stdout]     |
[INFO] [stdout] 288 | unsafe fn get_device_property_string(hdev: HDEVINFO, dev_data: &SP_DEVINFO_DATA, prop: SETUP_DI_REGISTRY_PROPERTY) -> String {
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SETUP_DI_REGISTRY_PROPERTY` in this scope
[INFO] [stdout]    --> src/live_detector.rs:288:88
[INFO] [stdout]     |
[INFO] [stdout] 288 | unsafe fn get_device_property_string(hdev: HDEVINFO, dev_data: &SP_DEVINFO_DATA, prop: SETUP_DI_REGISTRY_PROPERTY) -> String {
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn open_reg_key(root: HKEY, subkey: &str) -> Option<HKEY> {
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:38:53
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn open_reg_key(root: HKEY, subkey: &str) -> Option<HKEY> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn open_reg_key<HKEY>(root: HKEY, subkey: &str) -> Option<HKEY> {
[INFO] [stdout]    |                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KEY_READ` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:42:65
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let res = RegOpenKeyExW(root, PCWSTR(wide.as_ptr()), 0, KEY_READ, &mut hkey);
[INFO] [stdout]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn enum_subkeys(hkey: HKEY) -> Vec<String> {
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HKEY` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn query_string_value(hkey: HKEY, value_name: &str) -> String {
[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/registry_forensics.rs:106:38
[INFO] [stdout]     |
[INFO] [stdout] 106 |     if let Some(hkey) = open_reg_key(HKEY_LOCAL_MACHINE, "SYSTEM\\MountedDevices") {
[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/registry_forensics.rs:185:38
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(hkey) = open_reg_key(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows Portable Devices\\Devices") {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope
[INFO] [stdout]    --> src/registry_forensics.rs:212:38
[INFO] [stdout]     |
[INFO] [stdout] 212 |     if let Some(hkey) = open_reg_key(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MountPoints2") {
[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/registry_forensics.rs:225:35
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let root = match open_reg_key(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Enum\\USBSTOR") {
[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/registry_forensics.rs:307:35
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let root = match open_reg_key(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Enum\\USB") {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope
[INFO] [stdout]    --> src/live_detector.rs:117:24
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let dev_info = SetupDiGetClassDevsW(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInfo` in this scope
[INFO] [stdout]    --> src/live_detector.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |             if SetupDiEnumDeviceInfo(hdev, idx, &mut dev_data).is_err() {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdW` in this scope
[INFO] [stdout]    --> src/live_detector.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let ok = SetupDiGetDeviceInstanceIdW(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope
[INFO] [stdout]    --> src/live_detector.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let _ = SetupDiDestroyDeviceInfoList(hdev);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyW` in this scope
[INFO] [stdout]    --> src/live_detector.rs:293:15
[INFO] [stdout]     |
[INFO] [stdout] 293 |     let res = SetupDiGetDeviceRegistryPropertyW(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HKEY` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut hkey = HKEY::default();
[INFO] [stdout]    |                    ^^^^ use of undeclared type `HKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let res = RegOpenKeyExW(root, PCWSTR(wide.as_ptr()), 0, KEY_READ, &mut hkey);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegEnumKeyExW` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |             let res = RegEnumKeyExW(
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `REG_VALUE_TYPE` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut data_type = REG_VALUE_TYPE(0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope
[INFO] [stdout]   --> src/registry_forensics.rs:85:19
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let res = RegQueryValueExW(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `REG_VALUE_TYPE` in this scope
[INFO] [stdout]    --> src/registry_forensics.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut val_type = REG_VALUE_TYPE(0);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegEnumValueW` in this scope
[INFO] [stdout]    --> src/registry_forensics.rs:116:27
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 let res = RegEnumValueW(
[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/registry_forensics.rs:178:26
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { let _ = RegCloseKey(hkey); }
[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/registry_forensics.rs:202:34
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 unsafe { let _ = RegCloseKey(dev_key); }
[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/registry_forensics.rs:205:26
[INFO] [stdout]     |
[INFO] [stdout] 205 |         unsafe { let _ = RegCloseKey(hkey); }
[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/registry_forensics.rs:218:26
[INFO] [stdout]     |
[INFO] [stdout] 218 |         unsafe { let _ = RegCloseKey(hkey); }
[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/registry_forensics.rs:296:30
[INFO] [stdout]     |
[INFO] [stdout] 296 |             unsafe { let _ = RegCloseKey(inst_key); }
[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/registry_forensics.rs:298:26
[INFO] [stdout]     |
[INFO] [stdout] 298 |         unsafe { let _ = RegCloseKey(dev_key); }
[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/registry_forensics.rs:300:22
[INFO] [stdout]     |
[INFO] [stdout] 300 |     unsafe { let _ = RegCloseKey(root); }
[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/registry_forensics.rs:379:30
[INFO] [stdout]     |
[INFO] [stdout] 379 |             unsafe { let _ = RegCloseKey(inst_key); }
[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/registry_forensics.rs:381:26
[INFO] [stdout]     |
[INFO] [stdout] 381 |         unsafe { let _ = RegCloseKey(dev_key); }
[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/registry_forensics.rs:383:22
[INFO] [stdout]     |
[INFO] [stdout] 383 |     unsafe { let _ = RegCloseKey(root); }
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLogicalDriveStringsW` in this scope
[INFO] [stdout]   --> src/storage_analyzer.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let len = GetLogicalDriveStringsW(Some(&mut buffer));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDriveTypeW` in this scope
[INFO] [stdout]   --> src/storage_analyzer.rs:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 let dtype = GetDriveTypeW(PCWSTR(wide_drive.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 `GetVolumeInformationW` in this scope
[INFO] [stdout]   --> src/storage_analyzer.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 let _ = GetVolumeInformationW(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDiskFreeSpaceExW` in this scope
[INFO] [stdout]   --> src/storage_analyzer.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 let _ = GetDiskFreeSpaceExW(
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `usb_forensics_rs` (lib) due to 63 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `"docker" "inspect" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc"`
[INFO] running `"docker" "rm" "-f" "97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc"`
[INFO] [stdout] 97a4d6f703ac1a12b00a3188d124282c115de5f5c25a6012f4b69571bbd9fccc
