[INFO] fetching crate wineventhook 0.9.1... [INFO] testing wineventhook-0.9.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wineventhook 0.9.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate wineventhook 0.9.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wineventhook 0.9.1 [INFO] tweaked toml for crates.io crate wineventhook 0.9.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wineventhook 0.9.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wineventhook 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.7.2 [INFO] [stderr] Downloaded async-thread v0.1.2 [INFO] [stderr] Downloaded derive_destructure2 v0.1.3 [INFO] [stderr] Downloaded num_enum v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 223fb6a12756204097dd004f7ee1fb953132800c3968a4db3efccce2452509cf [INFO] running `Command { std: "docker" "start" "-a" "223fb6a12756204097dd004f7ee1fb953132800c3968a4db3efccce2452509cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "223fb6a12756204097dd004f7ee1fb953132800c3968a4db3efccce2452509cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223fb6a12756204097dd004f7ee1fb953132800c3968a4db3efccce2452509cf", kill_on_drop: false }` [INFO] [stdout] 223fb6a12756204097dd004f7ee1fb953132800c3968a4db3efccce2452509cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b63f753ebe58c9667afe38791efaa10a7c87f2fdb6594472c98e58e4e713e40 [INFO] running `Command { std: "docker" "start" "-a" "8b63f753ebe58c9667afe38791efaa10a7c87f2fdb6594472c98e58e4e713e40", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling async-thread v0.1.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling derive_destructure2 v0.1.3 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling wineventhook v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.55s [INFO] running `Command { std: "docker" "inspect" "8b63f753ebe58c9667afe38791efaa10a7c87f2fdb6594472c98e58e4e713e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b63f753ebe58c9667afe38791efaa10a7c87f2fdb6594472c98e58e4e713e40", kill_on_drop: false }` [INFO] [stdout] 8b63f753ebe58c9667afe38791efaa10a7c87f2fdb6594472c98e58e4e713e40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d5709ff7819b009e6121b403b1432c45391ebcdc5d288bc2b7fc907bee8293 [INFO] running `Command { std: "docker" "start" "-a" "41d5709ff7819b009e6121b403b1432c45391ebcdc5d288bc2b7fc907bee8293", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling derive_destructure2 v0.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling wineventhook v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> examples/foreground.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::windef::HWND, [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] --> examples/foreground.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wineventhook::EventFilter`, `wineventhook::WindowEventHook` [INFO] [stdout] --> examples/simple.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use wineventhook::{EventFilter, WindowEventHook}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `WindowEventHook` in the root [INFO] [stdout] | | [INFO] [stdout] | no `EventFilter` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wineventhook::raw_event`, `wineventhook::AccessibleObjectId`, `wineventhook::EventFilter`, `wineventhook::WindowEventHook` [INFO] [stdout] --> examples/foreground.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use wineventhook::{raw_event, AccessibleObjectId, EventFilter, WindowEventHook}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `WindowEventHook` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `EventFilter` in the root [INFO] [stdout] | | no `AccessibleObjectId` in the root [INFO] [stdout] | no `raw_event` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let hook = WindowEventHook::hook(EventFilter::default(), event_tx) [INFO] [stdout] | ________________^ [INFO] [stdout] 8 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | hook.unhook().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/foreground.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let hook = WindowEventHook::hook( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | EventFilter::default().event(raw_event::SYSTEM_FOREGROUND), [INFO] [stdout] 21 | | event_tx, [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/foreground.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | let (event_tx, mut event_rx) = tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `unbounded_channel` [INFO] [stdout] ... [INFO] [stdout] 27 | if event.object_type() == AccessibleObjectId::Window { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 18 | let (event_tx, mut event_rx) = tokio::sync::mpsc::unbounded_channel::(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/foreground.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | hook.unhook().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> examples/mouse.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser::GetCursorPos; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wineventhook` (example "simple") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wineventhook` (example "foreground") due to 6 previous errors [INFO] [stdout] error[E0432]: unresolved imports `wineventhook::raw_event`, `wineventhook::AccessibleObjectId`, `wineventhook::EventFilter`, `wineventhook::WindowEventHook` [INFO] [stdout] --> examples/mouse.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use wineventhook::{raw_event, AccessibleObjectId, EventFilter, WindowEventHook}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `WindowEventHook` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `EventFilter` in the root [INFO] [stdout] | | no `AccessibleObjectId` in the root [INFO] [stdout] | no `raw_event` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mouse.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let hook = WindowEventHook::hook( [INFO] [stdout] | ________________^ [INFO] [stdout] 10 | | EventFilter::default().event(raw_event::OBJECT_LOCATIONCHANGE), [INFO] [stdout] 11 | | event_tx, [INFO] [stdout] 12 | | ) [INFO] [stdout] 13 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mouse.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | let (event_tx, mut event_rx) = tokio::sync::mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `unbounded_channel` [INFO] [stdout] ... [INFO] [stdout] 17 | if event.object_type() == AccessibleObjectId::Cursor { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 8 | let (event_tx, mut event_rx) = tokio::sync::mpsc::unbounded_channel::(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/mouse.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | hook.unhook().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wineventhook` (example "mouse") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "41d5709ff7819b009e6121b403b1432c45391ebcdc5d288bc2b7fc907bee8293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d5709ff7819b009e6121b403b1432c45391ebcdc5d288bc2b7fc907bee8293", kill_on_drop: false }` [INFO] [stdout] 41d5709ff7819b009e6121b403b1432c45391ebcdc5d288bc2b7fc907bee8293