[INFO] fetching crate wineventhook 0.9.1... [INFO] testing wineventhook-0.9.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wineventhook 0.9.1 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wineventhook 0.9.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6ca5be84974133296fa8221899e51dcc1f6af663f5225253d7a3e6a7e2e6de6 [INFO] running `Command { std: "docker" "start" "-a" "e6ca5be84974133296fa8221899e51dcc1f6af663f5225253d7a3e6a7e2e6de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6ca5be84974133296fa8221899e51dcc1f6af663f5225253d7a3e6a7e2e6de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6ca5be84974133296fa8221899e51dcc1f6af663f5225253d7a3e6a7e2e6de6", kill_on_drop: false }` [INFO] [stdout] e6ca5be84974133296fa8221899e51dcc1f6af663f5225253d7a3e6a7e2e6de6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de9f8c744a3924384449284050185b340052c77a3ba39a783e19a9adf02a88b [INFO] running `Command { std: "docker" "start" "-a" "5de9f8c744a3924384449284050185b340052c77a3ba39a783e19a9adf02a88b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [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.67s [INFO] running `Command { std: "docker" "inspect" "5de9f8c744a3924384449284050185b340052c77a3ba39a783e19a9adf02a88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de9f8c744a3924384449284050185b340052c77a3ba39a783e19a9adf02a88b", kill_on_drop: false }` [INFO] [stdout] 5de9f8c744a3924384449284050185b340052c77a3ba39a783e19a9adf02a88b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d469e28be3d60f5e402586c9f18a9a107797c67a55b66643e9fe0fed92dcdd [INFO] running `Command { std: "docker" "start" "-a" "f1d469e28be3d60f5e402586c9f18a9a107797c67a55b66643e9fe0fed92dcdd", 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 `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] 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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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[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] 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[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] [stderr] error: could not compile `wineventhook` (example "simple") due to 3 previous errors [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] [stderr] error: could not compile `wineventhook` (example "foreground") due to 6 previous errors [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] running `Command { std: "docker" "inspect" "f1d469e28be3d60f5e402586c9f18a9a107797c67a55b66643e9fe0fed92dcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d469e28be3d60f5e402586c9f18a9a107797c67a55b66643e9fe0fed92dcdd", kill_on_drop: false }` [INFO] [stdout] f1d469e28be3d60f5e402586c9f18a9a107797c67a55b66643e9fe0fed92dcdd