[INFO] fetching crate comportlist 1.0.0...
[INFO] checking comportlist-1.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate comportlist 1.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate comportlist 1.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate comportlist 1.0.0
[INFO] finished tweaking crates.io crate comportlist 1.0.0
[INFO] tweaked toml for crates.io crate comportlist 1.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91faf44c510a92168dd2df090f104ea86f22789764e10e5c1c06325ca08f1db1
[INFO] running `Command { std: "docker" "start" "-a" "91faf44c510a92168dd2df090f104ea86f22789764e10e5c1c06325ca08f1db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91faf44c510a92168dd2df090f104ea86f22789764e10e5c1c06325ca08f1db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91faf44c510a92168dd2df090f104ea86f22789764e10e5c1c06325ca08f1db1", kill_on_drop: false }`
[INFO] [stdout] 91faf44c510a92168dd2df090f104ea86f22789764e10e5c1c06325ca08f1db1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ff0965da8fd0797ac84e1892f76fb1bae265215df032847535bcc490f396dba
[INFO] running `Command { std: "docker" "start" "-a" "4ff0965da8fd0797ac84e1892f76fb1bae265215df032847535bcc490f396dba", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking comportlist v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::guiddef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::ntdef::CHAR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::winerror::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::cguid::GUID_NULL;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::setupapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::KEY_READ;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winreg::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::guiddef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::ntdef::CHAR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::winerror::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::cguid::GUID_NULL;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::setupapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::KEY_READ;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winreg::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/lib.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hdi: HDEVINFO,
[INFO] [stdout]    |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub devinfo_data: SP_DEVINFO_DATA,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut result_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == FALSE {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/lib.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |             self.property(SPDRP_HARDWAREID)
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope
[INFO] [stdout]   --> src/lib.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DICS_FLAG_GLOBAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIREG_DEV` in this scope
[INFO] [stdout]   --> src/lib.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 DIREG_DEV,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut port_name_buffer = [0u8; MAX_PATH];
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:81:59
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut port_name_len = port_name_buffer.len() as DWORD;
[INFO] [stdout]    |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_MFG` in this scope
[INFO] [stdout]    --> src/lib.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 manufacturer: self.property(SPDRP_MFG),
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:124:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 product: self.property(SPDRP_FRIENDLYNAME),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn property(&mut self, property_id: DWORD) -> Option<String> {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:36
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:52
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope
[INFO] [stdout]    --> src/lib.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 result_buf.as_mut_ptr() as PBYTE,
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope
[INFO] [stdout]    --> src/lib.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut allguid: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut num_guids: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut guids: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 guids.len() as DWORD,
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     guids.len() as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == FALSE {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:245:10
[INFO] [stdout]     |
[INFO] [stdout] 245 |     hdi: HDEVINFO,
[INFO] [stdout]     |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     dev_idx: DWORD,
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:253:23
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn new(guid: &GUID) -> Self {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]    --> src/lib.rs:255:84
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:268:27
[INFO] [stdout]     |
[INFO] [stdout] 268 |             devinfo_data: SP_DEVINFO_DATA {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/lib.rs:269:40
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl<SP_DEVINFO_DATA> Iterator for PortDevices {
[INFO] [stdout]     |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:269:62
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:277:19
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/lib.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hdi: HDEVINFO,
[INFO] [stdout]    |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub devinfo_data: SP_DEVINFO_DATA,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut result_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == FALSE {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/lib.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |             self.property(SPDRP_HARDWAREID)
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope
[INFO] [stdout]   --> src/lib.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DICS_FLAG_GLOBAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIREG_DEV` in this scope
[INFO] [stdout]   --> src/lib.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 DIREG_DEV,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut port_name_buffer = [0u8; MAX_PATH];
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:81:59
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut port_name_len = port_name_buffer.len() as DWORD;
[INFO] [stdout]    |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_MFG` in this scope
[INFO] [stdout]    --> src/lib.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 manufacturer: self.property(SPDRP_MFG),
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:124:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 product: self.property(SPDRP_FRIENDLYNAME),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn property(&mut self, property_id: DWORD) -> Option<String> {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:36
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:52
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope
[INFO] [stdout]    --> src/lib.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 result_buf.as_mut_ptr() as PBYTE,
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope
[INFO] [stdout]    --> src/lib.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut allguid: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut num_guids: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut guids: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 guids.len() as DWORD,
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     guids.len() as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == FALSE {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:245:10
[INFO] [stdout]     |
[INFO] [stdout] 245 |     hdi: HDEVINFO,
[INFO] [stdout]     |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     dev_idx: DWORD,
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:253:23
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn new(guid: &GUID) -> Self {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]    --> src/lib.rs:255:84
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:268:27
[INFO] [stdout]     |
[INFO] [stdout] 268 |             devinfo_data: SP_DEVINFO_DATA {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/lib.rs:269:40
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl<SP_DEVINFO_DATA> Iterator for PortDevices {
[INFO] [stdout]     |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:269:62
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:277:19
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             SetupDiGetDeviceInstanceIdA(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             SetupDiGetDeviceInstanceIdA(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiOpenDevRegKey` in this scope
[INFO] [stdout]   --> src/lib.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             SetupDiOpenDevRegKey(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiOpenDevRegKey` in this scope
[INFO] [stdout]   --> src/lib.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             SetupDiOpenDevRegKey(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             RegQueryValueExA(
[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/lib.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |         unsafe { 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 `RegQueryValueExA` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             RegQueryValueExA(
[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/lib.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |         unsafe { 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 `SetupDiGetDeviceRegistryPropertyA` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             SetupDiGetDeviceRegistryPropertyA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyA` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             SetupDiGetDeviceRegistryPropertyA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope
[INFO] [stdout]    --> src/lib.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |             unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) };
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope
[INFO] [stdout]    --> src/lib.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             SetupDiDestroyDeviceInfoList(self.hdi);
[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/lib.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |             unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) };
[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/lib.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             SetupDiDestroyDeviceInfoList(self.hdi);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 55 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 55 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `comportlist` (lib test) due to 56 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `comportlist` (lib) due to 56 previous errors
[INFO] running `Command { std: "docker" "inspect" "4ff0965da8fd0797ac84e1892f76fb1bae265215df032847535bcc490f396dba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ff0965da8fd0797ac84e1892f76fb1bae265215df032847535bcc490f396dba", kill_on_drop: false }`
[INFO] [stdout] 4ff0965da8fd0797ac84e1892f76fb1bae265215df032847535bcc490f396dba
[INFO] checking comportlist-1.0.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate comportlist 1.0.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate comportlist 1.0.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate comportlist 1.0.0
[INFO] finished tweaking crates.io crate comportlist 1.0.0
[INFO] tweaked toml for crates.io crate comportlist 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f7269ce25a2145217bb354230c8a33049986a162fb089a84fa93fe310fca1f81
[INFO] running `Command { std: "docker" "start" "-a" "f7269ce25a2145217bb354230c8a33049986a162fb089a84fa93fe310fca1f81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7269ce25a2145217bb354230c8a33049986a162fb089a84fa93fe310fca1f81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7269ce25a2145217bb354230c8a33049986a162fb089a84fa93fe310fca1f81", kill_on_drop: false }`
[INFO] [stdout] f7269ce25a2145217bb354230c8a33049986a162fb089a84fa93fe310fca1f81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be841dfb45602a17adaffe29c62cb0b0565c9024858584edad37fa76c48b1855
[INFO] running `Command { std: "docker" "start" "-a" "be841dfb45602a17adaffe29c62cb0b0565c9024858584edad37fa76c48b1855", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking comportlist v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::guiddef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::ntdef::CHAR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::winerror::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::cguid::GUID_NULL;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::setupapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::KEY_READ;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winreg::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::guiddef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::ntdef::CHAR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::winerror::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::cguid::GUID_NULL;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/lib.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::setupapi::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::KEY_READ;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::winreg::*;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/lib.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hdi: HDEVINFO,
[INFO] [stdout]    |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub devinfo_data: SP_DEVINFO_DATA,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut result_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == FALSE {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/lib.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |             self.property(SPDRP_HARDWAREID)
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope
[INFO] [stdout]   --> src/lib.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DICS_FLAG_GLOBAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIREG_DEV` in this scope
[INFO] [stdout]   --> src/lib.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 DIREG_DEV,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut port_name_buffer = [0u8; MAX_PATH];
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:81:59
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut port_name_len = port_name_buffer.len() as DWORD;
[INFO] [stdout]    |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_MFG` in this scope
[INFO] [stdout]    --> src/lib.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 manufacturer: self.property(SPDRP_MFG),
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:124:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 product: self.property(SPDRP_FRIENDLYNAME),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn property(&mut self, property_id: DWORD) -> Option<String> {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:36
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:52
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope
[INFO] [stdout]    --> src/lib.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 result_buf.as_mut_ptr() as PBYTE,
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope
[INFO] [stdout]    --> src/lib.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut allguid: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut num_guids: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut guids: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 guids.len() as DWORD,
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     guids.len() as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == FALSE {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:245:10
[INFO] [stdout]     |
[INFO] [stdout] 245 |     hdi: HDEVINFO,
[INFO] [stdout]     |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     dev_idx: DWORD,
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:253:23
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn new(guid: &GUID) -> Self {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]    --> src/lib.rs:255:84
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:268:27
[INFO] [stdout]     |
[INFO] [stdout] 268 |             devinfo_data: SP_DEVINFO_DATA {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/lib.rs:269:40
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl<SP_DEVINFO_DATA> Iterator for PortDevices {
[INFO] [stdout]     |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:269:62
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:277:19
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/lib.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hdi: HDEVINFO,
[INFO] [stdout]    |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub devinfo_data: SP_DEVINFO_DATA,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut result_buf = [0i8; MAX_PATH];
[INFO] [stdout]    |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == FALSE {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]    |
[INFO] [stdout] 54 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/lib.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |             self.property(SPDRP_HARDWAREID)
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope
[INFO] [stdout]   --> src/lib.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DICS_FLAG_GLOBAL,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIREG_DEV` in this scope
[INFO] [stdout]   --> src/lib.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 DIREG_DEV,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]   --> src/lib.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut port_name_buffer = [0u8; MAX_PATH];
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:81:59
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut port_name_len = port_name_buffer.len() as DWORD;
[INFO] [stdout]    |                                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_MFG` in this scope
[INFO] [stdout]    --> src/lib.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 manufacturer: self.property(SPDRP_MFG),
[INFO] [stdout]     |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/lib.rs:124:40
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 product: self.property(SPDRP_FRIENDLYNAME),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:131:41
[INFO] [stdout]     |
[INFO] [stdout] 131 |     fn property(&mut self, property_id: DWORD) -> Option<String> {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:36
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/lib.rs:132:52
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH];
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PBYTE` in this scope
[INFO] [stdout]    --> src/lib.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 result_buf.as_mut_ptr() as PBYTE,
[INFO] [stdout]     |                                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:140:43
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 144 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope
[INFO] [stdout]    --> src/lib.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:159:54
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:161:26
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut allguid: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let mut num_guids: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut guids: Vec<GUID> = Vec::new();
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 guids.len() as DWORD,
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:181:19
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 181 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     guids.len() as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == FALSE {
[INFO] [stdout]     |                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 205 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:245:10
[INFO] [stdout]     |
[INFO] [stdout] 245 |     hdi: HDEVINFO,
[INFO] [stdout]     |          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |     dev_idx: DWORD,
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/lib.rs:253:23
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn new(guid: &GUID) -> Self {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope
[INFO] [stdout]    --> src/lib.rs:255:84
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[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/lib.rs:268:27
[INFO] [stdout]     |
[INFO] [stdout] 268 |             devinfo_data: SP_DEVINFO_DATA {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/lib.rs:269:40
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl<SP_DEVINFO_DATA> Iterator for PortDevices {
[INFO] [stdout]     |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:269:62
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as DWORD,
[INFO] [stdout]     |                                                              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/lib.rs:277:19
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == FALSE {
[INFO] [stdout]     |                   ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 277 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             SetupDiGetDeviceInstanceIdA(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiOpenDevRegKey` in this scope
[INFO] [stdout]   --> src/lib.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             SetupDiOpenDevRegKey(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             SetupDiGetDeviceInstanceIdA(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             RegQueryValueExA(
[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/lib.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |         unsafe { 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 `SetupDiOpenDevRegKey` in this scope
[INFO] [stdout]   --> src/lib.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             SetupDiOpenDevRegKey(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope
[INFO] [stdout]   --> src/lib.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             RegQueryValueExA(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyA` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             SetupDiGetDeviceRegistryPropertyA(
[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/lib.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |         unsafe { 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 `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyA` in this scope
[INFO] [stdout]    --> src/lib.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             SetupDiGetDeviceRegistryPropertyA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             SetupDiClassGuidsFromNameA(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope
[INFO] [stdout]    --> src/lib.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/lib.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 SetupDiClassGuidsFromNameA(
[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/lib.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |             unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) };
[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/lib.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             SetupDiDestroyDeviceInfoList(self.hdi);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope
[INFO] [stdout]    --> src/lib.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |             hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) },
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 55 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInfo` in this scope
[INFO] [stdout]    --> src/lib.rs:276:22
[INFO] [stdout]     |
[INFO] [stdout] 276 |             unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) };
[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/lib.rs:290:13
[INFO] [stdout]     |
[INFO] [stdout] 290 |             SetupDiDestroyDeviceInfoList(self.hdi);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `comportlist` (lib) due to 56 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 55 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `comportlist` (lib test) due to 56 previous errors
[INFO] running `Command { std: "docker" "inspect" "be841dfb45602a17adaffe29c62cb0b0565c9024858584edad37fa76c48b1855", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be841dfb45602a17adaffe29c62cb0b0565c9024858584edad37fa76c48b1855", kill_on_drop: false }`
[INFO] [stdout] be841dfb45602a17adaffe29c62cb0b0565c9024858584edad37fa76c48b1855
