[INFO] cloning repository https://github.com/swingbozo/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swingbozo/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswingbozo%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswingbozo%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d70f4b01764a64f1b56ef52f991bc06ddd645381 [INFO] checking swingbozo/hello-rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswingbozo%2Fhello-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swingbozo/hello-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swingbozo/hello-rust [INFO] finished tweaking git repo https://github.com/swingbozo/hello-rust [INFO] tweaked toml for git repo https://github.com/swingbozo/hello-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/swingbozo/hello-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a0ed24f70ba654e4e4ba8fede281a1ea3fc92c88edd9332713fbbfd7caac881 [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" "2a0ed24f70ba654e4e4ba8fede281a1ea3fc92c88edd9332713fbbfd7caac881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a0ed24f70ba654e4e4ba8fede281a1ea3fc92c88edd9332713fbbfd7caac881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0ed24f70ba654e4e4ba8fede281a1ea3fc92c88edd9332713fbbfd7caac881", kill_on_drop: false }` [INFO] [stdout] 2a0ed24f70ba654e4e4ba8fede281a1ea3fc92c88edd9332713fbbfd7caac881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1bbaaf52fc09fcf251685810e38b2acbc0de33bc8f02e67a8c18e912b35ac495 [INFO] running `Command { std: "docker" "start" "-a" "1bbaaf52fc09fcf251685810e38b2acbc0de33bc8f02e67a8c18e912b35ac495", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | 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/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::um::{ [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/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [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/main.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | const SDRP_DEVICEDESC:DWORD = 0x00000000; [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/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | const SDRP_MFG:DWORD = 0x0000000B; [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/main.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | const SDRP_PHYSICAL_DEVICE_OBJECT_NAME:DWORD = 0x0000000E; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | fn has_usb_parent(h_dev_inst:DEVINST) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let mut dev_curr:DEVINST = h_dev_inst; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let mut dev_parent:DEVINST = 0; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_IDW` in this scope [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | if CM_Get_Device_IDW(dev_curr, buffer.as_mut_ptr(), 255, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stdout] --> src/main.rs:154:70 [INFO] [stdout] | [INFO] [stdout] 154 | if CM_Get_Device_IDW(dev_curr, buffer.as_mut_ptr(), 255, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Parent` in this scope [INFO] [stdout] --> src/main.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | if CM_Get_Parent(&mut dev_parent, dev_curr, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stdout] --> src/main.rs:166:57 [INFO] [stdout] | [INFO] [stdout] 166 | if CM_Get_Parent(&mut dev_parent, dev_curr, 0) != CR_SUCCESS { [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/main.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | hdev_info:HDEVINFO, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | pdev_info_data:PSP_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/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | property:DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | let b_valid:BOOL; [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/main.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let last_error: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/main.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | let mut returned_length: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/main.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | let buf_len_in_bytes:DWORD = 255 * size_of::() 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/main.rs:197:60 [INFO] [stdout] | [INFO] [stdout] 197 | let buf_len_in_bytes:DWORD = 255 * size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyW` in this scope [INFO] [stdout] --> src/main.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | b_valid = SetupDiGetDeviceRegistryPropertyW( [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/main.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | buffer.as_mut_ptr() as PBYTE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | if b_valid == TRUE && returned_length != 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/main.rs:212:63 [INFO] [stdout] | [INFO] [stdout] 212 | returned_length = returned_length / size_of::() 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/main.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:224:54 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | let b_valid:BOOL; [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/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let lasterror: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/main.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | let mut n_size:DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdW` in this scope [INFO] [stdout] --> src/main.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | b_valid = SetupDiGetDeviceInstanceIdW(hdev_info, pdev_info_data, buffer.as_mut_ptr(), buffer.len() as DWORD, &mut n_size); [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/main.rs:240:107 [INFO] [stdout] | [INFO] [stdout] 240 | b_valid = SetupDiGetDeviceInstanceIdW(hdev_info, pdev_info_data, buffer.as_mut_ptr(), buffer.len() as DWORD, &mut n_size); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | lasterror = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | if b_valid == TRUE { [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/main.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let hdev_info_set:HDEVINFO; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | let mut b_valid:BOOL; [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/main.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let mut lasterror:DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | hdev_info_set = SetupDiGetClassDevsW( [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/main.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | DIGCF_DEVICEINTERFACE | DIGCF_PRESENT [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/main.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | DIGCF_DEVICEINTERFACE | 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 `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | lasterror = GetLastError(); [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/main.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | let mut device_info_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/main.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 254 | fn do_stuff() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 284 | cbSize:size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | ClassGuid:GUID{Data1:0,Data2:0,Data3:0,Data4:[0,0,0,0,0,0,0,0]}, [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/main.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | b_valid = SetupDiEnumDeviceInfo(hdev_info_set, icurrdev, &mut device_info_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | lasterror = GetLastError(); [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/main.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | if b_valid == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NO_MORE_ITEMS` in this scope [INFO] [stdout] --> src/main.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | if lasterror != ERROR_NO_MORE_ITEMS { [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/main.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | if hdev_info_set != INVALID_HANDLE_VALUE { [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/main.rs:397:7 [INFO] [stdout] | [INFO] [stdout] 397 | SetupDiDestroyDeviceInfoList(hdev_info_set); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | 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/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | 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/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use winapi::um::{ [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/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rust` [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[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | const GUID_DEVINTERFACE_HID:GUID = GUID { [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/main.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | const SDRP_DEVICEDESC:DWORD = 0x00000000; [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/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | const SDRP_MFG:DWORD = 0x0000000B; [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/main.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | const SDRP_PHYSICAL_DEVICE_OBJECT_NAME:DWORD = 0x0000000E; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | fn has_usb_parent(h_dev_inst:DEVINST) -> bool { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let mut dev_curr:DEVINST = h_dev_inst; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEVINST` in this scope [INFO] [stdout] --> src/main.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let mut dev_parent:DEVINST = 0; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Device_IDW` in this scope [INFO] [stdout] --> src/main.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | if CM_Get_Device_IDW(dev_curr, buffer.as_mut_ptr(), 255, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stdout] --> src/main.rs:154:70 [INFO] [stdout] | [INFO] [stdout] 154 | if CM_Get_Device_IDW(dev_curr, buffer.as_mut_ptr(), 255, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_Parent` in this scope [INFO] [stdout] --> src/main.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | if CM_Get_Parent(&mut dev_parent, dev_curr, 0) != CR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CR_SUCCESS` in this scope [INFO] [stdout] --> src/main.rs:166:57 [INFO] [stdout] | [INFO] [stdout] 166 | if CM_Get_Parent(&mut dev_parent, dev_curr, 0) != CR_SUCCESS { [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/main.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | hdev_info:HDEVINFO, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | pdev_info_data:PSP_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/main.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | property:DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | let b_valid:BOOL; [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/main.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let last_error: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/main.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | let mut returned_length: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/main.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | let buf_len_in_bytes:DWORD = 255 * size_of::() 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/main.rs:197:60 [INFO] [stdout] | [INFO] [stdout] 197 | let buf_len_in_bytes:DWORD = 255 * size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyW` in this scope [INFO] [stdout] --> src/main.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 199 | b_valid = SetupDiGetDeviceRegistryPropertyW( [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/main.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | buffer.as_mut_ptr() as PBYTE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | last_error = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | if b_valid == TRUE && returned_length != 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/main.rs:212:63 [INFO] [stdout] | [INFO] [stdout] 212 | returned_length = returned_length / size_of::() 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/main.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:224:54 [INFO] [stdout] | [INFO] [stdout] 224 | fn print_dev_info(hdev_info:HDEVINFO, pdev_info_data:PSP_DEVINFO_DATA) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | let b_valid:BOOL; [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/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let lasterror: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/main.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | let mut n_size:DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdW` in this scope [INFO] [stdout] --> src/main.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | b_valid = SetupDiGetDeviceInstanceIdW(hdev_info, pdev_info_data, buffer.as_mut_ptr(), buffer.len() as DWORD, &mut n_size); [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/main.rs:240:107 [INFO] [stdout] | [INFO] [stdout] 240 | b_valid = SetupDiGetDeviceInstanceIdW(hdev_info, pdev_info_data, buffer.as_mut_ptr(), buffer.len() as DWORD, &mut n_size); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | lasterror = GetLastError(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/main.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | if b_valid == TRUE { [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/main.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let hdev_info_set:HDEVINFO; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | let mut b_valid:BOOL; [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/main.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | let mut lasterror:DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope [INFO] [stdout] --> src/main.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | hdev_info_set = SetupDiGetClassDevsW( [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/main.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | DIGCF_DEVICEINTERFACE | DIGCF_PRESENT [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/main.rs:265:31 [INFO] [stdout] | [INFO] [stdout] 265 | DIGCF_DEVICEINTERFACE | 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 `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | lasterror = GetLastError(); [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/main.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | let mut device_info_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/main.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 254 | fn do_stuff() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 284 | cbSize:size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | ClassGuid:GUID{Data1:0,Data2:0,Data3:0,Data4:[0,0,0,0,0,0,0,0]}, [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/main.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | b_valid = SetupDiEnumDeviceInfo(hdev_info_set, icurrdev, &mut device_info_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | lasterror = GetLastError(); [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/main.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | if b_valid == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NO_MORE_ITEMS` in this scope [INFO] [stdout] --> src/main.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | if lasterror != ERROR_NO_MORE_ITEMS { [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/main.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | if hdev_info_set != INVALID_HANDLE_VALUE { [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/main.rs:397:7 [INFO] [stdout] | [INFO] [stdout] 397 | SetupDiDestroyDeviceInfoList(hdev_info_set); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1bbaaf52fc09fcf251685810e38b2acbc0de33bc8f02e67a8c18e912b35ac495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bbaaf52fc09fcf251685810e38b2acbc0de33bc8f02e67a8c18e912b35ac495", kill_on_drop: false }` [INFO] [stdout] 1bbaaf52fc09fcf251685810e38b2acbc0de33bc8f02e67a8c18e912b35ac495