[INFO] fetching crate hid_list 0.1.2... [INFO] checking hid_list-0.1.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hid_list 0.1.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate hid_list 0.1.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hid_list 0.1.2 [INFO] finished tweaking crates.io crate hid_list 0.1.2 [INFO] tweaked toml for crates.io crate hid_list 0.1.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate hid_list 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95d12a36706449da21d248f290413ee1a1c50f9202f94bbd12e34c2fc6c82827 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95d12a36706449da21d248f290413ee1a1c50f9202f94bbd12e34c2fc6c82827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95d12a36706449da21d248f290413ee1a1c50f9202f94bbd12e34c2fc6c82827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d12a36706449da21d248f290413ee1a1c50f9202f94bbd12e34c2fc6c82827", kill_on_drop: false }` [INFO] [stdout] 95d12a36706449da21d248f290413ee1a1c50f9202f94bbd12e34c2fc6c82827 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51955b42373ffff379f72fb741c9c86f6f4195505d12198992df2af76de55812 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51955b42373ffff379f72fb741c9c86f6f4195505d12198992df2af76de55812", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking hid_list v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hid.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/hid.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SP_DEVICE_INTERFACE_DATA` [INFO] [stdout] --> src/hid.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | let mut device_interface_data = SP_DEVICE_INTERFACE_DATA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SP_DEVICE_INTERFACE_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SP_DEVINFO_DATA` [INFO] [stdout] --> src/hid.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let mut devinfo_data = SP_DEVINFO_DATA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SP_DEVINFO_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hid.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::{ [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/hid.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HIDD_ATTRIBUTES` [INFO] [stdout] --> src/hid.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | let mut attrib = HIDD_ATTRIBUTES::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HIDD_ATTRIBUTES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope [INFO] [stdout] --> src/hid.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | SetupDiGetClassDevsA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope [INFO] [stdout] --> src/hid.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | &mut GUID_DEVINTERFACE_HID, [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/hid.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | DIGCF_PRESENT | DIGCF_DEVICEINTERFACE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIGCF_DEVICEINTERFACE` in this scope [INFO] [stdout] --> src/hid.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | DIGCF_PRESENT | DIGCF_DEVICEINTERFACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope [INFO] [stdout] --> src/hid.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | device_interface_data.cbSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInterfaces` in this scope [INFO] [stdout] --> src/hid.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | SetupDiEnumDeviceInterfaces( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope [INFO] [stdout] --> src/hid.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | &mut GUID_DEVINTERFACE_HID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailA` in this scope [INFO] [stdout] --> src/hid.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | SetupDiGetDeviceInterfaceDetailA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_A` in this scope [INFO] [stdout] --> src/hid.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | libc::malloc(required_size as usize) as *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_A` in this scope [INFO] [stdout] --> src/hid.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 85 | size_of::() as u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailA` in this scope [INFO] [stdout] --> src/hid.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | SetupDiGetDeviceInterfaceDetailA( [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/hid.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | devinfo_data.cbSize = size_of::() as u32; [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/hid.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let res = unsafe { SetupDiEnumDeviceInfo(device_info_set, index, &mut 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 `SetupDiGetDeviceRegistryPropertyA` in this scope [INFO] [stdout] --> src/hid.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | SetupDiGetDeviceRegistryPropertyA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPDRP_CLASS` in this scope [INFO] [stdout] --> src/hid.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | SPDRP_CLASS, [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/hid.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | SetupDiGetDeviceRegistryPropertyA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPDRP_DRIVER` in this scope [INFO] [stdout] --> src/hid.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | SPDRP_DRIVER, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/hid.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/hid.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/hid.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/hid.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> src/hid.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/hid.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | if write_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope [INFO] [stdout] --> src/hid.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 165 | attrib.Size = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetAttributes` in this scope [INFO] [stdout] --> src/hid.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { HidD_GetAttributes(write_handle, &mut attrib) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope [INFO] [stdout] --> src/hid.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | let res = unsafe { HidD_GetPreparsedData(write_handle, pp_data.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope [INFO] [stdout] --> src/hid.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 178 | let nt_res = unsafe { HidP_GetCaps(pp_data, caps.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope [INFO] [stdout] --> src/hid.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | if nt_res == HIDP_STATUS_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_FreePreparsedData` in this scope [INFO] [stdout] --> src/hid.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { HidD_FreePreparsedData(pp_data) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetSerialNumberString` in this scope [INFO] [stdout] --> src/hid.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | HidD_GetSerialNumberString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetManufacturerString` in this scope [INFO] [stdout] --> src/hid.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | HidD_GetManufacturerString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetProductString` in this scope [INFO] [stdout] --> src/hid.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | HidD_GetProductString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SP_DEVICE_INTERFACE_DATA` [INFO] [stdout] --> src/hid.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | let mut device_interface_data = SP_DEVICE_INTERFACE_DATA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SP_DEVICE_INTERFACE_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SP_DEVINFO_DATA` [INFO] [stdout] --> src/hid.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let mut devinfo_data = SP_DEVINFO_DATA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SP_DEVINFO_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HIDD_ATTRIBUTES` [INFO] [stdout] --> src/hid.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | let mut attrib = HIDD_ATTRIBUTES::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HIDD_ATTRIBUTES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope [INFO] [stdout] --> src/hid.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | SetupDiGetClassDevsA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope [INFO] [stdout] --> src/hid.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | &mut GUID_DEVINTERFACE_HID, [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/hid.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | DIGCF_PRESENT | DIGCF_DEVICEINTERFACE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIGCF_DEVICEINTERFACE` in this scope [INFO] [stdout] --> src/hid.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | DIGCF_PRESENT | DIGCF_DEVICEINTERFACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DATA` in this scope [INFO] [stdout] --> src/hid.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | device_interface_data.cbSize = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInterfaces` in this scope [INFO] [stdout] --> src/hid.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | SetupDiEnumDeviceInterfaces( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GUID_DEVINTERFACE_HID` in this scope [INFO] [stdout] --> src/hid.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | &mut GUID_DEVINTERFACE_HID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailA` in this scope [INFO] [stdout] --> src/hid.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | SetupDiGetDeviceInterfaceDetailA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_A` in this scope [INFO] [stdout] --> src/hid.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | libc::malloc(required_size as usize) as *mut SP_DEVICE_INTERFACE_DETAIL_DATA_A [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVICE_INTERFACE_DETAIL_DATA_A` in this scope [INFO] [stdout] --> src/hid.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 85 | size_of::() as u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInterfaceDetailA` in this scope [INFO] [stdout] --> src/hid.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | SetupDiGetDeviceInterfaceDetailA( [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/hid.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | devinfo_data.cbSize = size_of::() as u32; [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/hid.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | let res = unsafe { SetupDiEnumDeviceInfo(device_info_set, index, &mut 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 `SetupDiGetDeviceRegistryPropertyA` in this scope [INFO] [stdout] --> src/hid.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | SetupDiGetDeviceRegistryPropertyA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPDRP_CLASS` in this scope [INFO] [stdout] --> src/hid.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | SPDRP_CLASS, [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/hid.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | SetupDiGetDeviceRegistryPropertyA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPDRP_DRIVER` in this scope [INFO] [stdout] --> src/hid.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | SPDRP_DRIVER, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/hid.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/hid.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/hid.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/hid.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> src/hid.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/hid.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | if write_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDD_ATTRIBUTES` in this scope [INFO] [stdout] --> src/hid.rs:165:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_hid_device_info_list() -> Vec { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 165 | attrib.Size = size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetAttributes` in this scope [INFO] [stdout] --> src/hid.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { HidD_GetAttributes(write_handle, &mut attrib) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetPreparsedData` in this scope [INFO] [stdout] --> src/hid.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | let res = unsafe { HidD_GetPreparsedData(write_handle, pp_data.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidP_GetCaps` in this scope [INFO] [stdout] --> src/hid.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 178 | let nt_res = unsafe { HidP_GetCaps(pp_data, caps.as_mut_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIDP_STATUS_SUCCESS` in this scope [INFO] [stdout] --> src/hid.rs:179:26 [INFO] [stdout] | [INFO] [stdout] 179 | if nt_res == HIDP_STATUS_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_FreePreparsedData` in this scope [INFO] [stdout] --> src/hid.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe { HidD_FreePreparsedData(pp_data) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetSerialNumberString` in this scope [INFO] [stdout] --> src/hid.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | HidD_GetSerialNumberString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetManufacturerString` in this scope [INFO] [stdout] --> src/hid.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | HidD_GetManufacturerString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HidD_GetProductString` in this scope [INFO] [stdout] --> src/hid.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | HidD_GetProductString( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hid_list` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51955b42373ffff379f72fb741c9c86f6f4195505d12198992df2af76de55812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51955b42373ffff379f72fb741c9c86f6f4195505d12198992df2af76de55812", kill_on_drop: false }` [INFO] [stdout] 51955b42373ffff379f72fb741c9c86f6f4195505d12198992df2af76de55812