[INFO] fetching crate winvd 0.0.46...
[INFO] testing winvd-0.0.46 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate winvd 0.0.46 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate winvd 0.0.46 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate winvd 0.0.46
[INFO] finished tweaking crates.io crate winvd 0.0.46
[INFO] tweaked toml for crates.io crate winvd 0.0.46 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 170 packages to latest compatible versions
[INFO] [stderr]       Adding windows v0.52.0 (available: v0.58.0)
[INFO] [stderr]       Adding windows-implement v0.52.0 (available: v0.58.0)
[INFO] [stderr]       Adding windows-interface v0.52.0 (available: v0.58.0)
[INFO] [stderr]       Adding winit v0.29.15 (available: v0.30.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9766c3d34b2a2b8a8d612bb388af00a3ef3c8aed1bf61d134d0773900e0f1b18
[INFO] running `Command { std: "docker" "start" "-a" "9766c3d34b2a2b8a8d612bb388af00a3ef3c8aed1bf61d134d0773900e0f1b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9766c3d34b2a2b8a8d612bb388af00a3ef3c8aed1bf61d134d0773900e0f1b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9766c3d34b2a2b8a8d612bb388af00a3ef3c8aed1bf61d134d0773900e0f1b18", kill_on_drop: false }`
[INFO] [stdout] 9766c3d34b2a2b8a8d612bb388af00a3ef3c8aed1bf61d134d0773900e0f1b18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38a81fdf803f3e257b0d940571c0fddb9a7dff0d7db3971eb79aa62e25c2ff8d
[INFO] running `Command { std: "docker" "start" "-a" "38a81fdf803f3e257b0d940571c0fddb9a7dff0d7db3971eb79aa62e25c2ff8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling macro_rules_attribute-proc_macro v0.2.0
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-core v0.52.0
[INFO] [stderr]    Compiling macro_rules_attribute v0.2.0
[INFO] [stderr]    Compiling windows-implement v0.52.0
[INFO] [stderr]    Compiling windows-interface v0.52.0
[INFO] [stderr]    Compiling windows v0.52.0
[INFO] [stderr]    Compiling winvd v0.0.46 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/listener.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl<'a> VirtualDesktopNotificationWrapper<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 142 |     ) -> Result<Pin<Box<VirtualDesktopNotificationWrapper>>> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.69s
[INFO] running `Command { std: "docker" "inspect" "38a81fdf803f3e257b0d940571c0fddb9a7dff0d7db3971eb79aa62e25c2ff8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38a81fdf803f3e257b0d940571c0fddb9a7dff0d7db3971eb79aa62e25c2ff8d", kill_on_drop: false }`
[INFO] [stdout] 38a81fdf803f3e257b0d940571c0fddb9a7dff0d7db3971eb79aa62e25c2ff8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2493e0fb688967c10ad4835bc7ce4cdfdab3914208f0a763c1363b22031268c4
[INFO] running `Command { std: "docker" "start" "-a" "2493e0fb688967c10ad4835bc7ce4cdfdab3914208f0a763c1363b22031268c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/listener.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl<'a> VirtualDesktopNotificationWrapper<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 142 |     ) -> Result<Pin<Box<VirtualDesktopNotificationWrapper>>> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling winvd v0.0.46 (/opt/rustwide/workdir)
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/listener.rs:142:25
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl<'a> VirtualDesktopNotificationWrapper<'a> {
[INFO] [stdout]     |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 142 |     ) -> Result<Pin<Box<VirtualDesktopNotificationWrapper>>> {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "2493e0fb688967c10ad4835bc7ce4cdfdab3914208f0a763c1363b22031268c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2493e0fb688967c10ad4835bc7ce4cdfdab3914208f0a763c1363b22031268c4", kill_on_drop: false }`
[INFO] [stdout] 2493e0fb688967c10ad4835bc7ce4cdfdab3914208f0a763c1363b22031268c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3120e6be503877b7ccb67f156227ab26c4aaf0ddc1b27ddd10516ec93b404094
[INFO] running `Command { std: "docker" "start" "-a" "3120e6be503877b7ccb67f156227ab26c4aaf0ddc1b27ddd10516ec93b404094", kill_on_drop: false }`
[INFO] [stderr] warning: elided lifetime has a name
[INFO] [stderr]    --> src/listener.rs:142:25
[INFO] [stderr]     |
[INFO] [stderr] 138 | impl<'a> VirtualDesktopNotificationWrapper<'a> {
[INFO] [stderr]     |      -- lifetime `'a` declared here
[INFO] [stderr] ...
[INFO] [stderr] 142 |     ) -> Result<Pin<Box<VirtualDesktopNotificationWrapper>>> {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `winvd` (lib) generated 1 warning
[INFO] [stderr] warning: `winvd` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/winvd-7f2c1b84c6f9124c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests winvd
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/events.rs - events::listen_desktop_events (line 103) ... FAILED
[INFO] [stdout] test src/interfaces.rs - interfaces::ComIn (line 58) ... FAILED
[INFO] [stdout] test src/interfaces.rs - interfaces::ComIn (line 73) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/events.rs - events::listen_desktop_events (line 103) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `DesktopEvent` in this scope
[INFO] [stdout]  --> src/events.rs:104:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (tx, rx) = std::sync::mpsc::channel::<DesktopEvent>();
[INFO] [stdout]   |                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use winvd::DesktopEvent;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `listen_desktop_events` in this scope
[INFO] [stdout]  --> src/events.rs:105:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _notifications_thread = listen_desktop_events(tx);
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use winvd::listen_desktop_events;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/interfaces.rs - interfaces::ComIn (line 58) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/interfaces.rs:59:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                                                                    |
[INFO] [stdout]   |                                                                                    help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/interfaces.rs:59:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                        ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/interfaces.rs:60:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                                                            |
[INFO] [stdout]   |                                                                            help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/interfaces.rs:60:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:59:56
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop<IVirtualDesktop>(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]  --> src/interfaces.rs:59:77
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ManuallyDrop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:60:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::mem::ManuallyDrop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:60:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop<IVirtualDesktop>(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]  --> src/interfaces.rs:60:69
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:62:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut desktop: Option<IVirtualDesktop> = None;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_interfaces_rs_58_0<IVirtualDesktop>() {
[INFO] [stdout]   |                                                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop`
[INFO] [stdout]  --> src/interfaces.rs:65:17
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let input = ManuallyDrop::new(desktop);
[INFO] [stdout]   |                 ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::mem::ManuallyDrop;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop`
[INFO] [stdout]   --> src/interfaces.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     ManuallyDrop::drop(input);
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::mem::ManuallyDrop;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]  --> src/interfaces.rs:63:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | get_current_desktop(&mut desktop);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^-------------- argument #2 is missing
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> src/interfaces.rs:59:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^ ---------  -------------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]   |
[INFO] [stdout] 7 | get_current_desktop(&mut desktop, /* desktop */);
[INFO] [stdout]   |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/interfaces.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     switch_desktop(input);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^------- argument #2 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/interfaces.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn switch_desktop(&self, desktop: ManuallyDrop<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]    |    ^^^^^^^^^^^^^^ -----  --------------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 10 |     switch_desktop(input, /* desktop */);
[INFO] [stdout]    |                   ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/interfaces.rs - interfaces::ComIn (line 73) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/interfaces.rs:74:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                                                                    |
[INFO] [stdout]   |                                                                                    help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/interfaces.rs:74:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                        ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/interfaces.rs:75:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                                                     |
[INFO] [stdout]   |                                                                     help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/interfaces.rs:75:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                   ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:74:56
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop<IVirtualDesktop>(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]  --> src/interfaces.rs:74:77
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ComIn` in this scope
[INFO] [stdout]  --> src/interfaces.rs:75:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:75:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop<IVirtualDesktop>(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                  +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]  --> src/interfaces.rs:75:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IVirtualDesktop` in this scope
[INFO] [stdout]  --> src/interfaces.rs:77:25
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut desktop: Option<IVirtualDesktop> = None;
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_interfaces_rs_73_0<IVirtualDesktop>() {
[INFO] [stdout]   |                                                                             +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `input` in this scope
[INFO] [stdout]  --> src/interfaces.rs:80:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |     switch_desktop(ComIn::new(&input));
[INFO] [stdout]   |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]  --> src/interfaces.rs:79:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     get_current_desktop(&mut desktop);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^-------------- argument #2 is missing
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> src/interfaces.rs:74:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_current_desktop(&mut self, desktop: &mut Option<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^ ---------  -------------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]   |
[INFO] [stdout] 8 |     get_current_desktop(&mut desktop, /* desktop */);
[INFO] [stdout]   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComIn`
[INFO] [stdout]  --> src/interfaces.rs:80:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     switch_desktop(ComIn::new(&input));
[INFO] [stdout]   |                    ^^^^^ use of undeclared type `ComIn`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]  --> src/interfaces.rs:80:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     switch_desktop(ComIn::new(&input));
[INFO] [stdout]   |     ^^^^^^^^^^^^^^-------------------- argument #2 is missing
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> src/interfaces.rs:75:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn switch_desktop(&self, desktop: ComIn<IVirtualDesktop>) -> HRESULT;
[INFO] [stdout]   |    ^^^^^^^^^^^^^^ -----  -------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]   |
[INFO] [stdout] 9 |     switch_desktop(ComIn::new(&input), /* desktop */);
[INFO] [stdout]   |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/events.rs - events::listen_desktop_events (line 103)
[INFO] [stdout]     src/interfaces.rs - interfaces::ComIn (line 58)
[INFO] [stdout]     src/interfaces.rs - interfaces::ComIn (line 73)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3120e6be503877b7ccb67f156227ab26c4aaf0ddc1b27ddd10516ec93b404094", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3120e6be503877b7ccb67f156227ab26c4aaf0ddc1b27ddd10516ec93b404094", kill_on_drop: false }`
[INFO] [stdout] 3120e6be503877b7ccb67f156227ab26c4aaf0ddc1b27ddd10516ec93b404094
