[INFO] fetching crate comportlist 1.2.1...
[INFO] checking comportlist-1.2.1 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate comportlist 1.2.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate comportlist 1.2.1 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate comportlist 1.2.1
[INFO] finished tweaking crates.io crate comportlist 1.2.1
[INFO] tweaked toml for crates.io crate comportlist 1.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84f26bf0db370fcbc96b0a7616efcd8bc27ea07b33e4ba44eef8a1ae7c1c92c6
[INFO] running `Command { std: "docker" "start" "-a" "84f26bf0db370fcbc96b0a7616efcd8bc27ea07b33e4ba44eef8a1ae7c1c92c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84f26bf0db370fcbc96b0a7616efcd8bc27ea07b33e4ba44eef8a1ae7c1c92c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84f26bf0db370fcbc96b0a7616efcd8bc27ea07b33e4ba44eef8a1ae7c1c92c6", kill_on_drop: false }`
[INFO] [stdout] 84f26bf0db370fcbc96b0a7616efcd8bc27ea07b33e4ba44eef8a1ae7c1c92c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2ec39e0896761cd922e9adcefb59cd55401f08da47149aac1be4b22b46f0040
[INFO] running `Command { std: "docker" "start" "-a" "f2ec39e0896761cd922e9adcefb59cd55401f08da47149aac1be4b22b46f0040", 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 encoding_rs v0.8.35
[INFO] [stderr]     Checking comportlist v1.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/names.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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/names.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/names.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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/names.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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/names.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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/names.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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/names.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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/names.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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/names.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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/names.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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/names.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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/names.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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/names.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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/names.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | 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/names.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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/names.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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/names.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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/names.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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 `windows` in `os`
[INFO] [stdout]  --> src/ports.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::io::{AsRawHandle, RawHandle};
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:100:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/ports.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, HKEY};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/ports.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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 `shared` in `winapi`
[INFO] [stdout]  --> src/byserialrs/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     shared::{minwindef::DWORD, ntdef::MAKELANGID},
[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/byserialrs/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     um::{
[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/byserialrs/port_lister.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::{um::{setupapi::{SetupDiClassGuidsFromNameA, SetupDiGetClassDevsA, DIGCF_PRESENT, SP_DEVINFO_DATA, SetupDiEnumDeviceInfo, Set...
[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/byserialrs/port_lister.rs:5:407
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...AD, winreg::{RegQueryValueExA, RegCloseKey}}, shared::{minwindef::DWORD, guiddef::GUID, ntdef::ULONG}};
[INFO] [stdout]   |                                                  ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/ports.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::{   winnt, winreg};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/ports.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::io::{AsRawHandle, RawHandle};
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/std/src/os/mod.rs:100:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/ports.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{BOOL, HKEY};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shared`
[INFO] [stdout]  --> src/ports.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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 `shared` in `winapi`
[INFO] [stdout]  --> src/byserialrs/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     shared::{minwindef::DWORD, ntdef::MAKELANGID},
[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/byserialrs/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     um::{
[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/byserialrs/port_lister.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::{um::{setupapi::{SetupDiClassGuidsFromNameA, SetupDiGetClassDevsA, DIGCF_PRESENT, SP_DEVINFO_DATA, SetupDiEnumDeviceInfo, Set...
[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/byserialrs/port_lister.rs:5:407
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...AD, winreg::{RegQueryValueExA, RegCloseKey}}, shared::{minwindef::DWORD, guiddef::GUID, ntdef::ULONG}};
[INFO] [stdout]   |                                                  ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/ports.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::{   winnt, 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/names.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     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/names.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     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/names.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |         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/names.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 (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/names.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |         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] 52 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/names.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |             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/names.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 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/names.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DIREG_DEV,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]   --> src/names.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |     hdi: HDEVINFO,
[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/names.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         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 `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]   --> src/names.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub devinfo_data: SP_DEVINFO_DATA,
[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/names.rs:79:59
[INFO] [stdout]    |
[INFO] [stdout] 79 |         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 `MAX_PATH` in this scope
[INFO] [stdout]   --> src/names.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut result_buf = [0i8; MAX_PATH];
[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/names.rs:110:65
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 serial_number: {if let Some(ss) = 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/names.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 (result_buf.len() - 1) as DWORD,
[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/names.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 manufacturer: self.property(SPDRP_MFG),
[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/names.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |         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] 52 |         if res == false {
[INFO] [stdout]    |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/names.rs:122:40
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 product: self.property(SPDRP_FRIENDLYNAME),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope
[INFO] [stdout]   --> src/names.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |             self.property(SPDRP_HARDWAREID)
[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/names.rs:129:41
[INFO] [stdout]     |
[INFO] [stdout] 129 |     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 `DICS_FLAG_GLOBAL` in this scope
[INFO] [stdout]   --> src/names.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 DICS_FLAG_GLOBAL,
[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/names.rs:130:36
[INFO] [stdout]     |
[INFO] [stdout] 130 |         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/names.rs:130:52
[INFO] [stdout]     |
[INFO] [stdout] 130 |         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 `DIREG_DEV` in this scope
[INFO] [stdout]   --> src/names.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 DIREG_DEV,
[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/names.rs:137:44
[INFO] [stdout]     |
[INFO] [stdout] 137 |                 result_buf.as_mut_ptr() as PBYTE,
[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/names.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         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/names.rs:138:43
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/names.rs:79:59
[INFO] [stdout]    |
[INFO] [stdout] 79 |         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 `FALSE` in this scope
[INFO] [stdout]    --> src/names.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |         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] 142 |         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/names.rs:143:45
[INFO] [stdout]     |
[INFO] [stdout] 143 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[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/names.rs:110:65
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){
[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/names.rs:166:54
[INFO] [stdout]     |
[INFO] [stdout] 166 | 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] 166 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_MFG` in this scope
[INFO] [stdout]    --> src/names.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 manufacturer: self.property(SPDRP_MFG),
[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/names.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 168 |     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] 166 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope
[INFO] [stdout]    --> src/names.rs:122:40
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 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/names.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut num_guids: DWORD = 0;
[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/names.rs:129:41
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn property(&mut self, property_id: DWORD) -> Option<String> {
[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/names.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |         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] 166 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope
[INFO] [stdout]    --> src/names.rs:130:36
[INFO] [stdout]     |
[INFO] [stdout] 130 |         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 `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:184:32
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 guids.len() as DWORD,
[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/names.rs:130:52
[INFO] [stdout]     |
[INFO] [stdout] 130 |         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 `FALSE` in this scope
[INFO] [stdout]    --> src/names.rs:188:19
[INFO] [stdout]     |
[INFO] [stdout] 188 |         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] 188 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:208:36
[INFO] [stdout]     |
[INFO] [stdout] 208 |                     guids.len() as DWORD,
[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/names.rs:137:44
[INFO] [stdout]     |
[INFO] [stdout] 137 |                 result_buf.as_mut_ptr() as PBYTE,
[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/names.rs:212:23
[INFO] [stdout]     |
[INFO] [stdout] 212 |             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] 212 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:138:43
[INFO] [stdout]     |
[INFO] [stdout] 138 |                 (result_buf.len() - 1) as DWORD,
[INFO] [stdout]     |                                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/names.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 |     hdi: HDEVINFO,
[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/names.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |         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] 142 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |     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/names.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn new(guid: &GUID) -> Self {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope
[INFO] [stdout]    --> src/names.rs:143:45
[INFO] [stdout]     |
[INFO] [stdout] 143 |             if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER {
[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/names.rs:263:84
[INFO] [stdout]     |
[INFO] [stdout] 263 |             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[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/names.rs:166:54
[INFO] [stdout]     |
[INFO] [stdout] 166 | 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] 166 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SP_DEVINFO_DATA` in this scope
[INFO] [stdout]    --> src/names.rs:276:27
[INFO] [stdout]     |
[INFO] [stdout] 276 |             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/names.rs:277:40
[INFO] [stdout]     |
[INFO] [stdout] 277 |                 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] 268 | impl<SP_DEVINFO_DATA> Iterator for PortDevices {
[INFO] [stdout]     |     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope
[INFO] [stdout]    --> src/names.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 168 |     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] 166 | 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/names.rs:174:28
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut num_guids: DWORD = 0;
[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/names.rs:277:62
[INFO] [stdout]     |
[INFO] [stdout] 277 |                 cbSize: mem::size_of::<SP_DEVINFO_DATA>() as 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/names.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |         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] 166 | fn get_ports_guids<GUID>(serchkey:Vec<&str>) -> Option<Vec<GUID>> {
[INFO] [stdout]     |                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/names.rs:285:19
[INFO] [stdout]     |
[INFO] [stdout] 285 |         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] 285 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:184:32
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 guids.len() as DWORD,
[INFO] [stdout]     |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsString`
[INFO] [stdout]  --> src/ports.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, OsString};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/names.rs:188:19
[INFO] [stdout]     |
[INFO] [stdout] 188 |         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] 188 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IoSliceMut` and `IoSlice`
[INFO] [stdout]  --> src/ports.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{IoSlice, IoSliceMut};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/names.rs:208:36
[INFO] [stdout]     |
[INFO] [stdout] 208 |                     guids.len() as DWORD,
[INFO] [stdout]     |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]  --> src/ports.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/names.rs:212:23
[INFO] [stdout]     |
[INFO] [stdout] 212 |             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] 212 |             if res == false {
[INFO] [stdout]     |                       ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/ports.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope
[INFO] [stdout]    --> src/names.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 |     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/names.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |     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/names.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |     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/names.rs:263:84
[INFO] [stdout]     |
[INFO] [stdout] 263 |             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/names.rs:276:27
[INFO] [stdout]     |
[INFO] [stdout] 276 |             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/names.rs:277:40
[INFO] [stdout]     |
[INFO] [stdout] 277 |                 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] 268 | 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/names.rs:277:62
[INFO] [stdout]     |
[INFO] [stdout] 277 |                 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/names.rs:285:19
[INFO] [stdout]     |
[INFO] [stdout] 285 |         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] 285 |         if res == false {
[INFO] [stdout]     |                   ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OsString`
[INFO] [stdout]  --> src/ports.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, OsString};
[INFO] [stdout]   |                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IoSliceMut` and `IoSlice`
[INFO] [stdout]  --> src/ports.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{IoSlice, IoSliceMut};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]  --> src/ports.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/ports.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[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/names.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             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/names.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             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/names.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/names.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 |         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/names.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             SetupDiGetDeviceRegistryPropertyA(
[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/names.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             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/names.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             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/names.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             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/names.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 |         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/names.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |             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/names.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             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/names.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 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/names.rs:263:27
[INFO] [stdout]     |
[INFO] [stdout] 263 |             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/names.rs:284:22
[INFO] [stdout]     |
[INFO] [stdout] 284 |             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/names.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |             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 `SetupDiClassGuidsFromNameA` in this scope
[INFO] [stdout]    --> src/names.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |             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/names.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 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/names.rs:263:27
[INFO] [stdout]     |
[INFO] [stdout] 263 |             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/names.rs:284:22
[INFO] [stdout]     |
[INFO] [stdout] 284 |             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/names.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 298 |             SetupDiDestroyDeviceInfoList(self.hdi);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut cc =  available_ports();
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, 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) due to 63 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `comportlist` (lib test) due to 63 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f2ec39e0896761cd922e9adcefb59cd55401f08da47149aac1be4b22b46f0040", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2ec39e0896761cd922e9adcefb59cd55401f08da47149aac1be4b22b46f0040", kill_on_drop: false }`
[INFO] [stdout] f2ec39e0896761cd922e9adcefb59cd55401f08da47149aac1be4b22b46f0040
