[INFO] fetching crate winvd 0.0.48... [INFO] testing winvd-0.0.48 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate winvd 0.0.48 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate winvd 0.0.48 [INFO] finished tweaking crates.io crate winvd 0.0.48 [INFO] tweaked toml for crates.io crate winvd 0.0.48 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winvd 0.0.48 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 188 packages to latest compatible versions [INFO] [stderr] Adding windows v0.58.0 (available: v0.62.1) [INFO] [stderr] Adding windows-core v0.58.0 (available: v0.62.1) [INFO] [stderr] Adding windows-implement v0.58.0 (available: v0.60.1) [INFO] [stderr] Adding windows-interface v0.58.0 (available: v0.59.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bf6c69f3d690f83619787033454fda0b25a288fee2b7c0d23778ee7dc1972e8 [INFO] running `Command { std: "docker" "start" "-a" "9bf6c69f3d690f83619787033454fda0b25a288fee2b7c0d23778ee7dc1972e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bf6c69f3d690f83619787033454fda0b25a288fee2b7c0d23778ee7dc1972e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf6c69f3d690f83619787033454fda0b25a288fee2b7c0d23778ee7dc1972e8", kill_on_drop: false }` [INFO] [stdout] 9bf6c69f3d690f83619787033454fda0b25a288fee2b7c0d23778ee7dc1972e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f6301beb466d043a4bb629f6fd3544780b9b2176a3e280450d276cd198c618 [INFO] running `Command { std: "docker" "start" "-a" "22f6301beb466d043a4bb629f6fd3544780b9b2176a3e280450d276cd198c618", kill_on_drop: false }` [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling winvd v0.0.48 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/comobjects.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/comobjects.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::Com::CoIncrementMTAUsage; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/comobjects.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Com::CLSCTX_LOCAL_SERVER; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/comobjects.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::core::HRESULT; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/comobjects.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Win32::{System::Com::CoCreateInstance, UI::Shell::Common::IObjectArray}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/comobjects.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | core::{Interface, GUID, HSTRING}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/desktop.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::{core::GUID, Win32::Foundation::HWND}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/events.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/desktop.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::{core::GUID, Win32::Foundation::HWND}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/interfaces.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Win32::{Foundation::HWND, UI::Shell::Common::IObjectArray}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/interfaces.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | core::{IUnknown, IUnknown_Vtbl, Interface, GUID, HRESULT, HSTRING}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/listener.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/listener.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::System::Threading::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/listener.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::core::{Interface, HRESULT, HSTRING}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/listener.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | #[windows::core::implement(IVirtualDesktopNotification)] [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/comobjects.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | impl HRESULTHelpers for ::windows::core::HRESULT { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/comobjects.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | impl From<::windows::core::Error> for Error { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/comobjects.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | fn from(r: ::windows::core::Error) -> Self { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/log.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | fn OutputDebugStringW(lpOutputString: windows::core::PCWSTR); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualDesktopNotification_Impl` in this scope [INFO] [stdout] --> src/listener.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | impl IVirtualDesktopNotification_Impl for VirtualDesktopNotification_Impl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `IVirtualDesktopNotification_Impl` [INFO] [stdout] | [INFO] [stdout] ::: src/interfaces.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | #[windows_interface::interface("B9E5E94D-233E-49AB-AF5C-2B4541C3AADE")] [INFO] [stdout] | ----------------------------------------------------------------------- similarly named trait `IVirtualDesktopNotification_Impl` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/log.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let pw = windows::core::PCWSTR::from_raw(notepad.as_ptr()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] note: type alias `crate::interfaces::PCWSTR` exists but is inaccessible [INFO] [stdout] --> src/interfaces.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | type PCWSTR = *const WCHAR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom<&interfaces::IVirtualDesktop>` for type `comobjects::DesktopInternal` [INFO] [stdout] --> src/comobjects.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | impl<'a> TryFrom<&'a IVirtualDesktop> for DesktopInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `TryFrom<&interfaces::ComIn<'_, interfaces::IVirtualDesktop>>` for type `comobjects::DesktopInternal` [INFO] [stdout] --> src/comobjects.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | impl<'a> TryFrom<&'a ComIn<'a, IVirtualDesktop>> for DesktopInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: conflicting implementation in crate `core`: [INFO] [stdout] - impl TryFrom for T [INFO] [stdout] where U: Into; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winvd` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "22f6301beb466d043a4bb629f6fd3544780b9b2176a3e280450d276cd198c618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f6301beb466d043a4bb629f6fd3544780b9b2176a3e280450d276cd198c618", kill_on_drop: false }` [INFO] [stdout] 22f6301beb466d043a4bb629f6fd3544780b9b2176a3e280450d276cd198c618