[INFO] fetching crate winrt 0.5.1... [INFO] extracting crate winrt 0.5.1 into work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/reg/winrt/0.5.1 [INFO] extracting crate winrt 0.5.1 into work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/winrt/0.5.1 [INFO] validating manifest of winrt-0.5.1 on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of winrt-0.5.1 on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing winrt-0.5.1 [INFO] finished frobbing winrt-0.5.1 [INFO] frobbed toml for winrt-0.5.1 written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/reg/winrt/0.5.1/Cargo.toml [INFO] started frobbing winrt-0.5.1 [INFO] finished frobbing winrt-0.5.1 [INFO] frobbed toml for winrt-0.5.1 written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/winrt/0.5.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking winrt-0.5.1 against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-5/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/reg/winrt/0.5.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] da1aa3d600755d6e258bfcb88365787d59a1c0cf1ea612544217708b2cc18d4e [INFO] running `"docker" "start" "-a" "da1aa3d600755d6e258bfcb88365787d59a1c0cf1ea612544217708b2cc18d4e"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking winrt v0.5.1 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/toast_notify.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::windows::data::xml::dom::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/toast_notify.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::ui::notifications::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RuntimeContext` [INFO] [stderr] --> examples/toast_notify.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | let rt = RuntimeContext::init(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `RuntimeContext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> examples/toast_notify.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | let toast_xml = ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastTemplateType` [INFO] [stderr] --> examples/toast_notify.rs:20:68 [INFO] [stderr] | [INFO] [stderr] 20 | let toast_xml = ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastTemplateType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/toast_notify.rs:23:67 [INFO] [stderr] | [INFO] [stderr] 23 | let toast_text_elements = toast_xml.get_elements_by_tag_name(&FastHString::new("text")).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/toast_notify.rs:25:94 [INFO] [stderr] | [INFO] [stderr] 25 | toast_text_elements.item(0).unwrap().unwrap().append_child(&*toast_xml.create_text_node(&FastHString::new("Hello from Rust!")).unwrap().unwrap().query_interface::().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/toast_notify.rs:26:94 [INFO] [stderr] | [INFO] [stderr] 26 | toast_text_elements.item(1).unwrap().unwrap().append_child(&*toast_xml.create_text_node(&FastHString::new("This is some more text.")).unwrap().unwrap().query_interface::().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotification` [INFO] [stderr] --> examples/toast_notify.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | let toast = ToastNotification::create_toast_notification(&*toast_xml).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotification` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] --> examples/toast_notify.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | ToastNotificationManager::create_toast_notifier_with_id(&FastHString::new("{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\\WindowsPowerShell\\v1.0\\powershell.exe")).unwrap().unwrap().show(&*toast).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/toast_notify.rs:35:62 [INFO] [stderr] | [INFO] [stderr] 35 | ToastNotificationManager::create_toast_notifier_with_id(&FastHString::new("{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\\WindowsPowerShell\\v1.0\\powershell.exe")).unwrap().unwrap().show(&*toast).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> examples/toast_notify.rs:25:168 [INFO] [stderr] | [INFO] [stderr] 25 | toast_text_elements.item(0).unwrap().unwrap().append_child(&*toast_xml.create_text_node(&FastHString::new("Hello from Rust!")).unwrap().unwrap().query_interface::().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IXmlNode` in this scope [INFO] [stderr] --> examples/toast_notify.rs:26:175 [INFO] [stderr] | [INFO] [stderr] 26 | toast_text_elements.item(1).unwrap().unwrap().append_child(&*toast_xml.create_text_node(&FastHString::new("This is some more text.")).unwrap().unwrap().query_interface::().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::*` [INFO] [stderr] --> examples/toast_notify.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winrt::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::data::xml::dom::*` [INFO] [stderr] --> examples/toast_notify.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::windows::data::xml::dom::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::ui::notifications::*` [INFO] [stderr] --> examples/toast_notify.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::ui::notifications::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `winrt`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/hexdump.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::foundation::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/hexdump.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::windows::storage::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RuntimeContext` [INFO] [stderr] --> examples/hexdump.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let rt = RuntimeContext::init(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `RuntimeContext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `StorageFile` [INFO] [stderr] --> examples/hexdump.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `StorageFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/hexdump.rs:27:56 [INFO] [stderr] | [INFO] [stderr] 27 | let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stderr] --> examples/hexdump.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | let input_stream = file.query_interface::().unwrap().open_sequential_read_async().unwrap().blocking_get().unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `streams` [INFO] [stderr] --> examples/hexdump.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | let data_reader = streams::DataReader::create_data_reader(&input_stream).unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `streams` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStorageItem` in this scope [INFO] [stderr] --> examples/hexdump.rs:28:57 [INFO] [stderr] | [INFO] [stderr] 28 | println!("Dumping file: {}", file.query_interface::().unwrap().get_path().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IClosable` in this scope [INFO] [stderr] --> examples/hexdump.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | data_reader.query_interface::().unwrap().close().unwrap(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IClosable` in this scope [INFO] [stderr] --> examples/hexdump.rs:72:36 [INFO] [stderr] | [INFO] [stderr] 72 | input_stream.query_interface::().unwrap().close().unwrap(); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::*` [INFO] [stderr] --> examples/hexdump.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::foundation::*` [INFO] [stderr] --> examples/hexdump.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::foundation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::storage::*` [INFO] [stderr] --> examples/hexdump.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::windows::storage::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/test.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use winrt::windows::foundation::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/test.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use winrt::windows::foundation::collections::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/test.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::windows::devices::enumeration::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/test.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::devices::midi::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stderr] --> examples/test.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::windows::storage::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `w` [INFO] [stderr] --> examples/test.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | use w::shared::winerror::S_OK; [INFO] [stderr] | ^^^^^^ could not find `shared` in `w` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `winrt` in `w` [INFO] [stderr] --> examples/test.rs:40:16 [INFO] [stderr] | [INFO] [stderr] 40 | use w::winrt::roerrorapi::GetRestrictedErrorInfo; [INFO] [stderr] | ^^^^^ could not find `winrt` in `w` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `RuntimeContext` [INFO] [stderr] --> examples/test.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let rt = RuntimeContext::init(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `RuntimeContext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | let base = FastHString::new("https://github.com"); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let relative = FastHString::new("contextfree/winrt-rust"); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Uri` [INFO] [stderr] --> examples/test.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | let uri = Uri::create_with_relative_uri(&base, &relative).unwrap(); [INFO] [stderr] | ^^^ use of undeclared type or module `Uri` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `MidiOutPort` [INFO] [stderr] --> examples/test.rs:35:27 [INFO] [stderr] | [INFO] [stderr] 35 | let device_selector = MidiOutPort::get_device_selector().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `MidiOutPort` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceInformation` [INFO] [stderr] --> examples/test.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let res = DeviceInformation::find_all_async_aqs_filter(&wrong_deviceselector); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `DeviceInformation` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ComPtr` [INFO] [stderr] --> examples/test.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | ComPtr::wrap(res) [INFO] [stderr] | ^^^^^^ use of undeclared type or module `ComPtr` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BStr` [INFO] [stderr] --> examples/test.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | (BStr::wrap(description), error, BStr::wrap(restricted_description), BStr::wrap(capability_sid)) [INFO] [stderr] | ^^^^ use of undeclared type or module `BStr` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BStr` [INFO] [stderr] --> examples/test.rs:58:50 [INFO] [stderr] | [INFO] [stderr] 58 | (BStr::wrap(description), error, BStr::wrap(restricted_description), BStr::wrap(capability_sid)) [INFO] [stderr] | ^^^^ use of undeclared type or module `BStr` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BStr` [INFO] [stderr] --> examples/test.rs:58:86 [INFO] [stderr] | [INFO] [stderr] 58 | (BStr::wrap(description), error, BStr::wrap(restricted_description), BStr::wrap(capability_sid)) [INFO] [stderr] | ^^^^ use of undeclared type or module `BStr` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DeviceInformation` [INFO] [stderr] --> examples/test.rs:66:20 [INFO] [stderr] | [INFO] [stderr] 66 | let async_op = DeviceInformation::find_all_async().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `DeviceInformation` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> examples/test.rs:125:23 [INFO] [stderr] | [INFO] [stderr] 125 | let boxed_array = PropertyValue::create_boolean_array(array).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error: Could not compile `winrt`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyType` [INFO] [stderr] --> examples/test.rs:127:49 [INFO] [stderr] | [INFO] [stderr] 127 | assert_eq!(boxed_array.get_type().unwrap(), PropertyType::BooleanArray); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `PropertyType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:133:16 [INFO] [stderr] | [INFO] [stderr] 133 | let str1 = FastHString::new("foo"); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:134:16 [INFO] [stderr] | [INFO] [stderr] 134 | let str2 = FastHString::new("bar"); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> examples/test.rs:136:23 [INFO] [stderr] | [INFO] [stderr] 136 | let boxed_array = PropertyValue::create_string_array(array).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `PropertyValue` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyType` [INFO] [stderr] --> examples/test.rs:138:49 [INFO] [stderr] | [INFO] [stderr] 138 | assert_eq!(boxed_array.get_type().unwrap(), PropertyType::StringArray); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type or module `PropertyType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `StorageFile` [INFO] [stderr] --> examples/test.rs:155:16 [INFO] [stderr] | [INFO] [stderr] 155 | let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `StorageFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:155:56 [INFO] [stderr] | [INFO] [stderr] 155 | let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:164:51 [INFO] [stderr] | [INFO] [stderr] 164 | let txt_file = exe_folder.create_file_async(&*FastHString::new("__test_file.txt"), CreationCollisionOption::ReplaceExisting).unwrap().blocking_get().expect("create_file_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CreationCollisionOption` [INFO] [stderr] --> examples/test.rs:164:88 [INFO] [stderr] | [INFO] [stderr] 164 | let txt_file = exe_folder.create_file_async(&*FastHString::new("__test_file.txt"), CreationCollisionOption::ReplaceExisting).unwrap().blocking_get().expect("create_file_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `CreationCollisionOption` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileIO` [INFO] [stderr] --> examples/test.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | FileIO::append_text_async(&txt_file, &*FastHString::new("This is a test\nand a second line.")).unwrap().blocking_wait(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `FileIO` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:166:44 [INFO] [stderr] | [INFO] [stderr] 166 | FileIO::append_text_async(&txt_file, &*FastHString::new("This is a test\nand a second line.")).unwrap().blocking_wait(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileIO` [INFO] [stderr] --> examples/test.rs:167:47 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lines: ComPtr> = FileIO::read_lines_async(&txt_file).unwrap().blocking_get().expect("read_lines_async failed").unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `FileIO` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:170:20 [INFO] [stderr] | [INFO] [stderr] 170 | lines.append(&*FastHString::new("The third line, added later")).expect("append failed"); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `FastHString` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> examples/test.rs:23:43 [INFO] [stderr] | [INFO] [stderr] 23 | let to_string = uri.query_interface::().unwrap().to_string().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FastHString` in this scope [INFO] [stderr] --> examples/test.rs:43:35 [INFO] [stderr] | [INFO] [stderr] 43 | let wrong_deviceselector: FastHString = "Foobar".into(); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetRestrictedErrorInfo` in this scope [INFO] [stderr] --> examples/test.rs:49:28 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(GetRestrictedErrorInfo(&mut res), S_OK); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> examples/test.rs:49:62 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(GetRestrictedErrorInfo(&mut res), S_OK); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `S_OK` in this scope [INFO] [stderr] --> examples/test.rs:57:136 [INFO] [stderr] | [INFO] [stderr] 57 | assert_eq!(error_info.GetErrorDetails(&mut description, &mut error, &mut restricted_description, &mut capability_sid), S_OK); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IAsyncInfo` in this scope [INFO] [stderr] --> examples/test.rs:70:42 [INFO] [stderr] | [INFO] [stderr] 70 | let asi = async_op.query_interface::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> examples/test.rs:73:46 [INFO] [stderr] | [INFO] [stderr] 73 | let unknown = async_op.query_interface::().unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> examples/test.rs:76:41 [INFO] [stderr] | [INFO] [stderr] 76 | let unknown = asi.query_interface::().unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stderr] --> examples/test.rs:126:53 [INFO] [stderr] | [INFO] [stderr] 126 | let boxed_array = boxed_array.query_interface::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IReferenceArray` in this scope [INFO] [stderr] --> examples/test.rs:128:53 [INFO] [stderr] | [INFO] [stderr] 128 | let boxed_array = boxed_array.query_interface::>().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IPropertyValue` in this scope [INFO] [stderr] --> examples/test.rs:137:53 [INFO] [stderr] | [INFO] [stderr] 137 | let boxed_array = boxed_array.query_interface::().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IReferenceArray` in this scope [INFO] [stderr] --> examples/test.rs:139:53 [INFO] [stderr] | [INFO] [stderr] 139 | let boxed_array = boxed_array.query_interface::>().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HString` in this scope [INFO] [stderr] --> examples/test.rs:139:69 [INFO] [stderr] | [INFO] [stderr] 139 | let boxed_array = boxed_array.query_interface::>().unwrap(); [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStorageItem` in this scope [INFO] [stderr] --> examples/test.rs:156:60 [INFO] [stderr] | [INFO] [stderr] 156 | println!("Executable file: {}", file.query_interface::().unwrap().get_path().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStorageItem2` in this scope [INFO] [stderr] --> examples/test.rs:163:45 [INFO] [stderr] | [INFO] [stderr] 163 | let exe_folder = file.query_interface::().unwrap().get_parent_async().unwrap().blocking_get().expect("get_parent_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStorageItem` in this scope [INFO] [stderr] --> examples/test.rs:165:65 [INFO] [stderr] | [INFO] [stderr] 165 | println!("Created text file {}", txt_file.query_interface::().unwrap().get_path().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ComPtr` in this scope [INFO] [stderr] --> examples/test.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lines: ComPtr> = FileIO::read_lines_async(&txt_file).unwrap().blocking_get().expect("read_lines_async failed").unwrap(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IVector` in this scope [INFO] [stderr] --> examples/test.rs:167:27 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lines: ComPtr> = FileIO::read_lines_async(&txt_file).unwrap().blocking_get().expect("read_lines_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HString` in this scope [INFO] [stderr] --> examples/test.rs:167:35 [INFO] [stderr] | [INFO] [stderr] 167 | let mut lines: ComPtr> = FileIO::read_lines_async(&txt_file).unwrap().blocking_get().expect("read_lines_async failed").unwrap(); [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::*` [INFO] [stderr] --> examples/test.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winrt::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::foundation::*` [INFO] [stderr] --> examples/test.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winrt::windows::foundation::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::foundation::collections::*` [INFO] [stderr] --> examples/test.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winrt::windows::foundation::collections::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::devices::enumeration::*` [INFO] [stderr] --> examples/test.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winrt::windows::devices::enumeration::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::devices::midi::*` [INFO] [stderr] --> examples/test.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winrt::windows::devices::midi::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winrt::windows::storage::*` [INFO] [stderr] --> examples/test.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use winrt::windows::storage::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `w::shared::winerror::S_OK` [INFO] [stderr] --> examples/test.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | use w::shared::winerror::S_OK; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `w::winrt::roerrorapi::GetRestrictedErrorInfo` [INFO] [stderr] --> examples/test.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use w::winrt::roerrorapi::GetRestrictedErrorInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 51 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `winrt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "da1aa3d600755d6e258bfcb88365787d59a1c0cf1ea612544217708b2cc18d4e"` [INFO] running `"docker" "rm" "-f" "da1aa3d600755d6e258bfcb88365787d59a1c0cf1ea612544217708b2cc18d4e"` [INFO] [stdout] da1aa3d600755d6e258bfcb88365787d59a1c0cf1ea612544217708b2cc18d4e