[INFO] fetching crate winrt-notification 0.2.2... [INFO] testing winrt-notification-0.2.2 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate winrt-notification 0.2.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate winrt-notification 0.2.2 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate winrt-notification 0.2.2 [INFO] finished tweaking crates.io crate winrt-notification 0.2.2 [INFO] tweaked toml for crates.io crate winrt-notification 0.2.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19fb12b9b497fd14f2cd320ba773672007df137d54c2b4fe9970742ab32f2415 [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" "19fb12b9b497fd14f2cd320ba773672007df137d54c2b4fe9970742ab32f2415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19fb12b9b497fd14f2cd320ba773672007df137d54c2b4fe9970742ab32f2415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19fb12b9b497fd14f2cd320ba773672007df137d54c2b4fe9970742ab32f2415", kill_on_drop: false }` [INFO] [stdout] 19fb12b9b497fd14f2cd320ba773672007df137d54c2b4fe9970742ab32f2415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e53019221d7d56eeeab75b925e8aba4dd50e424ab7ddced90e6ee42812a98d [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" "b5e53019221d7d56eeeab75b925e8aba4dd50e424ab7ddced90e6ee42812a98d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling strum v0.8.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling winrt v0.4.0 [INFO] [stderr] Compiling strum_macros v0.8.0 [INFO] [stderr] Compiling winrt-notification v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | use winrt::windows::data::xml::dom::IXmlDocumentIO; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stdout] --> src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | use winrt::windows::ui::notifications::{ToastNotification, ToastNotificationManager}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `winrt` [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | use winrt::windows::ui::notifications::ToastTemplateType; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `winrt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows_check.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows_check.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows_check.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntstatus::STATUS_SUCCESS; [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/windows_check.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::OSVERSIONINFOEXW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winrt::FastHString`, `winrt::RuntimeContext` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winrt::{FastHString, RuntimeContext}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `RuntimeContext` in the root [INFO] [stdout] | | [INFO] [stdout] | no `FastHString` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winrt::Error` [INFO] [stdout] --> src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use winrt::Error; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText01).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ToastTemplateType` [INFO] [stdout] --> src/lib.rs:280:60 [INFO] [stdout] | [INFO] [stdout] 280 | ToastNotificationManager::get_template_content(ToastTemplateType::ToastText01).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastTemplateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotification` [INFO] [stdout] --> src/lib.rs:320:30 [INFO] [stdout] | [INFO] [stdout] 320 | let toast_template = ToastNotification::create_toast_notification(&*toast_xml)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ToastNotificationManager` [INFO] [stdout] --> src/lib.rs:324:34 [INFO] [stdout] | [INFO] [stdout] 324 | let toast_notifier = ToastNotificationManager::create_toast_notifier_with_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ToastNotificationManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OSVERSIONINFOEXW` in this scope [INFO] [stdout] --> src/windows_check.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | type OSVERSIONINFOEX = OSVERSIONINFOEXW; [INFO] [stdout] | -----------------------^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `OSVERSIONINFOEX` [INFO] [stdout] | similarly named type alias `OSVERSIONINFOEX` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows_check.rs:23:73 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn RtlGetVersion(lpVersionInformation: &mut OSVERSIONINFOEX) -> NTSTATUS; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows_check.rs:29:68 [INFO] [stdout] | [INFO] [stdout] 29 | info.dwOSVersionInfoSize = size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope [INFO] [stdout] --> src/windows_check.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | if RtlGetVersion(&mut info) == STATUS_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `winrt` [INFO] [stdout] --> src/lib.rs:275:45 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn show(&self) -> Result<(), winrt::Error> { [INFO] [stdout] | ^^^^^ not found in `winrt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 37 | use fmt::Error; [INFO] [stdout] | [INFO] [stdout] 37 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 37 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 37 | use xml::reader::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IXmlDocumentIO` in this scope [INFO] [stdout] --> src/lib.rs:283:63 [INFO] [stdout] | [INFO] [stdout] 129 | impl Toast { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 283 | let toast_xml_as_xml_io = toast_xml.query_interface::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winrt-notification`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b5e53019221d7d56eeeab75b925e8aba4dd50e424ab7ddced90e6ee42812a98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e53019221d7d56eeeab75b925e8aba4dd50e424ab7ddced90e6ee42812a98d", kill_on_drop: false }` [INFO] [stdout] b5e53019221d7d56eeeab75b925e8aba4dd50e424ab7ddced90e6ee42812a98d