[INFO] fetching crate wfd 0.1.7... [INFO] checking wfd-0.1.7 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate wfd 0.1.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate wfd 0.1.7 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 wfd 0.1.7 [INFO] finished tweaking crates.io crate wfd 0.1.7 [INFO] tweaked toml for crates.io crate wfd 0.1.7 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate wfd 0.1.7 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e13bf69cb3c1ebf25f67b685ab849a07516788dec51bbcb45803139b57b7d97 [INFO] running `Command { std: "docker" "start" "-a" "6e13bf69cb3c1ebf25f67b685ab849a07516788dec51bbcb45803139b57b7d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e13bf69cb3c1ebf25f67b685ab849a07516788dec51bbcb45803139b57b7d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e13bf69cb3c1ebf25f67b685ab849a07516788dec51bbcb45803139b57b7d97", kill_on_drop: false }` [INFO] [stdout] 6e13bf69cb3c1ebf25f67b685ab849a07516788dec51bbcb45803139b57b7d97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 87231c25b76f04995e2d1cabf10368b1d61a8f42e707a7d4a499bd67dd06cb52 [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" "87231c25b76f04995e2d1cabf10368b1d61a8f42e707a7d4a499bd67dd06cb52", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.64 [INFO] [stderr] Checking wfd v0.1.7 (/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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub use winapi::um::shobjidl::{ [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/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | &IFileOpenDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | um:: { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IFileSaveDialog` [INFO] [stdout] --> src/lib.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | &IFileSaveDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileSaveDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub use winapi::um::shobjidl::{ [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/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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:341:70 [INFO] [stdout] | [INFO] [stdout] 341 | ... 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:411:70 [INFO] [stdout] | [INFO] [stdout] 411 | ... 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:423:70 [INFO] [stdout] | [INFO] [stdout] 423 | ... 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[E0433]: failed to resolve: use of undeclared type `IFileOpenDialog` [INFO] [stdout] --> src/lib.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | &IFileOpenDialog::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IFileOpenDialog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DialogParams<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, HWND` [INFO] [stdout] ... [INFO] [stdout] 93 | pub owner: Option, [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:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | 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:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | 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:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | 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:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | 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:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | &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:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | &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:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | 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:245:34 [INFO] [stdout] | [INFO] [stdout] 245 | 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:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | 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:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | 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:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | 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:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | 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:320:40 [INFO] [stdout] | [INFO] [stdout] 320 | 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:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | 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:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | 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:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | &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:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 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:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | &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:339:28 [INFO] [stdout] | [INFO] [stdout] 339 | 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:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | ... 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:341:115 [INFO] [stdout] | [INFO] [stdout] 341 | ...(), &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:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | 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:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | 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:379:30 [INFO] [stdout] | [INFO] [stdout] 379 | fn show_dialog(file_dialog: &IFileDialog, owner: Option) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:379:57 [INFO] [stdout] | [INFO] [stdout] 379 | fn show_dialog(file_dialog: &IFileDialog, owner: Option) -> Result<(), DialogError> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | 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:409:38 [INFO] [stdout] | [INFO] [stdout] 409 | 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:411:14 [INFO] [stdout] | [INFO] [stdout] 411 | ... 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:411:125 [INFO] [stdout] | [INFO] [stdout] 411 | ...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:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | 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:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | ... 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:423:117 [INFO] [stdout] | [INFO] [stdout] 423 | ..., &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:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | 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:491:18 [INFO] [stdout] | [INFO] [stdout] 491 | .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:495:24 [INFO] [stdout] | [INFO] [stdout] 476 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 495 | .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:503:38 [INFO] [stdout] | [INFO] [stdout] 503 | 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:510:45 [INFO] [stdout] | [INFO] [stdout] 510 | 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:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | 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:513:36 [INFO] [stdout] | [INFO] [stdout] 513 | 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:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | 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:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | 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:527:19 [INFO] [stdout] | [INFO] [stdout] 527 | 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:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | 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 `IFileSaveDialog` [INFO] [stdout] --> src/lib.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | &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:341:70 [INFO] [stdout] | [INFO] [stdout] 341 | ... 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:411:70 [INFO] [stdout] | [INFO] [stdout] 411 | ... 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:423:70 [INFO] [stdout] | [INFO] [stdout] 423 | ... 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[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct DialogParams<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, HWND` [INFO] [stdout] ... [INFO] [stdout] 93 | pub owner: Option, [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:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | 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:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | 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:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | 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:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | 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:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | &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:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | &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:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | 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:245:34 [INFO] [stdout] | [INFO] [stdout] 245 | 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:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | 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:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | 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:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | 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:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | 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:320:40 [INFO] [stdout] | [INFO] [stdout] 320 | 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:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | 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:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | 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:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | &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:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | 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:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | &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:339:28 [INFO] [stdout] | [INFO] [stdout] 339 | 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:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | ... 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:341:115 [INFO] [stdout] | [INFO] [stdout] 341 | ...(), &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:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | 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:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | 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:379:30 [INFO] [stdout] | [INFO] [stdout] 379 | fn show_dialog(file_dialog: &IFileDialog, owner: Option) -> Result<(), DialogError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:379:57 [INFO] [stdout] | [INFO] [stdout] 379 | fn show_dialog(file_dialog: &IFileDialog, owner: Option) -> Result<(), DialogError> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IFileDialog` in this scope [INFO] [stdout] --> src/lib.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | 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:409:38 [INFO] [stdout] | [INFO] [stdout] 409 | 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:411:14 [INFO] [stdout] | [INFO] [stdout] 411 | ... 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:411:125 [INFO] [stdout] | [INFO] [stdout] 411 | ...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:421:30 [INFO] [stdout] | [INFO] [stdout] 421 | 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:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | ... 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:423:117 [INFO] [stdout] | [INFO] [stdout] 423 | ..., &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:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | 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:491:18 [INFO] [stdout] | [INFO] [stdout] 491 | .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:495:24 [INFO] [stdout] | [INFO] [stdout] 476 | fn add_filters(dialog: &IFileDialog, filters: &[FileExtensionFilterPair]) -> Result<(), DialogError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 495 | .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:503:38 [INFO] [stdout] | [INFO] [stdout] 503 | 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:510:45 [INFO] [stdout] | [INFO] [stdout] 510 | 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:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | 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:513:36 [INFO] [stdout] | [INFO] [stdout] 513 | 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:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | 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:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | 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:527:19 [INFO] [stdout] | [INFO] [stdout] 527 | 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:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | 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:515:28 [INFO] [stdout] | [INFO] [stdout] 515 | let result = OsString::from_wide(slice); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | owner: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wfd` [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:515:28 [INFO] [stdout] | [INFO] [stdout] 515 | let result = OsString::from_wide(slice); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | owner: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "87231c25b76f04995e2d1cabf10368b1d61a8f42e707a7d4a499bd67dd06cb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87231c25b76f04995e2d1cabf10368b1d61a8f42e707a7d4a499bd67dd06cb52", kill_on_drop: false }` [INFO] [stdout] 87231c25b76f04995e2d1cabf10368b1d61a8f42e707a7d4a499bd67dd06cb52