[INFO] cloning repository https://github.com/MDZZDYXCMDZZDYXC/comportlist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MDZZDYXCMDZZDYXC/comportlist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDZZDYXCMDZZDYXC%2Fcomportlist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDZZDYXCMDZZDYXC%2Fcomportlist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27c37b1bda4603a3572a8292e2c7242e077c00e3 [INFO] checking MDZZDYXCMDZZDYXC/comportlist against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMDZZDYXCMDZZDYXC%2Fcomportlist" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MDZZDYXCMDZZDYXC/comportlist on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MDZZDYXCMDZZDYXC/comportlist [INFO] finished tweaking git repo https://github.com/MDZZDYXCMDZZDYXC/comportlist [INFO] tweaked toml for git repo https://github.com/MDZZDYXCMDZZDYXC/comportlist written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MDZZDYXCMDZZDYXC/comportlist already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ac4cdf6b68da22db6d76bbd56aed3bdb780c495daa0133623ed995f3418eb55 [INFO] running `Command { std: "docker" "start" "-a" "2ac4cdf6b68da22db6d76bbd56aed3bdb780c495daa0133623ed995f3418eb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ac4cdf6b68da22db6d76bbd56aed3bdb780c495daa0133623ed995f3418eb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac4cdf6b68da22db6d76bbd56aed3bdb780c495daa0133623ed995f3418eb55", kill_on_drop: false }` [INFO] [stdout] 2ac4cdf6b68da22db6d76bbd56aed3bdb780c495daa0133623ed995f3418eb55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77ef28e5c147825e18abe5d4c6ea1b161ac573bf60f347eaa3f011790e6071f0 [INFO] running `Command { std: "docker" "start" "-a" "77ef28e5c147825e18abe5d4c6ea1b161ac573bf60f347eaa3f011790e6071f0", 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 v0.1.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: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 `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: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: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: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: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 `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:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | 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:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | 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:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | 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:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | (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:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 73 | 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:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | 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:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | DICS_FLAG_GLOBAL, [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/lib.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | hdi: HDEVINFO, [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:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | 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:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | 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/lib.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | 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/lib.rs:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | 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/lib.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | 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/lib.rs:131:65 [INFO] [stdout] | [INFO] [stdout] 131 | 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/lib.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | (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/lib.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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/lib.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 73 | if res == false { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope [INFO] [stdout] --> src/lib.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | 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/lib.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | 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/lib.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | fn property(&mut self, property_id: DWORD) -> Option { [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:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | 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/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | 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:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | 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 `DIREG_DEV` in this scope [INFO] [stdout] --> src/lib.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | DIREG_DEV, [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:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | (result_buf.len() - 1) 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/lib.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:59 [INFO] [stdout] | [INFO] [stdout] 100 | 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/lib.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | 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] 163 | 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:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | 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/lib.rs:131:65 [INFO] [stdout] | [INFO] [stdout] 131 | 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:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | product: 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/lib.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | fn property(&mut self, property_id: DWORD) -> Option { [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:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | let mut allguid: Vec = 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] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | 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/lib.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | let mut num_guids: DWORD = 0; [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:151:52 [INFO] [stdout] | [INFO] [stdout] 151 | 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:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | 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 `GUID` in this scope [INFO] [stdout] --> src/lib.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | let mut guids: Vec = 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] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | (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/lib.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | 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:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | 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] 163 | if res == false { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER { [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:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | guids.len() 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/lib.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 224 | 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:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | hdi: HDEVINFO, [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:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | let mut allguid: Vec = 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] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | 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:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn new(guid: &GUID) -> Self { [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:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | let mut num_guids: DWORD = 0; [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:274:84 [INFO] [stdout] | [INFO] [stdout] 274 | 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:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | devinfo_data: SP_DEVINFO_DATA { [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:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | let mut guids: Vec = 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] 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | guids.len() as DWORD, [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:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | cbSize: mem::size_of::() 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] 279 | impl 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:288:62 [INFO] [stdout] | [INFO] [stdout] 288 | cbSize: mem::size_of::() 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:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | 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:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | 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] 296 | if res == false { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 224 | 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:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | 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:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | 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:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | 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:274:84 [INFO] [stdout] | [INFO] [stdout] 274 | 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:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | 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:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | cbSize: mem::size_of::() 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] 279 | impl 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:288:62 [INFO] [stdout] | [INFO] [stdout] 288 | cbSize: mem::size_of::() 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:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | 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] 296 | 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:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | 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:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | 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:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | 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:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | 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:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | 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:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | 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:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | 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:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | 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:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | 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:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | 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:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | 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:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | 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:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | 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:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | 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 `SetupDiGetClassDevsA` in this scope [INFO] [stdout] --> src/lib.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | 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:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | 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 `SetupDiEnumDeviceInfo` in this scope [INFO] [stdout] --> src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | 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:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | 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 `SetupDiDestroyDeviceInfoList` in this scope [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | SetupDiDestroyDeviceInfoList(self.hdi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] 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) due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `comportlist` (lib test) due to 55 previous errors [INFO] running `Command { std: "docker" "inspect" "77ef28e5c147825e18abe5d4c6ea1b161ac573bf60f347eaa3f011790e6071f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ef28e5c147825e18abe5d4c6ea1b161ac573bf60f347eaa3f011790e6071f0", kill_on_drop: false }` [INFO] [stdout] 77ef28e5c147825e18abe5d4c6ea1b161ac573bf60f347eaa3f011790e6071f0