[INFO] cloning repository https://github.com/mrk-its/rust-vpn-reconnect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrk-its/rust-vpn-reconnect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrk-its%2Frust-vpn-reconnect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrk-its%2Frust-vpn-reconnect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fb636334d18d64d50bd391d57914b2a6b8f9d95 [INFO] checking mrk-its/rust-vpn-reconnect against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrk-its%2Frust-vpn-reconnect" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrk-its/rust-vpn-reconnect [INFO] finished tweaking git repo https://github.com/mrk-its/rust-vpn-reconnect [INFO] tweaked toml for git repo https://github.com/mrk-its/rust-vpn-reconnect written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrk-its/rust-vpn-reconnect on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mrk-its/rust-vpn-reconnect 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded libdbus-sys v0.1.5 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded dbus v0.6.4 [INFO] [stderr] Downloaded serde v1.0.90 [INFO] [stderr] Downloaded syn v0.15.31 [INFO] [stderr] Downloaded libc v0.2.51 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b764c4fcebcd22c6b728c3de7775fa941588d9e88e73199fc164b494d33c56c [INFO] running `Command { std: "docker" "start" "-a" "7b764c4fcebcd22c6b728c3de7775fa941588d9e88e73199fc164b494d33c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b764c4fcebcd22c6b728c3de7775fa941588d9e88e73199fc164b494d33c56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b764c4fcebcd22c6b728c3de7775fa941588d9e88e73199fc164b494d33c56c", kill_on_drop: false }` [INFO] [stdout] 7b764c4fcebcd22c6b728c3de7775fa941588d9e88e73199fc164b494d33c56c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 131fcf6015550563b4c1657c09275e99f2701970f31955d54c8a2a23ffe2c5bf [INFO] running `Command { std: "docker" "start" "-a" "131fcf6015550563b4c1657c09275e99f2701970f31955d54c8a2a23ffe2c5bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking dbus v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking rust-vpn-reconnect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, 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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` 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 `Serialize` (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/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, 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/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` 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 `Serialize` (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/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:464:74 [INFO] [stdout] | [INFO] [stdout] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:9:82 [INFO] [stdout] | [INFO] [stdout] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:177:74 [INFO] [stdout] | [INFO] [stdout] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:122:82 [INFO] [stdout] | [INFO] [stdout] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:498:74 [INFO] [stdout] | [INFO] [stdout] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:201:140 [INFO] [stdout] | [INFO] [stdout] 201 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Result<(dbus::Path<'static>, dbus::Path<'static>), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:124:140 [INFO] [stdout] | [INFO] [stdout] 124 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Result<(dbus::Path<'static>, dbus::Path<'static>), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:406:107 [INFO] [stdout] | [INFO] [stdout] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:160:107 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, 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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:426:104 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:161:104 [INFO] [stdout] | [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, 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/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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 `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` 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 `Serialize` (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/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:110:127 [INFO] [stdout] | [INFO] [stdout] 110 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:77:127 [INFO] [stdout] | [INFO] [stdout] 77 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:121:135 [INFO] [stdout] | [INFO] [stdout] 121 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:78:135 [INFO] [stdout] | [INFO] [stdout] 78 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:18:89 [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:10:89 [INFO] [stdout] | [INFO] [stdout] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:30:108 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:11:108 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:41:86 [INFO] [stdout] | [INFO] [stdout] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:12:86 [INFO] [stdout] | [INFO] [stdout] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:258:119 [INFO] [stdout] | [INFO] [stdout] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:244:119 [INFO] [stdout] | [INFO] [stdout] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:267:127 [INFO] [stdout] | [INFO] [stdout] 267 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:245:127 [INFO] [stdout] | [INFO] [stdout] 245 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:283:127 [INFO] [stdout] | [INFO] [stdout] 283 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:247:127 [INFO] [stdout] | [INFO] [stdout] 247 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 247 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:292:146 [INFO] [stdout] | [INFO] [stdout] 292 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:248:146 [INFO] [stdout] | [INFO] [stdout] 248 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 248 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:118 [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:204 [INFO] [stdout] | [INFO] [stdout] 317 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:283 [INFO] [stdout] | [INFO] [stdout] 317 | ...lt<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:118 [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:204 [INFO] [stdout] | [INFO] [stdout] 251 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:283 [INFO] [stdout] | [INFO] [stdout] 251 | ...lt<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:80 [INFO] [stdout] | [INFO] [stdout] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | fn dbus_connect() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn dbus_connect() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:464:74 [INFO] [stdout] | [INFO] [stdout] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:9:82 [INFO] [stdout] | [INFO] [stdout] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:177:74 [INFO] [stdout] | [INFO] [stdout] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:122:82 [INFO] [stdout] | [INFO] [stdout] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:498:74 [INFO] [stdout] | [INFO] [stdout] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:201:140 [INFO] [stdout] | [INFO] [stdout] 201 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Result<(dbus::Path<'static>, dbus::Path<'static>), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:124:140 [INFO] [stdout] | [INFO] [stdout] 124 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Result<(dbus::Path<'static>, dbus::Path<'static>), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:406:107 [INFO] [stdout] | [INFO] [stdout] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:160:107 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:426:104 [INFO] [stdout] | [INFO] [stdout] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:161:104 [INFO] [stdout] | [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:110:127 [INFO] [stdout] | [INFO] [stdout] 110 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:77:127 [INFO] [stdout] | [INFO] [stdout] 77 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:121:135 [INFO] [stdout] | [INFO] [stdout] 121 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettings.rs:78:135 [INFO] [stdout] | [INFO] [stdout] 78 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:18:89 [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:10:89 [INFO] [stdout] | [INFO] [stdout] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:30:108 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:11:108 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:41:86 [INFO] [stdout] | [INFO] [stdout] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:12:86 [INFO] [stdout] | [INFO] [stdout] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:258:119 [INFO] [stdout] | [INFO] [stdout] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:244:119 [INFO] [stdout] | [INFO] [stdout] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:267:127 [INFO] [stdout] | [INFO] [stdout] 267 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:245:127 [INFO] [stdout] | [INFO] [stdout] 245 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:283:127 [INFO] [stdout] | [INFO] [stdout] 283 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:247:127 [INFO] [stdout] | [INFO] [stdout] 247 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 247 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:292:146 [INFO] [stdout] | [INFO] [stdout] 292 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 292 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:248:146 [INFO] [stdout] | [INFO] [stdout] 248 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 248 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:118 [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:204 [INFO] [stdout] | [INFO] [stdout] 317 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:317:283 [INFO] [stdout] | [INFO] [stdout] 317 | ...lt<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:118 [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:204 [INFO] [stdout] | [INFO] [stdout] 251 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:251:283 [INFO] [stdout] | [INFO] [stdout] 251 | ...lt<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, flags: u32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:80 [INFO] [stdout] | [INFO] [stdout] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | fn dbus_connect() -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn dbus_connect() -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanager.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | let value: arg::Variant> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:288:112 [INFO] [stdout] | [INFO] [stdout] 288 | ... let settings: ::std::collections::HashMap>>> = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | let settings: ::std::collections::HashMap>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:299:111 [INFO] [stdout] | [INFO] [stdout] 299 | ... let secrets: ::std::collections::HashMap>>> = i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | let secrets: ::std::collections::HashMap>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:326:74 [INFO] [stdout] | [INFO] [stdout] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:349:110 [INFO] [stdout] | [INFO] [stdout] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:362:110 [INFO] [stdout] | [INFO] [stdout] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:288:112 [INFO] [stdout] | [INFO] [stdout] 288 | ... let settings: ::std::collections::HashMap>>> = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | let settings: ::std::collections::HashMap>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:299:111 [INFO] [stdout] | [INFO] [stdout] 299 | ... let secrets: ::std::collections::HashMap>>> = i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 | let secrets: ::std::collections::HashMap>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:326:74 [INFO] [stdout] | [INFO] [stdout] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:349:110 [INFO] [stdout] | [INFO] [stdout] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:432:108 [INFO] [stdout] | [INFO] [stdout] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:362:110 [INFO] [stdout] | [INFO] [stdout] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:434:70 [INFO] [stdout] | [INFO] [stdout] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:432:108 [INFO] [stdout] | [INFO] [stdout] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/networkmanagersettingsconnection.rs:434:70 [INFO] [stdout] | [INFO] [stdout] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all` and `set` are never used [INFO] [stdout] --> src/networkmanager.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/networkmanager.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/networkmanager.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/networkmanager.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopNetworkManager { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 119 | type Err; [INFO] [stdout] 120 | fn reload(&self, flags: u32) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | fn get_devices(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | fn get_device_by_ip_iface(&self, iface: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | fn activate_connection(&self, connection: dbus::Path, device: dbus::Path, specific_object: dbus::Path) -> Result,... [INFO] [stdout] 124 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | fn sleep(&self, sleep: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | fn enable(&self, enable: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | fn get_permissions(&self) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | fn set_logging(&self, level: &str, domains: &str) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | fn get_logging(&self) -> Result<(String, String), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | fn check_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | fn checkpoint_create(&self, devices: Vec, rollback_timeout: u32, flags: u32) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | fn checkpoint_destroy(&self, checkpoint: dbus::Path) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fn checkpoint_rollback(&self, checkpoint: dbus::Path) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | fn get_all_devices(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | fn get_networking_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | fn get_wireless_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | fn set_wireless_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | fn get_wireless_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | fn get_wwan_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | fn set_wwan_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | fn get_wwan_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | fn get_wimax_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | fn set_wimax_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | fn get_wimax_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | fn get_active_connections(&self) -> Result>, Self::Err>; [INFO] [stdout] 148 | fn get_primary_connection(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | fn get_primary_connection_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | fn get_metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 151 | fn get_activating_connection(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | fn get_startup(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | fn get_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | fn get_capabilities(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | fn get_state(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 156 | fn get_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | fn get_connectivity_check_available(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | fn get_connectivity_check_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | fn set_connectivity_check_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerCheckPermissions` is never constructed [INFO] [stdout] --> src/networkmanager.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct OrgFreedesktopNetworkManagerCheckPermissions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerStateChanged` is never constructed [INFO] [stdout] --> src/networkmanager.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct OrgFreedesktopNetworkManagerStateChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanager.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub struct OrgFreedesktopNetworkManagerPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceAdded` is never constructed [INFO] [stdout] --> src/networkmanager.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct OrgFreedesktopNetworkManagerDeviceAdded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceRemoved` is never constructed [INFO] [stdout] --> src/networkmanager.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct OrgFreedesktopNetworkManagerDeviceRemoved { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/networkmanagersettings.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait OrgFreedesktopNetworkManagerSettings { [INFO] [stdout] | ------------------------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_connection_by_uuid(&self, uuid: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant) -> Result<(bool, Vec), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | fn reload_connections(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | fn save_hostname(&self, hostname: &str) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 82 | fn get_connections(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | fn get_hostname(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | fn get_can_modify(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct OrgFreedesktopNetworkManagerSettingsPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsNewConnection` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct OrgFreedesktopNetworkManagerSettingsNewConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsConnectionRemoved` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct OrgFreedesktopNetworkManagerSettingsConnectionRemoved { [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/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VPNConfig` [INFO] [stdout] 29 | struct VPNConfig { [INFO] [stdout] | --------- `VPNConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VPNConfig` [INFO] [stdout] 29 | struct VPNConfig { [INFO] [stdout] | --------- `VPNConfig` 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/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 37 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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] 37 | 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: 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_all` and `set` are never used [INFO] [stdout] --> src/networkmanager.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/networkmanager.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/networkmanager.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/networkmanager.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopNetworkManager { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 119 | type Err; [INFO] [stdout] 120 | fn reload(&self, flags: u32) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | fn get_devices(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | fn get_device_by_ip_iface(&self, iface: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | fn activate_connection(&self, connection: dbus::Path, device: dbus::Path, specific_object: dbus::Path) -> Result,... [INFO] [stdout] 124 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | fn sleep(&self, sleep: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | fn enable(&self, enable: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 128 | fn get_permissions(&self) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | fn set_logging(&self, level: &str, domains: &str) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | fn get_logging(&self) -> Result<(String, String), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | fn check_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | fn state(&self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | fn checkpoint_create(&self, devices: Vec, rollback_timeout: u32, flags: u32) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | fn checkpoint_destroy(&self, checkpoint: dbus::Path) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fn checkpoint_rollback(&self, checkpoint: dbus::Path) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | fn get_all_devices(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | fn get_networking_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | fn get_wireless_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | fn set_wireless_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | fn get_wireless_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | fn get_wwan_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | fn set_wwan_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | fn get_wwan_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | fn get_wimax_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | fn set_wimax_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | fn get_wimax_hardware_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | fn get_active_connections(&self) -> Result>, Self::Err>; [INFO] [stdout] 148 | fn get_primary_connection(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | fn get_primary_connection_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | fn get_metered(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 151 | fn get_activating_connection(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | fn get_startup(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | fn get_version(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | fn get_capabilities(&self) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 155 | fn get_state(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 156 | fn get_connectivity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | fn get_connectivity_check_available(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | fn get_connectivity_check_enabled(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | fn set_connectivity_check_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerCheckPermissions` is never constructed [INFO] [stdout] --> src/networkmanager.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub struct OrgFreedesktopNetworkManagerCheckPermissions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerStateChanged` is never constructed [INFO] [stdout] --> src/networkmanager.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct OrgFreedesktopNetworkManagerStateChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanager.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub struct OrgFreedesktopNetworkManagerPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceAdded` is never constructed [INFO] [stdout] --> src/networkmanager.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct OrgFreedesktopNetworkManagerDeviceAdded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceRemoved` is never constructed [INFO] [stdout] --> src/networkmanager.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct OrgFreedesktopNetworkManagerDeviceRemoved { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/networkmanagersettings.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub trait OrgFreedesktopNetworkManagerSettings { [INFO] [stdout] | ------------------------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_connection_by_uuid(&self, uuid: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant) -> Result<(bool, Vec), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | fn reload_connections(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | fn save_hostname(&self, hostname: &str) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 82 | fn get_connections(&self) -> Result>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | fn get_hostname(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 84 | fn get_can_modify(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsPropertiesChanged` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct OrgFreedesktopNetworkManagerSettingsPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsNewConnection` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct OrgFreedesktopNetworkManagerSettingsNewConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerSettingsConnectionRemoved` is never constructed [INFO] [stdout] --> src/networkmanagersettings.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct OrgFreedesktopNetworkManagerSettingsConnectionRemoved { [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/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VPNConfig` [INFO] [stdout] 29 | struct VPNConfig { [INFO] [stdout] | --------- `VPNConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VPNConfig` [INFO] [stdout] 29 | struct VPNConfig { [INFO] [stdout] | --------- `VPNConfig` 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/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 37 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, PartialEq, Serialize, 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] 37 | 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: 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 8.99s [INFO] running `Command { std: "docker" "inspect" "131fcf6015550563b4c1657c09275e99f2701970f31955d54c8a2a23ffe2c5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131fcf6015550563b4c1657c09275e99f2701970f31955d54c8a2a23ffe2c5bf", kill_on_drop: false }` [INFO] [stdout] 131fcf6015550563b4c1657c09275e99f2701970f31955d54c8a2a23ffe2c5bf