[INFO] fetching crate hyprland 0.4.0-beta.3... [INFO] testing hyprland-0.4.0-beta.3 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] extracting crate hyprland 0.4.0-beta.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate hyprland 0.4.0-beta.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hyprland 0.4.0-beta.3 [INFO] tweaked toml for crates.io crate hyprland 0.4.0-beta.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyprland 0.4.0-beta.3 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hyprland 0.4.0-beta.3 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyprland-macros v0.4.0-beta.3 [INFO] [stderr] Downloaded pastey v0.1.1 [INFO] [stderr] Downloaded piper v0.2.4 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded unicode-xid v0.2.5 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded event-listener v5.4.0 [INFO] [stderr] Downloaded async-task v4.7.1 [INFO] [stderr] Downloaded async-lock v3.4.0 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded polling v3.8.0 [INFO] [stderr] Downloaded async-io v2.4.1 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a95e29178e066d1c2870d7ec13520322ea590eea1f5d36630e2c4436364f84 [INFO] running `Command { std: "docker" "start" "-a" "f8a95e29178e066d1c2870d7ec13520322ea590eea1f5d36630e2c4436364f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a95e29178e066d1c2870d7ec13520322ea590eea1f5d36630e2c4436364f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a95e29178e066d1c2870d7ec13520322ea590eea1f5d36630e2c4436364f84", kill_on_drop: false }` [INFO] [stdout] f8a95e29178e066d1c2870d7ec13520322ea590eea1f5d36630e2c4436364f84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1fba9aad964642b206a09a9728b80fdfe7a919d309d58dcd43230f682272b23 [INFO] running `Command { std: "docker" "start" "-a" "a1fba9aad964642b206a09a9728b80fdfe7a919d309d58dcd43230f682272b23", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling hyprland-macros v0.4.0-beta.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling hyprland v0.4.0-beta.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.71s [INFO] running `Command { std: "docker" "inspect" "a1fba9aad964642b206a09a9728b80fdfe7a919d309d58dcd43230f682272b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fba9aad964642b206a09a9728b80fdfe7a919d309d58dcd43230f682272b23", kill_on_drop: false }` [INFO] [stdout] a1fba9aad964642b206a09a9728b80fdfe7a919d309d58dcd43230f682272b23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cebf7b379aa5621d775f0c5b0ef942ca32e538e70a3009c369ebd88c5b451846 [INFO] running `Command { std: "docker" "start" "-a" "cebf7b379aa5621d775f0c5b0ef942ca32e538e70a3009c369ebd88c5b451846", kill_on_drop: false }` [INFO] [stderr] Compiling hyprland v0.4.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> examples/events_async.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener.add_workspace_changed_handler(async_closure! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> examples/events_async.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | event_listener.add_fullscreen_state_changed_handler(async_closure! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> examples/events_async.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | event_listener.add_active_monitor_changed_handler(async_closure! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> examples/events_async.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | event_listener.add_workspace_changed_handler(async_closure! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.09s [INFO] running `Command { std: "docker" "inspect" "cebf7b379aa5621d775f0c5b0ef942ca32e538e70a3009c369ebd88c5b451846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cebf7b379aa5621d775f0c5b0ef942ca32e538e70a3009c369ebd88c5b451846", kill_on_drop: false }` [INFO] [stdout] cebf7b379aa5621d775f0c5b0ef942ca32e538e70a3009c369ebd88c5b451846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f43685b157d2d0046cf00b3e66c99971792d532f0a05d3cee7bfee503d8524d8 [INFO] running `Command { std: "docker" "start" "-a" "f43685b157d2d0046cf00b3e66c99971792d532f0a05d3cee7bfee503d8524d8", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stderr] --> examples/events_async.rs:12:50 [INFO] [stderr] | [INFO] [stderr] 12 | event_listener.add_workspace_changed_handler(async_closure! { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stderr] --> examples/events_async.rs:16:57 [INFO] [stderr] | [INFO] [stderr] 16 | event_listener.add_fullscreen_state_changed_handler(async_closure! { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stderr] --> examples/events_async.rs:20:55 [INFO] [stderr] | [INFO] [stderr] 20 | event_listener.add_active_monitor_changed_handler(async_closure! { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stderr] --> examples/events_async.rs:25:50 [INFO] [stderr] | [INFO] [stderr] 25 | event_listener.add_workspace_changed_handler(async_closure! { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hyprland` (example "events_async") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyprland-aadbda4f1d3ce32f) [INFO] [stdout] test hyprpaper::keyword::tests::test_wallpaper ... ok [INFO] [stdout] test config::test_binds ... ok [INFO] [stdout] test hyprpaper::keyword::tests::test_preload_string ... ok [INFO] [stdout] test hyprpaper::monitor::tests::test_port ... ok [INFO] [stdout] test hyprpaper::reload::tests::test_reload_format_no_monitor_no_mode ... ok [INFO] [stdout] test hyprpaper::monitor::tests::test_description ... ok [INFO] [stdout] test hyprpaper::preload::tests::test_preload ... ok [INFO] [stdout] test hyprpaper::reload::tests::test_reload_format_with_monitor_with_mode ... ok [INFO] [stdout] test hyprpaper::keyword::tests::test_unload ... ok [INFO] [stdout] test hyprpaper::unload::tests::test_unload_all ... ok [INFO] [stderr] Doc-tests hyprland [INFO] [stdout] test hyprpaper::unload::tests::test_unload_path ... ok [INFO] [stdout] test hyprpaper::wallpaper_listing::tests::test_err ... ok [INFO] [stdout] test hyprpaper::wallpaper_listing::tests::test_ok_no_monitor ... ok [INFO] [stdout] test hyprpaper::wallpaper_listing::tests::test_ok_with_monitor ... ok [INFO] [stdout] test hyprpaper::wallpaper::tests::test_wallpaper_no_monitor_no_mode ... ok [INFO] [stdout] test hyprpaper::wallpaper::tests::test_wallpaper_with_monitor_with_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 84 tests [INFO] [stdout] test src/config.rs - config::binds::bind_raw (line 181) ... FAILED [INFO] [stdout] test src/dispatch.rs - dispatch::Dispatch::instance_call_async (line 642) ... FAILED [INFO] [stdout] test src/dispatch.rs - dispatch::Dispatch::call_async (line 627) ... FAILED [INFO] [stdout] test src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener (line 12) - compile ... FAILED [INFO] [stdout] test src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::instance_start_listener_async (line 66) - compile ... FAILED [INFO] [stdout] test src/config.rs - config::binds::bind (line 237) ... FAILED [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener (line 124) - compile ... FAILED [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener (line 107) - compile ... FAILED [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener (line 12) - compile ... FAILED [INFO] [stdout] test src/dispatch.rs - dispatch::Dispatch::instance_call (line 602) ... FAILED [INFO] [stdout] test src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::start_listener_async (line 48) - compile ... FAILED [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_active_window_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_config_reloaded_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener::new (line 35) ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_float_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/dispatch.rs - dispatch::Dispatch::call (line 588) ... FAILED [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener_async (line 67) - compile ... FAILED [INFO] [stdout] test src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener_async (line 48) - compile ... FAILED [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_active_monitor_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_changed_special_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::new (line 35) ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_fullscreen_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_layer_opened_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_ignore_group_lock_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_group_toggled_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_layer_closed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_layout_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_lock_groups_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_screencast_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_monitor_added_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_special_removed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_monitor_removed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_sub_map_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_urgent_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_unknown_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_moved_out_of_group_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_closed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_moved_into_group_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_moved_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_workspace_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_workspace_deleted_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_active_window_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_opened_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_active_monitor_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_pinned_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_window_title_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_workspace_renamed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_workspace_added_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::AsyncEventListener::add_workspace_moved_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_config_reloaded_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_group_toggled_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_float_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_layout_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_fullscreen_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_changed_special_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_ignore_group_lock_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_layer_closed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_layer_opened_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_special_removed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_lock_groups_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_monitor_removed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_screencast_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_monitor_added_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_moved_out_of_group_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_unknown_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_sub_map_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_title_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_opened_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_urgent_state_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_closed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_workspace_changed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_moved_into_group_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_moved_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_window_pinned_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_workspace_renamed_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_workspace_moved_handler (line 29) - compile ... ok [INFO] [stdout] test src/lib.rs - keyword (line 48) - compile ... ok [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_workspace_added_handler (line 29) - compile ... ok [INFO] [stdout] test src/event_listener/stream.rs - event_listener::stream::EventStream (line 16) - compile ... FAILED [INFO] [stdout] test src/event_listener/mod.rs - event_listener::EventListener::add_workspace_deleted_handler (line 29) - compile ... ok [INFO] [stdout] test src/lib.rs - data (line 33) ... FAILED [INFO] [stdout] test src/shared.rs - shared::CommandContent::as_bytes (line 208) ... ok [INFO] [stdout] test src/lib.rs - dispatch (line 40) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/shared.rs - shared::CommandContent::fmt (line 225) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::binds::bind_raw (line 181) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/config.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test() { [INFO] [stdout] | _________________- [INFO] [stdout] 7 | | let instance = default_instance()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 8 | | bind_raw!(instance , vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit... [INFO] [stdout] 9 | | bind_raw!(vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 10 | | bind_raw!(async, instance, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType ... [INFO] [stdout] 11 | | bind_raw!(async, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/config.rs:186:140 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test() { [INFO] [stdout] | _________________- [INFO] [stdout] 7 | | let instance = default_instance()?; [INFO] [stdout] 8 | | bind_raw!(instance , vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 9 | | bind_raw!(vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 10 | | bind_raw!(async, instance, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exi... [INFO] [stdout] 11 | | bind_raw!(async, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).await?; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/config.rs:187:129 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test() { [INFO] [stdout] | _________________- [INFO] [stdout] 7 | | let instance = default_instance()?; [INFO] [stdout] 8 | | bind_raw!(instance , vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit... [INFO] [stdout] 9 | | bind_raw!(vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 10 | | bind_raw!(async, instance, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType ... [INFO] [stdout] 11 | | bind_raw!(async, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).... [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/config.rs:188:153 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test() { [INFO] [stdout] | _________________- [INFO] [stdout] 7 | | let instance = default_instance()?; [INFO] [stdout] 8 | | bind_raw!(instance , vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 9 | | bind_raw!(vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 10 | | bind_raw!(async, instance, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 11 | | bind_raw!(async, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).await?; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/config.rs:189:143 [INFO] [stdout] | [INFO] [stdout] 6 | async fn test() { [INFO] [stdout] | _________________- [INFO] [stdout] 7 | | let instance = default_instance()?; [INFO] [stdout] 8 | | bind_raw!(instance , vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 9 | | bind_raw!(vec! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )?; [INFO] [stdout] 10 | | bind_raw!(async, instance, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit )... [INFO] [stdout] 11 | | bind_raw!(async, vec ! [ Mod :: SHIFT ] , Key :: Key ( "m" ) , vec ! [ Flag :: l , Flag :: r , Flag :: m ] , DispatchType :: Exit ).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 12 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dispatch.rs - dispatch::Dispatch::instance_call_async (line 642) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/dispatch.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dispatch.rs - dispatch::Dispatch::call_async (line 627) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/dispatch.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener (line 12) stdout ---- [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> src/event_listener/async_im.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 9 | listener.add_workspace_changed_handler(async_closure! { |id| println!("workspace changed to {id:?}") }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/async_im.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 10 | listener.start_listener_async().await?; [INFO] [stdout] | -------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::instance_start_listener_async (line 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `default_instance` in this scope [INFO] [stdout] --> src/event_listener/async_im.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 10 | let instance = default_instance()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::default_instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> src/event_listener/async_im.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 9 | listener.add_workspace_changed_handler(async_closure! { |id| println!("workspace changed to {id:?}") }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/async_im.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 11 | listener.instance_start_listener_async(instance).await?; [INFO] [stdout] | ------------------------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::binds::bind (line 237) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `default_instance` in this scope [INFO] [stdout] --> src/config.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 9 | let instance = default_instance()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::default_instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatchType` [INFO] [stdout] --> src/config.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 10 | bind!(instance, l r m | SHIFT, Key, "m" => Exit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DispatchType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::dispatch::DispatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatchType` [INFO] [stdout] --> src/config.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 11 | bind!(SHIFT ALT, Key, "b" => CenterWindow); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DispatchType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::dispatch::DispatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatchType` [INFO] [stdout] --> src/config.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 12 | bind!(async ; l r m | SHIFT, Key, "m" => Exit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DispatchType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::dispatch::DispatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatchType` [INFO] [stdout] --> src/config.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 13 | bind!(async ; instance, SUPER, Mod, vec![Mod::SUPER], "l" => CenterWindow); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DispatchType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::dispatch::DispatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatchType` [INFO] [stdout] --> src/config.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 14 | bind!(async ; SHIFT ALT, Key, "b" => CenterWindow); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `DispatchType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::dispatch::DispatchType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener (line 124) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `default_instance` in this scope [INFO] [stdout] --> src/event_listener/immutable.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 10 | let instance = default_instance()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::default_instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/immutable.rs:132:47 [INFO] [stdout] | [INFO] [stdout] 11 | listener.instance_start_listener(instance)?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener (line 107) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/immutable.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 10 | listener.start_listener()?; [INFO] [stdout] | ----------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/immutable.rs - event_listener::immutable::EventListener (line 12) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/immutable.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 10 | listener.start_listener_async().await?; [INFO] [stdout] | -------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dispatch.rs - dispatch::Dispatch::instance_call (line 602) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Internal("Could not find XDG_RUNTIME_DIR or UID") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::start_listener_async (line 48) stdout ---- [INFO] [stdout] warning: use of deprecated macro `async_closure`: Use the async closure syntax instead. [INFO] [stdout] --> src/event_listener/async_im.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 9 | listener.add_workspace_changed_handler(async_closure! { |id| println!("workspace changed to {id:?}") }); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/async_im.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 10 | listener.start_listener_async().await?; [INFO] [stdout] | -------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/dispatch.rs - dispatch::Dispatch::call (line 588) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Internal("Could not find XDG_RUNTIME_DIR or UID") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener_async (line 67) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `default_instance` in this scope [INFO] [stdout] --> src/event_listener/immutable.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 10 | let instance = default_instance()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hyprland::default_instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/immutable.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 11 | listener.instance_start_listener_async(instance).await?; [INFO] [stdout] | ------------------------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener_async (line 48) stdout ---- [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/event_listener/immutable.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 10 | listener.start_listener_async().await?; [INFO] [stdout] | -------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, HyprError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event_listener/stream.rs - event_listener::stream::EventStream (line 16) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/event_listener/stream.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/event_listener/stream.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() -> HResult<()> { [INFO] [stdout] | ----------- expected `Result<(), HyprError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 13 | / while let Some(Ok(event)) = stream.next().await { [INFO] [stdout] 14 | | println!("{event:?}"); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____^ expected `Result<(), HyprError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), HyprError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 15 ~ } [INFO] [stdout] 16 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - data (line 33) stdout ---- [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 11 | let monitors = Monitors::get(instance)?.to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let monitors = Monitors::get(instance)?.to_vec(); [INFO] [stdout] 11 + let monitors = Monitors::get()?.to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 14 | let workspaces = Workspaces::get(instance)?.to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 14 - let workspaces = Workspaces::get(instance)?.to_vec(); [INFO] [stdout] 14 + let workspaces = Workspaces::get()?.to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 17 | let clients = Clients::get(instance)?.to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 17 - let clients = Clients::get(instance)?.to_vec(); [INFO] [stdout] 17 + let clients = Clients::get()?.to_vec(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 20 | let active_window = Client::get_active(instance)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_active() -> crate::Result> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 20 - let active_window = Client::get_active(instance)?; [INFO] [stdout] 20 + let active_window = Client::get_active()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 23 | let layers = Layers::get(instance)?; [INFO] [stdout] | ^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 23 - let layers = Layers::get(instance)?; [INFO] [stdout] 23 + let layers = Layers::get()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 26 | let devices = Devices::get(instance)?; [INFO] [stdout] | ^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 26 - let devices = Devices::get(instance)?; [INFO] [stdout] 26 + let devices = Devices::get()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 29 | let version = Version::get(instance)?; [INFO] [stdout] | ^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 29 - let version = Version::get(instance)?; [INFO] [stdout] 29 + let version = Version::get()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 32 | let cursor_pos = CursorPosition::get(instance)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------- unexpected argument of type `&hyprland::instance::Instance` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shared.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn get() -> crate::Result [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 32 - let cursor_pos = CursorPosition::get(instance)?; [INFO] [stdout] 32 + let cursor_pos = CursorPosition::get()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - dispatch (line 40) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Internal("Could not find XDG_RUNTIME_DIR or UID") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::binds::bind (line 237) [INFO] [stdout] src/config.rs - config::binds::bind_raw (line 181) [INFO] [stdout] src/dispatch.rs - dispatch::Dispatch::call (line 588) [INFO] [stdout] src/dispatch.rs - dispatch::Dispatch::call_async (line 627) [INFO] [stdout] src/dispatch.rs - dispatch::Dispatch::instance_call (line 602) [INFO] [stdout] src/dispatch.rs - dispatch::Dispatch::instance_call_async (line 642) [INFO] [stdout] src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener (line 12) [INFO] [stdout] src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::instance_start_listener_async (line 66) [INFO] [stdout] src/event_listener/async_im.rs - event_listener::async_im::AsyncEventListener::start_listener_async (line 48) [INFO] [stdout] src/event_listener/immutable.rs - event_listener::immutable::EventListener (line 12) [INFO] [stdout] src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener (line 124) [INFO] [stdout] src/event_listener/immutable.rs - event_listener::immutable::EventListener::instance_start_listener_async (line 67) [INFO] [stdout] src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener (line 107) [INFO] [stdout] src/event_listener/immutable.rs - event_listener::immutable::EventListener::start_listener_async (line 48) [INFO] [stdout] src/event_listener/stream.rs - event_listener::stream::EventStream (line 16) [INFO] [stdout] src/lib.rs - data (line 33) [INFO] [stdout] src/lib.rs - dispatch (line 40) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 67 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f43685b157d2d0046cf00b3e66c99971792d532f0a05d3cee7bfee503d8524d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f43685b157d2d0046cf00b3e66c99971792d532f0a05d3cee7bfee503d8524d8", kill_on_drop: false }` [INFO] [stdout] f43685b157d2d0046cf00b3e66c99971792d532f0a05d3cee7bfee503d8524d8