[INFO] fetching crate wfd 0.1.6... [INFO] checking wfd-0.1.6 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate wfd 0.1.6 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate wfd 0.1.6 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wfd 0.1.6 [INFO] finished tweaking crates.io crate wfd 0.1.6 [INFO] tweaked toml for crates.io crate wfd 0.1.6 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate wfd 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] 2778f00b0fe1badc179e6dd752035bf429c7fdaef5f6d3fbda296f7bde1dc44d [INFO] running `Command { std: "docker" "start" "-a" "2778f00b0fe1badc179e6dd752035bf429c7fdaef5f6d3fbda296f7bde1dc44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2778f00b0fe1badc179e6dd752035bf429c7fdaef5f6d3fbda296f7bde1dc44d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2778f00b0fe1badc179e6dd752035bf429c7fdaef5f6d3fbda296f7bde1dc44d", kill_on_drop: false }` [INFO] [stdout] 2778f00b0fe1badc179e6dd752035bf429c7fdaef5f6d3fbda296f7bde1dc44d [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 853dbbb2e872e5a5cf26866c353a3ad9c71b4bdbc54b76b2584e142a6994e0d5 [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" "853dbbb2e872e5a5cf26866c353a3ad9c71b4bdbc54b76b2584e142a6994e0d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking wfd v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::winapi::Interface` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | 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/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um:: { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub use winapi::um::shobjidl::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileOpenDialog` [INFO] [stdout] --> src/lib.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | &IFileOpenDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileSaveDialog` [INFO] [stdout] --> src/lib.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | &IFileSaveDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileSaveDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:337:70 [INFO] [stdout] | [INFO] [stdout] 337 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::winapi::Interface` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:405:70 [INFO] [stdout] | [INFO] [stdout] 405 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um:: { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | pub use winapi::um::shobjidl::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:417:70 [INFO] [stdout] | [INFO] [stdout] 417 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/lib.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | com!(CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/lib.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/lib.rs:208:40 [INFO] [stdout] | [INFO] [stdout] 208 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:212:36 [INFO] [stdout] | [INFO] [stdout] 212 | let mut file_open_dialog: *mut IFileOpenDialog = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/lib.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | com!(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | &CLSID_FileOpenDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/lib.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | &mut file_open_dialog as *mut *mut IFileOpenDialog as *mut *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItemArray` in this scope [INFO] [stdout] --> src/lib.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | let mut shell_item_array: *mut IShellItemArray = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let mut shell_item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SFGAOF` in this scope [INFO] [stdout] --> src/lib.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | let mut attribs: SFGAOF = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/lib.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | com!(CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/lib.rs:316:40 [INFO] [stdout] | [INFO] [stdout] 316 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | let mut file_save_dialog: *mut IFileSaveDialog; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/lib.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | com!(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | &CLSID_FileSaveDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/lib.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:328:48 [INFO] [stdout] | [INFO] [stdout] 328 | &mut file_save_dialog as *mut *mut IFileSaveDialog as *mut *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | let mut item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:337:115 [INFO] [stdout] | [INFO] [stdout] 337 | ...(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | let mut shell_item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | fn show_dialog(file_dialog: &IFileDialog) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 394 | fn configure_file_dialog(file_dialog: &IFileDialog, params: &DialogParams) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let mut default_folder: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:405:125 [INFO] [stdout] | [INFO] [stdout] 405 | ...lItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:415:30 [INFO] [stdout] | [INFO] [stdout] 415 | let mut folder: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:417:117 [INFO] [stdout] | [INFO] [stdout] 417 | ..., &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COMDLG_FILTERSPEC` in this scope [INFO] [stdout] --> src/lib.rs:485:18 [INFO] [stdout] | [INFO] [stdout] 485 | .map(|x| COMDLG_FILTERSPEC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COMDLG_FILTERSPEC` in this scope [INFO] [stdout] --> src/lib.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 470 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 489 | .collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:497:38 [INFO] [stdout] | [INFO] [stdout] 497 | fn get_file_type_index(file_dialog: &IFileDialog) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_shell_item_display_name(shell_item: &IShellItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:505:27 [INFO] [stdout] | [INFO] [stdout] 505 | let mut display_name: LPWSTR = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stdout] --> src/lib.rs:507:36 [INFO] [stdout] | [INFO] [stdout] 507 | com!(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name), "IShellItem::GetDisplayName")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/lib.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { CoTaskMemFree(display_name as LPVOID) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:512:44 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { CoTaskMemFree(display_name as LPVOID) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 521 | F: FnMut() -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/lib.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | if !SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileOpenDialog` [INFO] [stdout] --> src/lib.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | &IFileOpenDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileSaveDialog` [INFO] [stdout] --> src/lib.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | &IFileSaveDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileSaveDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:337:70 [INFO] [stdout] | [INFO] [stdout] 337 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:405:70 [INFO] [stdout] | [INFO] [stdout] 405 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IShellItem` [INFO] [stdout] --> src/lib.rs:417:70 [INFO] [stdout] | [INFO] [stdout] 417 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IShellItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/lib.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | com!(CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/lib.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/lib.rs:208:40 [INFO] [stdout] | [INFO] [stdout] 208 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:212:36 [INFO] [stdout] | [INFO] [stdout] 212 | let mut file_open_dialog: *mut IFileOpenDialog = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/lib.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | com!(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | &CLSID_FileOpenDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/lib.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileOpenDialog` in this scope [INFO] [stdout] --> src/lib.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | &mut file_open_dialog as *mut *mut IFileOpenDialog as *mut *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItemArray` in this scope [INFO] [stdout] --> src/lib.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | let mut shell_item_array: *mut IShellItemArray = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let mut shell_item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SFGAOF` in this scope [INFO] [stdout] --> src/lib.rs:246:26 [INFO] [stdout] | [INFO] [stdout] 246 | let mut attribs: SFGAOF = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/lib.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | com!(CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/lib.rs:316:40 [INFO] [stdout] | [INFO] [stdout] 316 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:321:36 [INFO] [stdout] | [INFO] [stdout] 321 | let mut file_save_dialog: *mut IFileSaveDialog; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/lib.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | com!(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_FileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | &CLSID_FileSaveDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/lib.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileSaveDialog` in this scope [INFO] [stdout] --> src/lib.rs:328:48 [INFO] [stdout] | [INFO] [stdout] 328 | &mut file_save_dialog as *mut *mut IFileSaveDialog as *mut *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | let mut item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:337:115 [INFO] [stdout] | [INFO] [stdout] 337 | ...(), &IShellItem::uuidof(), &mut item as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | let mut shell_item: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | fn show_dialog(file_dialog: &IFileDialog) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 394 | fn configure_file_dialog(file_dialog: &IFileDialog, params: &DialogParams) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 403 | let mut default_folder: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:405:14 [INFO] [stdout] | [INFO] [stdout] 405 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:405:125 [INFO] [stdout] | [INFO] [stdout] 405 | ...lItem::uuidof(), &mut default_folder as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:415:30 [INFO] [stdout] | [INFO] [stdout] 415 | let mut folder: *mut IShellItem = null_mut(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SHCreateItemFromParsingName` in this scope [INFO] [stdout] --> src/lib.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | ... com!(SHCreateItemFromParsingName(path.as_ptr(), null_mut(), &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:417:117 [INFO] [stdout] | [INFO] [stdout] 417 | ..., &IShellItem::uuidof(), &mut folder as *mut *mut IShellItem as *mut *mut c_void), "SHCreateItemFromParsingName")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COMDLG_FILTERSPEC` in this scope [INFO] [stdout] --> src/lib.rs:485:18 [INFO] [stdout] | [INFO] [stdout] 485 | .map(|x| COMDLG_FILTERSPEC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COMDLG_FILTERSPEC` in this scope [INFO] [stdout] --> src/lib.rs:489:24 [INFO] [stdout] | [INFO] [stdout] 470 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 489 | .collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:497:38 [INFO] [stdout] | [INFO] [stdout] 497 | fn get_file_type_index(file_dialog: &IFileDialog) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IShellItem` in this scope [INFO] [stdout] --> src/lib.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_shell_item_display_name(shell_item: &IShellItem) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:505:27 [INFO] [stdout] | [INFO] [stdout] 505 | let mut display_name: LPWSTR = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIGDN_FILESYSPATH` in this scope [INFO] [stdout] --> src/lib.rs:507:36 [INFO] [stdout] | [INFO] [stdout] 507 | com!(shell_item.GetDisplayName(SIGDN_FILESYSPATH, &mut display_name), "IShellItem::GetDisplayName")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/lib.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { CoTaskMemFree(display_name as LPVOID) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:512:44 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { CoTaskMemFree(display_name as LPVOID) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/lib.rs:521:19 [INFO] [stdout] | [INFO] [stdout] 521 | F: FnMut() -> HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/lib.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | if !SUCCEEDED(hresult) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/lib.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | let result = OsString::from_wide(slice); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wfd` [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[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/lib.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | let result = OsString::from_wide(slice); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [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" "853dbbb2e872e5a5cf26866c353a3ad9c71b4bdbc54b76b2584e142a6994e0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853dbbb2e872e5a5cf26866c353a3ad9c71b4bdbc54b76b2584e142a6994e0d5", kill_on_drop: false }` [INFO] [stdout] 853dbbb2e872e5a5cf26866c353a3ad9c71b4bdbc54b76b2584e142a6994e0d5