[INFO] cloning repository https://github.com/orva/swaybar-data [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orva/swaybar-data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forva%2Fswaybar-data", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forva%2Fswaybar-data'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5613dbca0cb0652d1eddaf48af6d065e84fa0821 [INFO] checking orva/swaybar-data against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forva%2Fswaybar-data" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orva/swaybar-data on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orva/swaybar-data [INFO] finished tweaking git repo https://github.com/orva/swaybar-data [INFO] tweaked toml for git repo https://github.com/orva/swaybar-data written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/orva/swaybar-data 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error v0.4.4 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.3 [INFO] [stderr] Downloaded structopt v0.3.7 [INFO] [stderr] Downloaded structopt-derive v0.4.0 [INFO] [stderr] Downloaded dbus v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a704712932ffcbb6c6d807778436bf5c145cf3492f50bc34eeb6423f875071c [INFO] running `Command { std: "docker" "start" "-a" "9a704712932ffcbb6c6d807778436bf5c145cf3492f50bc34eeb6423f875071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a704712932ffcbb6c6d807778436bf5c145cf3492f50bc34eeb6423f875071c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a704712932ffcbb6c6d807778436bf5c145cf3492f50bc34eeb6423f875071c", kill_on_drop: false }` [INFO] [stdout] 9a704712932ffcbb6c6d807778436bf5c145cf3492f50bc34eeb6423f875071c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a05882980405d593ebc0d7298cc48fdcc6c44b514ef22319fd278e349c64fb7 [INFO] running `Command { std: "docker" "start" "-a" "9a05882980405d593ebc0d7298cc48fdcc6c44b514ef22319fd278e349c64fb7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dbus v0.8.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-error v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Checking structopt v0.3.7 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking swaybar-data v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/timestamp.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/timestamp.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/timestamp.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/timestamp.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/output.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Some(mut wifi) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/output.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Some(mut wifi) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_all`, and `set` are never used [INFO] [stdout] --> src/generated/dbus_properties.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait DBusProperties { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 7 | fn get arg::Get<'b> + 'static>(&self, interface_name: &str, property_name: &str) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | fn set(&self, interface_name: &str, property_name: &str, value: I2) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_display_device`, `get_critical_action`, `daemon_version`, `lid_is_closed`, and `lid_is_present` are never used [INFO] [stdout] --> src/generated/upower.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait UPower { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | fn enumerate_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] 8 | fn get_display_device(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_critical_action(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn daemon_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn on_battery(&self) -> Result; [INFO] [stdout] 12 | fn lid_is_closed(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn lid_is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/upower_device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait UPowerDevice { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | fn refresh(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | fn get_history(&self, type_: &str, timespan: u32, resolution: u32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_statistics(&self, type_: &str) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn native_path(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn vendor(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | fn model(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | fn serial(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | fn update_time(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn type_(&self) -> Result; [INFO] [stdout] 16 | fn power_supply(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | fn has_history(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | fn has_statistics(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn online(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn energy(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | fn energy_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | fn energy_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | fn energy_full_design(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn energy_rate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn voltage(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | fn luminosity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn temperature(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | fn is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | fn is_rechargeable(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn capacity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | fn technology(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | fn warning_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn battery_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn icon_name(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/network_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManager { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 7 | fn reload(&self, flags: u32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | fn get_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_all_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn get_device_by_ip_iface(&self, iface: &str) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn activate_connection(&self, connection: dbus::Path, device: dbus::Path, specific_object: dbus::Path) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn sleep(&self, sleep: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | fn enable(&self, enable: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | fn get_permissions(&self) -> Result<::std::collections::HashMap, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | fn set_logging(&self, level: &str, domains: &str) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn get_logging(&self) -> Result<(String, String), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fn check_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | fn checkpoint_create(&self, devices: Vec, rollback_timeout: u32, flags: u32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | fn checkpoint_destroy(&self, checkpoint: dbus::Path) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn checkpoint_rollback(&self, checkpoint: dbus::Path) -> Result<::std::collections::HashMap, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | fn checkpoint_adjust_rollback_timeout(&self, checkpoint: dbus::Path, add_timeout: u32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn all_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | fn checkpoints(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | fn networking_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn wireless_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn set_wireless_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn wireless_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | fn wwan_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | fn set_wwan_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn wwan_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | fn wimax_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn set_wimax_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn wimax_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | fn active_connections(&self) -> Result>, dbus::Error>; [INFO] [stdout] 40 | fn primary_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | fn primary_connection_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | fn metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | fn activating_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | fn startup(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | fn version(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | fn capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | fn state_(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | fn connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | fn connectivity_check_available(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | fn connectivity_check_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | fn set_connectivity_check_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | fn connectivity_check_uri(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | fn global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, dbus:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> R... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_active_connection.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerConnectionActive { [INFO] [stdout] | ------------------------------ methods in this trait [INFO] [stdout] 7 | fn connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | fn specific_object(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn id(&self) -> Result; [INFO] [stdout] | ^^ [INFO] [stdout] 10 | fn uuid(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | fn type_(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | fn devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] 13 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | fn state_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn default(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fn ip4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | fn dhcp4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn default6(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | fn ip6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | fn dhcp6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn vpn(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | fn master(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_access_point.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerAccessPoint { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 7 | fn flags(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | fn wpa_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | fn rsn_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn ssid(&self) -> Result, dbus::Error>; [INFO] [stdout] 11 | fn frequency(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn mode(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | fn max_bitrate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn strength(&self) -> Result; [INFO] [stdout] 16 | fn last_seen(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDevice { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 7 | fn reapply(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | fn get_applied_connection(&self, flags: u32) -> Result<(::std::collections::HashMap Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn delete(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn udi(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn interface(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | fn ip_interface(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fn driver(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | fn driver_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn firmware_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn ip4_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | fn state_reason(&self) -> Result<(u32, u32), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn active_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | fn ip4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | fn dhcp4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn ip6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | fn dhcp6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn managed(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn set_managed(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | fn autoconnect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | fn set_autoconnect(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn firmware_missing(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn nm_plugin_missing(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn device_type(&self) -> Result; [INFO] [stdout] 33 | fn available_connections(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn physical_port_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn mtu(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | fn metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | fn lldp_neighbors(&self) -> Result>>>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn real(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | fn ip4_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | fn ip6_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | fn interface_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_device_wireless.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDeviceWireless { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 7 | fn get_access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn get_all_access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn request_scan(&self, options: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | fn perm_hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn mode(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | fn bitrate(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | fn access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn active_access_point(&self) -> Result, dbus::Error>; [INFO] [stdout] 16 | fn wireless_capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn last_scan(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hw_address`, `perm_hw_address`, `speed`, `s390_subchannels`, and `carrier` are never used [INFO] [stdout] --> src/generated/nm_device_wired.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDeviceWired { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 7 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | fn perm_hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn speed(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | fn s390_subchannels(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn carrier(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WifiDisconnected` and `WifiStrength` are never constructed [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum UpdateType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | WifiDisconnected(Uuid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | WifiStrength((Uuid, u8)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutputConfig` [INFO] [stdout] 13 | #[serde(tag = "type", rename_all = "snake_case")] [INFO] [stdout] 14 | pub enum OutputConfig { [INFO] [stdout] | ------------ `OutputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/timestamp.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Accuracy` [INFO] [stdout] 11 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 12 | pub enum Accuracy { [INFO] [stdout] | -------- `Accuracy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/timestamp.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TimestampConfig` [INFO] [stdout] 18 | pub struct TimestampConfig { [INFO] [stdout] | --------------- `TimestampConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_all`, and `set` are never used [INFO] [stdout] --> src/generated/dbus_properties.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait DBusProperties { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 7 | fn get arg::Get<'b> + 'static>(&self, interface_name: &str, property_name: &str) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, ... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | fn set(&self, interface_name: &str, property_name: &str, value: I2) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_display_device`, `get_critical_action`, `daemon_version`, `lid_is_closed`, and `lid_is_present` are never used [INFO] [stdout] --> src/generated/upower.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait UPower { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | fn enumerate_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] 8 | fn get_display_device(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_critical_action(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn daemon_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn on_battery(&self) -> Result; [INFO] [stdout] 12 | fn lid_is_closed(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn lid_is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/upower_device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait UPowerDevice { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 7 | fn refresh(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | fn get_history(&self, type_: &str, timespan: u32, resolution: u32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_statistics(&self, type_: &str) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn native_path(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | fn vendor(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | fn model(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | fn serial(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | fn update_time(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn type_(&self) -> Result; [INFO] [stdout] 16 | fn power_supply(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | fn has_history(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | fn has_statistics(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | fn online(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn energy(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | fn energy_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | fn energy_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | fn energy_full_design(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn energy_rate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | fn voltage(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | fn luminosity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn temperature(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | fn is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | fn is_rechargeable(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn capacity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | fn technology(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | fn warning_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn battery_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn icon_name(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/network_manager.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManager { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 7 | fn reload(&self, flags: u32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | fn get_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_all_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn get_device_by_ip_iface(&self, iface: &str) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn activate_connection(&self, connection: dbus::Path, device: dbus::Path, specific_object: dbus::Path) -> Result,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn sleep(&self, sleep: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | fn enable(&self, enable: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | fn get_permissions(&self) -> Result<::std::collections::HashMap, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | fn set_logging(&self, level: &str, domains: &str) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn get_logging(&self) -> Result<(String, String), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | fn check_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | fn checkpoint_create(&self, devices: Vec, rollback_timeout: u32, flags: u32) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | fn checkpoint_destroy(&self, checkpoint: dbus::Path) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fn checkpoint_rollback(&self, checkpoint: dbus::Path) -> Result<::std::collections::HashMap, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | fn checkpoint_adjust_rollback_timeout(&self, checkpoint: dbus::Path, add_timeout: u32) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn all_devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | fn checkpoints(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | fn networking_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn wireless_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn set_wireless_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn wireless_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | fn wwan_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | fn set_wwan_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn wwan_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | fn wimax_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn set_wimax_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn wimax_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | fn active_connections(&self) -> Result>, dbus::Error>; [INFO] [stdout] 40 | fn primary_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | fn primary_connection_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | fn metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | fn activating_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | fn startup(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | fn version(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | fn capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | fn state_(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | fn connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | fn connectivity_check_available(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | fn connectivity_check_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | fn set_connectivity_check_enabled(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | fn connectivity_check_uri(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | fn global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, dbus:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> R... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_active_connection.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerConnectionActive { [INFO] [stdout] | ------------------------------ methods in this trait [INFO] [stdout] 7 | fn connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | fn specific_object(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn id(&self) -> Result; [INFO] [stdout] | ^^ [INFO] [stdout] 10 | fn uuid(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | fn type_(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | fn devices(&self) -> Result>, dbus::Error>; [INFO] [stdout] 13 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | fn state_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn default(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | fn ip4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | fn dhcp4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn default6(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | fn ip6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | fn dhcp6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn vpn(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | fn master(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_access_point.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerAccessPoint { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 7 | fn flags(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | fn wpa_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | fn rsn_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn ssid(&self) -> Result, dbus::Error>; [INFO] [stdout] 11 | fn frequency(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | fn mode(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | fn max_bitrate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn strength(&self) -> Result; [INFO] [stdout] 16 | fn last_seen(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_device.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDevice { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] 7 | fn reapply(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | fn get_applied_connection(&self, flags: u32) -> Result<(::std::collections::HashMap Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn delete(&self) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | fn udi(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | fn interface(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | fn ip_interface(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fn driver(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | fn driver_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fn firmware_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn ip4_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | fn state_reason(&self) -> Result<(u32, u32), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | fn active_connection(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | fn ip4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | fn dhcp4_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | fn ip6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | fn dhcp6_config(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | fn managed(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn set_managed(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | fn autoconnect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | fn set_autoconnect(&self, value: bool) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | fn firmware_missing(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | fn nm_plugin_missing(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | fn device_type(&self) -> Result; [INFO] [stdout] 33 | fn available_connections(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | fn physical_port_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | fn mtu(&self) -> Result; [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | fn metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | fn lldp_neighbors(&self) -> Result>>>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | fn real(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | fn ip4_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | fn ip6_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | fn interface_flags(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/generated/nm_device_wireless.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDeviceWireless { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 7 | fn get_access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn get_all_access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn request_scan(&self, options: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<(), dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | fn perm_hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn mode(&self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | fn bitrate(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | fn access_points(&self) -> Result>, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | fn active_access_point(&self) -> Result, dbus::Error>; [INFO] [stdout] 16 | fn wireless_capabilities(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn last_scan(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hw_address`, `perm_hw_address`, `speed`, `s390_subchannels`, and `carrier` are never used [INFO] [stdout] --> src/generated/nm_device_wired.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait NetworkManagerDeviceWired { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 7 | fn hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | fn perm_hw_address(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn speed(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | fn s390_subchannels(&self) -> Result, dbus::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn carrier(&self) -> Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WifiDisconnected` and `WifiStrength` are never constructed [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum UpdateType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | WifiDisconnected(Uuid), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | WifiStrength((Uuid, u8)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutputConfig` [INFO] [stdout] 13 | #[serde(tag = "type", rename_all = "snake_case")] [INFO] [stdout] 14 | pub enum OutputConfig { [INFO] [stdout] | ------------ `OutputConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/timestamp.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Accuracy` [INFO] [stdout] 11 | #[serde(rename_all = "lowercase")] [INFO] [stdout] 12 | pub enum Accuracy { [INFO] [stdout] | -------- `Accuracy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/timestamp.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Debug, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TimestampConfig` [INFO] [stdout] 18 | pub struct TimestampConfig { [INFO] [stdout] | --------------- `TimestampConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.11s [INFO] running `Command { std: "docker" "inspect" "9a05882980405d593ebc0d7298cc48fdcc6c44b514ef22319fd278e349c64fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a05882980405d593ebc0d7298cc48fdcc6c44b514ef22319fd278e349c64fb7", kill_on_drop: false }` [INFO] [stdout] 9a05882980405d593ebc0d7298cc48fdcc6c44b514ef22319fd278e349c64fb7