[INFO] cloning repository https://github.com/jonasgrosch/niriidle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonasgrosch/niriidle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasgrosch%2Fniriidle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasgrosch%2Fniriidle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 541053e7562c736e56124a7e3889fa9a09e9f38e [INFO] checking jonasgrosch/niriidle against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasgrosch%2Fniriidle" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jonasgrosch/niriidle [INFO] finished tweaking git repo https://github.com/jonasgrosch/niriidle [INFO] tweaked toml for git repo https://github.com/jonasgrosch/niriidle written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonasgrosch/niriidle on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonasgrosch/niriidle 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking jonasgrosch/niriidle against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonasgrosch%2Fniriidle" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jonasgrosch/niriidle [INFO] finished tweaking git repo https://github.com/jonasgrosch/niriidle [INFO] tweaked toml for git repo https://github.com/jonasgrosch/niriidle written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonasgrosch/niriidle on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonasgrosch/niriidle 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zvariant_utils v2.1.0 [INFO] [stderr] Downloaded endi v1.1.0 [INFO] [stderr] Downloaded zbus_names v3.0.0 [INFO] [stderr] Downloaded zvariant_derive v4.2.0 [INFO] [stderr] Downloaded zvariant_utils v1.0.1 [INFO] [stderr] Downloaded zvariant_derive v3.15.2 [INFO] [stderr] Downloaded miette-derive v5.10.0 [INFO] [stderr] Downloaded zbus_names v2.6.1 [INFO] [stderr] Downloaded async-process v1.8.1 [INFO] [stderr] Downloaded xdg-home v1.3.0 [INFO] [stderr] Downloaded zbus_macros v3.15.2 [INFO] [stderr] Downloaded zvariant v3.15.2 [INFO] [stderr] Downloaded knuffel-derive v3.2.0 [INFO] [stderr] Downloaded async-executor v1.13.2 [INFO] [stderr] Downloaded uds_windows v1.1.0 [INFO] [stderr] Downloaded clap v4.5.49 [INFO] [stderr] Downloaded miette v5.10.0 [INFO] [stderr] Downloaded zbus v3.15.2 [INFO] [stderr] Downloaded zvariant v4.2.0 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded clap_builder v4.5.49 [INFO] [stderr] Downloaded knuffel v3.2.0 [INFO] [stderr] Downloaded async-io v1.13.0 [INFO] [stderr] Downloaded polling v2.8.0 [INFO] [stderr] Downloaded event-listener v3.1.0 [INFO] [stderr] Downloaded ordered-stream v0.2.0 [INFO] [stderr] Downloaded async-fs v1.6.0 [INFO] [stderr] Downloaded async-lock v2.8.0 [INFO] [stderr] Downloaded rustix v0.37.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c04cacaad597915e9ab6516bfb406b96b06119edc209ff83ebb94e5264de128a [INFO] running `Command { std: "docker" "start" "-a" "c04cacaad597915e9ab6516bfb406b96b06119edc209ff83ebb94e5264de128a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c04cacaad597915e9ab6516bfb406b96b06119edc209ff83ebb94e5264de128a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04cacaad597915e9ab6516bfb406b96b06119edc209ff83ebb94e5264de128a", kill_on_drop: false }` [INFO] [stdout] c04cacaad597915e9ab6516bfb406b96b06119edc209ff83ebb94e5264de128a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6654f975888110ce765c1dd9b277f9246f08499774b2d1ad584b75053dce0a0 [INFO] running `Command { std: "docker" "start" "-a" "a6654f975888110ce765c1dd9b277f9246f08499774b2d1ad584b75053dce0a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling knuffel-derive v3.2.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling niriidle v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking knuffel v3.2.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stdout] error[E0432]: unresolved import `proto::ext_idle_notification_v1` [INFO] [stdout] --> src/wayland/ext_idle.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use proto::ext_idle_notification_v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ext_idle_notification_v1` in `wayland::ext_idle::proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proto::ext_idle_notifier_v1` [INFO] [stdout] --> src/wayland/ext_idle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use proto::ext_idle_notifier_v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ext_idle_notifier_v1` in `wayland::ext_idle::proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proto::ext_idle_notification_v1` [INFO] [stdout] --> src/wayland/ext_idle.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use proto::ext_idle_notification_v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ext_idle_notification_v1` in `wayland::ext_idle::proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proto::ext_idle_notifier_v1` [INFO] [stdout] --> src/wayland/ext_idle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use proto::ext_idle_notifier_v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ext_idle_notifier_v1` in `wayland::ext_idle::proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `include_protocol` in `protocol` [INFO] [stdout] --> src/wayland/ext_idle.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | wayland_client::protocol::include_protocol!("../../protocols/ext-idle-notify-v1.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `include_protocol` in `protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `include_protocol` in `protocol` [INFO] [stdout] --> src/wayland/ext_idle.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | wayland_client::protocol::include_protocol!("../../protocols/ext-idle-notify-v1.xml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `include_protocol` in `protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `document` in module `decode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let doc = decode::document(text)?; [INFO] [stdout] | ^^^^^^^^ not found in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `document` in module `decode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let doc = decode::document(text)?; [INFO] [stdout] | ^^^^^^^^ not found in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Entry` in `ast` [INFO] [stdout] --> src/config/knuffel_cfg.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] | ^^^^^ could not find `Entry` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_set::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_set::Entry; [INFO] [stdout] | [INFO] [stdout] help: if you import `Entry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] 78 + if let Entry::Property(p) = e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Entry` in `ast` [INFO] [stdout] --> src/config/knuffel_cfg.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] | ^^^^^ could not find `Entry` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_set::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_set::Entry; [INFO] [stdout] | [INFO] [stdout] help: if you import `Entry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] 101 + if let Entry::Property(p) = e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Entry` in `ast` [INFO] [stdout] --> src/config/knuffel_cfg.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] | ^^^^^ could not find `Entry` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_set::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_set::Entry; [INFO] [stdout] | [INFO] [stdout] help: if you import `Entry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] 78 + if let Entry::Property(p) = e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Entry` in `ast` [INFO] [stdout] --> src/config/knuffel_cfg.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] | ^^^^^ could not find `Entry` in `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::btree_set::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_map::Entry; [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::hash_set::Entry; [INFO] [stdout] | [INFO] [stdout] help: if you import `Entry`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - if let knuffel::ast::Entry::Property(p) = e { [INFO] [stdout] 101 + if let Entry::Property(p) = e { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::SpannedNode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use knuffel::{decode, traits::DecodeScalar, ast::SpannedNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `General` and `Listener` [INFO] [stdout] --> src/config/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use knuffel_cfg::{General, Listener, RootConfig, InhibitMode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_client::protocol::wl_seat::WlSeat` [INFO] [stdout] --> src/wayland/ext_idle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wayland_client::protocol::wl_seat::WlSeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calloop::generic::Generic` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use calloop::generic::Generic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Interest` and `Mode` [INFO] [stdout] --> src/main.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | use calloop::{Interest, Mode}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::os::fd::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dispatch` and `QueueHandle` [INFO] [stdout] --> src/main.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | use wayland_client::{Dispatch, QueueHandle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::SpannedNode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use knuffel::{decode, traits::DecodeScalar, ast::SpannedNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `General` and `Listener` [INFO] [stdout] --> src/config/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use knuffel_cfg::{General, Listener, RootConfig, InhibitMode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wayland_client::protocol::wl_seat::WlSeat` [INFO] [stdout] --> src/wayland/ext_idle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wayland_client::protocol::wl_seat::WlSeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calloop::generic::Generic` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use calloop::generic::Generic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Interest` and `Mode` [INFO] [stdout] --> src/main.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | use calloop::{Interest, Mode}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::fd::AsRawFd` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::os::fd::AsRawFd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dispatch` and `QueueHandle` [INFO] [stdout] --> src/main.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | use wayland_client::{Dispatch, QueueHandle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a> for InhibitMode { [INFO] [stdout] | ^^^^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a> for InhibitMode { [INFO] [stdout] | ^^^^^^^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a> for InhibitMode { [INFO] [stdout] | ^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a, S> for InhibitMode { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a> for InhibitMode { [INFO] [stdout] | ^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> DecodeScalar<'a, S> for InhibitMode { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `knuffel::ast::Value` [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:58 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Value { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait DecodeScalar: Sized { [INFO] [stdout] | ^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `knuffel::ast::Value` [INFO] [stdout] --> src/config/knuffel_cfg.rs:123:58 [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Value { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 123 | fn as_scalar>(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `knuffel::ast::Value` [INFO] [stdout] --> src/config/knuffel_cfg.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn as_bool(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Value { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 167 | fn as_bool(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `knuffel::ast::Value` [INFO] [stdout] --> src/config/knuffel_cfg.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn as_bool(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Value { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 167 | fn as_bool(v: &knuffel::ast::Value) -> anyhow::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `DecodeError` [INFO] [stdout] --> src/config/knuffel_cfg.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | fn raw_decode(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/errors.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 53 | fn raw_decode(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `DecodeError` [INFO] [stdout] --> src/config/knuffel_cfg.rs:53:61 [INFO] [stdout] | [INFO] [stdout] 53 | fn raw_decode(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 1 generic parameter: `S` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/errors.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 53 | fn raw_decode(s: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `with_message` found for enum `DecodeError` in the current scope [INFO] [stdout] --> src/config/knuffel_cfg.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | _ => return Err(knuffel::errors::DecodeError::with_message("invalid inhibit-sleep value")), [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `DecodeError<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `DecodeError<_>` consider using one of the following associated functions: [INFO] [stdout] DecodeError::::conversion [INFO] [stdout] DecodeError::::scalar_kind [INFO] [stdout] DecodeError::::missing [INFO] [stdout] DecodeError::::unexpected [INFO] [stdout] DecodeError::::unsupported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/errors.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / pub fn conversion(span: &Spanned, err: E) -> Self [INFO] [stdout] 394 | | where E: Into>, [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn scalar_kind(expected: Kind, found: &Spanned) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn missing(node: &SpannedNode, message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | / pub fn unexpected(elem: &Spanned, kind: &'static str, [INFO] [stdout] 418 | | message: impl Into) [INFO] [stdout] 419 | | -> Self [INFO] [stdout] | |_______________^ [INFO] [stdout] ... [INFO] [stdout] 428 | / pub fn unsupported(span: &Spanned, message: M)-> Self [INFO] [stdout] 429 | | where M: Into>, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `with_message` found for enum `DecodeError` in the current scope [INFO] [stdout] --> src/config/knuffel_cfg.rs:59:59 [INFO] [stdout] | [INFO] [stdout] 59 | _ => return Err(knuffel::errors::DecodeError::with_message("invalid inhibit-sleep value")), [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `DecodeError<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `DecodeError<_>` consider using one of the following associated functions: [INFO] [stdout] DecodeError::::conversion [INFO] [stdout] DecodeError::::scalar_kind [INFO] [stdout] DecodeError::::missing [INFO] [stdout] DecodeError::::unexpected [INFO] [stdout] DecodeError::::unsupported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/errors.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / pub fn conversion(span: &Spanned, err: E) -> Self [INFO] [stdout] 394 | | where E: Into>, [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn scalar_kind(expected: Kind, found: &Spanned) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn missing(node: &SpannedNode, message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | / pub fn unexpected(elem: &Spanned, kind: &'static str, [INFO] [stdout] 418 | | message: impl Into) [INFO] [stdout] 419 | | -> Self [INFO] [stdout] | |_______________^ [INFO] [stdout] ... [INFO] [stdout] 428 | / pub fn unsupported(span: &Spanned, message: M)-> Self [INFO] [stdout] 429 | | where M: Into>, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:80:88 [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:105:90 [INFO] [stdout] | [INFO] [stdout] 105 | ... "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:105:113 [INFO] [stdout] | [INFO] [stdout] 105 | ... "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:80:65 [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | ... "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:80:88 [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let val = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:105:90 [INFO] [stdout] | [INFO] [stdout] 105 | ... "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:105:113 [INFO] [stdout] | [INFO] [stdout] 105 | ... "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | "on-timeout" => l.on_timeout = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:106:88 [INFO] [stdout] | [INFO] [stdout] 106 | ... "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d: /* Type */| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:106:111 [INFO] [stdout] | [INFO] [stdout] 106 | ... "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:106:111 [INFO] [stdout] | [INFO] [stdout] 106 | ... "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s| s.to_string()), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 106 | "on-resume" => l.on_resume = p.value.as_dotted().and_then(|d| d.as_string()).map(|s: /* Type */| s.to_string()), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let s = v.as_dotted().and_then(|d| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected scalar"))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let s = v.as_dotted().and_then(|d: /* Type */| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected scalar"))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let s = v.as_dotted().and_then(|d| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected scalar"))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let s = v.as_dotted().and_then(|d: /* Type */| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected scalar"))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(T::raw_decode(s)? ) [INFO] [stdout] | ^^^^^^^^^^^^^--- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn raw_decode(value: &Spanned, ctx: &mut Context) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 125 | Ok(T::raw_decode(s, /* ctx */)? ) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/config/knuffel_cfg.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(T::raw_decode(s)? ) [INFO] [stdout] | ^^^^^^^^^^^^^--- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/knuffel-3.2.0/src/traits.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn raw_decode(value: &Spanned, ctx: &mut Context) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 125 | Ok(T::raw_decode(s, /* ctx */)? ) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | let s = v.as_dotted().and_then(|d| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected bool"))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let s = v.as_dotted().and_then(|d: /* Type */| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected bool"))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InhibitMode: std::default::Default` is not satisfied [INFO] [stdout] --> src/inhibit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 4 | pub struct InhibitState { [INFO] [stdout] 5 | pub mode: InhibitMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::default::Default` is not implemented for `InhibitMode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum InhibitMode { None, Normal, Auto, WaitUntilLocked } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config/knuffel_cfg.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | let s = v.as_dotted().and_then(|d| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected bool"))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 168 | let s = v.as_dotted().and_then(|d: /* Type */| d.as_string()).ok_or_else(|| anyhow::anyhow!("expected bool"))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `knuffel_cfg::InhibitMode: std::default::Default` is not satisfied [INFO] [stdout] --> src/inhibit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 4 | pub struct InhibitState { [INFO] [stdout] 5 | pub mode: InhibitMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::default::Default` is not implemented for `knuffel_cfg::InhibitMode` [INFO] [stdout] --> src/config/knuffel_cfg.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum InhibitMode { None, Normal, Auto, WaitUntilLocked } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | ...us.add_match_rule("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep'"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | ...us.add_match_rule("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep'"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | let _ = dbus.add_match_rule(&rule_lock); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let _ = dbus.add_match_rule(&rule_unlock); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | let _ = dbus.add_match_rule(&rule_lock); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbus/login1.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let _ = dbus.add_match_rule(&rule_unlock); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `receive_message` found for struct `zbus::blocking::Connection` in the current scope [INFO] [stdout] --> src/dbus/login1.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | match conn.receive_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_message` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/connection.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn send_message(&self, msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p: /* Type */| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | let interface = msg.interface().map(|i| i.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let interface = msg.interface().map(|i: /* Type */| i.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | let member = msg.member().map(|m| m.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let member = msg.member().map(|m: /* Type */| m.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `receive_message` found for struct `zbus::blocking::Connection` in the current scope [INFO] [stdout] --> src/dbus/login1.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | match conn.receive_message() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_message` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/connection.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn send_message(&self, msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | notifier.get_input_idle_notification(&qh, timeout_ms, &seat, idx) [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let path = msg.path().map(|p: /* Type */| p.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | let interface = msg.interface().map(|i| i.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let interface = msg.interface().map(|i: /* Type */| i.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/dbus/login1.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | let member = msg.member().map(|m| m.to_string()).unwrap_or_default(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 53 | let member = msg.member().map(|m: /* Type */| m.to_string()).unwrap_or_default(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | notifier.get_input_idle_notification(&qh, timeout_ms, &seat, idx) [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | ...us.add_match_rule("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep'"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:49 [INFO] [stdout] | [INFO] [stdout] 169 | let _ = dbus.add_match_rule(&rule_lock); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | ...us.add_match_rule("type='signal',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep'"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:170:49 [INFO] [stdout] | [INFO] [stdout] 170 | let _ = dbus.add_match_rule(&rule_unlock); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:49 [INFO] [stdout] | [INFO] [stdout] 169 | let _ = dbus.add_match_rule(&rule_lock); [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:170:49 [INFO] [stdout] | [INFO] [stdout] 170 | let _ = dbus.add_match_rule(&rule_unlock); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ expected `MatchRule<'_>`, found `&String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/fdo.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | / #[dbus_proxy( [INFO] [stdout] 674 | | assume_defaults = true, [INFO] [stdout] 675 | | interface = "org.freedesktop.DBus", [INFO] [stdout] 676 | | gen_async = $gen_async, [INFO] [stdout] 677 | | gen_blocking = $gen_blocking, [INFO] [stdout] 678 | | )] [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zbus-3.15.2/src/blocking/fdo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | gen_dbus_proxy!(false, true); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the attribute macro `dbus_proxy` which comes from the expansion of the macro `gen_dbus_proxy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/dbus/screensaver.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let b = cr.grant("app2".into(), "why2".into(), "owner2".into()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0277, E0282, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0277, E0282, E0308, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `niriidle` (bin "niriidle" test) due to 36 previous errors; 8 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `niriidle` (bin "niriidle") due to 36 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6654f975888110ce765c1dd9b277f9246f08499774b2d1ad584b75053dce0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6654f975888110ce765c1dd9b277f9246f08499774b2d1ad584b75053dce0a0", kill_on_drop: false }` [INFO] [stdout] a6654f975888110ce765c1dd9b277f9246f08499774b2d1ad584b75053dce0a0