[INFO] crate winrt 0.6.0 is already in cache [INFO] extracting crate winrt 0.6.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/winrt/0.6.0 [INFO] extracting crate winrt 0.6.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/winrt/0.6.0 [INFO] validating manifest of winrt-0.6.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of winrt-0.6.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing winrt-0.6.0 [INFO] finished frobbing winrt-0.6.0 [INFO] frobbed toml for winrt-0.6.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/winrt/0.6.0/Cargo.toml [INFO] started frobbing winrt-0.6.0 [INFO] finished frobbing winrt-0.6.0 [INFO] frobbed toml for winrt-0.6.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/winrt/0.6.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking winrt-0.6.0 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/winrt/0.6.0:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 2f733fbd9469829fc3ef2efb154233ee76b00961270ce55f989b2d8912fbd902 [INFO] running `"docker" "start" "-a" "2f733fbd9469829fc3ef2efb154233ee76b00961270ce55f989b2d8912fbd902"` [INFO] [stderr] Checking winrt v0.6.0 (/opt/crater/workdir) [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 `StorageFile` [INFO] [stderr] --> examples/hexdump.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | 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:21:56 [INFO] [stderr] | [INFO] [stderr] 21 | 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:25:47 [INFO] [stderr] | [INFO] [stderr] 25 | 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:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | 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:22:57 [INFO] [stderr] | [INFO] [stderr] 22 | 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:65:35 [INFO] [stderr] | [INFO] [stderr] 65 | 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:66:36 [INFO] [stderr] | [INFO] [stderr] 66 | 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: aborting due to 9 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/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 `ToastNotificationManager` [INFO] [stderr] --> examples/toast_notify.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | 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:14:68 [INFO] [stderr] | [INFO] [stderr] 14 | 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:17:67 [INFO] [stderr] | [INFO] [stderr] 17 | 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:19:94 [INFO] [stderr] | [INFO] [stderr] 19 | 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:20:94 [INFO] [stderr] | [INFO] [stderr] 20 | 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:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | 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:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | 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:29:62 [INFO] [stderr] | [INFO] [stderr] 29 | 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:19:168 [INFO] [stderr] | [INFO] [stderr] 19 | 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:20:175 [INFO] [stderr] | [INFO] [stderr] 20 | 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 12 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/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 `winapi` [INFO] [stderr] --> examples/test.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::winerror::S_OK; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `winrt` in `winapi` [INFO] [stderr] --> examples/test.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::winrt::roerrorapi::GetRestrictedErrorInfo; [INFO] [stderr] | ^^^^^ could not find `winrt` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FastHString` [INFO] [stderr] --> examples/test.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | 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:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | 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:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | 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:29:27 [INFO] [stderr] | [INFO] [stderr] 29 | 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:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | 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:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | 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:52:18 [INFO] [stderr] | [INFO] [stderr] 52 | (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:52:50 [INFO] [stderr] | [INFO] [stderr] 52 | (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:52:86 [INFO] [stderr] | [INFO] [stderr] 52 | (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:60:20 [INFO] [stderr] | [INFO] [stderr] 60 | let async_op = DeviceInformation::find_all_async().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `DeviceInformation` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PropertyValue` [INFO] [stderr] --> examples/test.rs:119:23 [INFO] [stderr] | [INFO] [stderr] 119 | let boxed_array = PropertyValue::create_boolean_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:121:49 [INFO] [stderr] | [INFO] [stderr] 121 | 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:127:16 [INFO] [stderr] | [INFO] [stderr] 127 | 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:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | 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:130:23 [INFO] [stderr] | [INFO] [stderr] 130 | 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:132:49 [INFO] [stderr] | [INFO] [stderr] 132 | 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:149:16 [INFO] [stderr] | [INFO] [stderr] 149 | 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:149:56 [INFO] [stderr] | [INFO] [stderr] 149 | 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:158:51 [INFO] [stderr] | [INFO] [stderr] 158 | 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:158:88 [INFO] [stderr] | [INFO] [stderr] 158 | 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:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | 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:160:44 [INFO] [stderr] | [INFO] [stderr] 160 | 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:161:47 [INFO] [stderr] | [INFO] [stderr] 161 | 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:164:20 [INFO] [stderr] | [INFO] [stderr] 164 | 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[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> examples/test.rs:173:20 [INFO] [stderr] | [INFO] [stderr] 173 | let new_guid = GuidHelper::create_new_guid().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> examples/test.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | let empty_guid = GuidHelper::get_empty().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> examples/test.rs:177:23 [INFO] [stderr] | [INFO] [stderr] 177 | let empty_guid2 = GuidHelper::get_empty().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> examples/test.rs:178:14 [INFO] [stderr] | [INFO] [stderr] 178 | assert!(!GuidHelper::equals(&empty_guid, &new_guid).unwrap()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GuidHelper` [INFO] [stderr] --> examples/test.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 179 | assert!(GuidHelper::equals(&empty_guid, &empty_guid2).unwrap()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `GuidHelper` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IStringable` in this scope [INFO] [stderr] --> examples/test.rs:17:43 [INFO] [stderr] | [INFO] [stderr] 17 | 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:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | 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:43:28 [INFO] [stderr] | [INFO] [stderr] 43 | 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:43:62 [INFO] [stderr] | [INFO] [stderr] 43 | 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:51:136 [INFO] [stderr] | [INFO] [stderr] 51 | 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:64:42 [INFO] [stderr] | [INFO] [stderr] 64 | 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:67:46 [INFO] [stderr] | [INFO] [stderr] 67 | 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:70:41 [INFO] [stderr] | [INFO] [stderr] 70 | 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:120:53 [INFO] [stderr] | [INFO] [stderr] 120 | 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:122:53 [INFO] [stderr] | [INFO] [stderr] 122 | 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:131:53 [INFO] [stderr] | [INFO] [stderr] 131 | 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:133:53 [INFO] [stderr] | [INFO] [stderr] 133 | 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:133:69 [INFO] [stderr] | [INFO] [stderr] 133 | 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:150:60 [INFO] [stderr] | [INFO] [stderr] 150 | 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:157:45 [INFO] [stderr] | [INFO] [stderr] 157 | 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:159:65 [INFO] [stderr] | [INFO] [stderr] 159 | 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:161:20 [INFO] [stderr] | [INFO] [stderr] 161 | 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:161:27 [INFO] [stderr] | [INFO] [stderr] 161 | 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:161:35 [INFO] [stderr] | [INFO] [stderr] 161 | 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: `winapi::shared::winerror::S_OK` [INFO] [stderr] --> examples/test.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use winapi::shared::winerror::S_OK; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::winrt::roerrorapi::GetRestrictedErrorInfo` [INFO] [stderr] --> examples/test.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use winapi::winrt::roerrorapi::GetRestrictedErrorInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 55 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" "2f733fbd9469829fc3ef2efb154233ee76b00961270ce55f989b2d8912fbd902"` [INFO] running `"docker" "rm" "-f" "2f733fbd9469829fc3ef2efb154233ee76b00961270ce55f989b2d8912fbd902"` [INFO] [stdout] 2f733fbd9469829fc3ef2efb154233ee76b00961270ce55f989b2d8912fbd902