[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] testing mrk-its/rust-vpn-reconnect against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrk-its%2Frust-vpn-reconnect" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrk-its/rust-vpn-reconnect on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded syn v0.15.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 599b365d57c52085c1f2b1713cdcdf9fe4e8d4736b00bb6b06af058dd429b380 [INFO] running `Command { std: "docker" "start" "-a" "599b365d57c52085c1f2b1713cdcdf9fe4e8d4736b00bb6b06af058dd429b380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "599b365d57c52085c1f2b1713cdcdf9fe4e8d4736b00bb6b06af058dd429b380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599b365d57c52085c1f2b1713cdcdf9fe4e8d4736b00bb6b06af058dd429b380", kill_on_drop: false }` [INFO] [stdout] 599b365d57c52085c1f2b1713cdcdf9fe4e8d4736b00bb6b06af058dd429b380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88607c572ed1b4dd7efcd6007418f2c00e995a45af550b00a92160cb6b0668de [INFO] running `Command { std: "docker" "start" "-a" "88607c572ed1b4dd7efcd6007418f2c00e995a45af550b00a92160cb6b0668de", 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 libc v0.2.51 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling dbus v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling serde_yaml v0.8.8 [INFO] [stderr] Compiling 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: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] = note: `#[warn(bare_trait_objects)]` on by default [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: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: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: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: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: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: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: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: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: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: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: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: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: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: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] 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: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: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: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/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: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/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: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: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: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: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: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: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: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/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: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: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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/networkmanager.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 75 | type Err; [INFO] [stdout] 76 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/networkmanager.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 93 | type Err; [INFO] [stdout] 94 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | fn get_machine_id(&self) -> Result; [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: method `introspect` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 30 | type Err; [INFO] [stdout] 31 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/networkmanagersettings.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 48 | type Err; [INFO] [stdout] 49 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | fn get_machine_id(&self) -> Result; [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: 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 12.90s [INFO] running `Command { std: "docker" "inspect" "88607c572ed1b4dd7efcd6007418f2c00e995a45af550b00a92160cb6b0668de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88607c572ed1b4dd7efcd6007418f2c00e995a45af550b00a92160cb6b0668de", kill_on_drop: false }` [INFO] [stdout] 88607c572ed1b4dd7efcd6007418f2c00e995a45af550b00a92160cb6b0668de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd0c27bc760d532243a8224e8920c7f6f51f99fda0cca864216ea006a78973ea [INFO] running `Command { std: "docker" "start" "-a" "bd0c27bc760d532243a8224e8920c7f6f51f99fda0cca864216ea006a78973ea", kill_on_drop: false }` [INFO] [stderr] Compiling 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: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] = note: `#[warn(bare_trait_objects)]` on by default [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: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: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: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: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: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: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: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: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: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: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: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: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: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: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] 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: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: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: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/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: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/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: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: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: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: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: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: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: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/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: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: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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/networkmanager.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 75 | type Err; [INFO] [stdout] 76 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/networkmanager.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 93 | type Err; [INFO] [stdout] 94 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | fn get_machine_id(&self) -> Result; [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: method `introspect` is never used [INFO] [stdout] --> src/networkmanagersettings.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 30 | type Err; [INFO] [stdout] 31 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/networkmanagersettings.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 48 | type Err; [INFO] [stdout] 49 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | fn get_machine_id(&self) -> Result; [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "bd0c27bc760d532243a8224e8920c7f6f51f99fda0cca864216ea006a78973ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0c27bc760d532243a8224e8920c7f6f51f99fda0cca864216ea006a78973ea", kill_on_drop: false }` [INFO] [stdout] bd0c27bc760d532243a8224e8920c7f6f51f99fda0cca864216ea006a78973ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5f12496b2b1876e1ca4b7b240be377084b2329ae26c61d758dc7d26e37b20dc [INFO] running `Command { std: "docker" "start" "-a" "d5f12496b2b1876e1ca4b7b240be377084b2329ae26c61d758dc7d26e37b20dc", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:28:39 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:54:82 [INFO] [stderr] | [INFO] [stderr] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:464:74 [INFO] [stderr] | [INFO] [stderr] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 464 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:9:82 [INFO] [stderr] | [INFO] [stderr] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:177:74 [INFO] [stderr] | [INFO] [stderr] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 177 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:122:82 [INFO] [stderr] | [INFO] [stderr] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 122 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:498:74 [INFO] [stderr] | [INFO] [stderr] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 498 | pub properties: ::std::collections::HashMap>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:9:108 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:124:140 [INFO] [stderr] | [INFO] [stderr] 124 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:160:107 [INFO] [stderr] | [INFO] [stderr] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:161:104 [INFO] [stderr] | [INFO] [stderr] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:77:127 [INFO] [stderr] | [INFO] [stderr] 77 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:78:135 [INFO] [stderr] | [INFO] [stderr] 78 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 78 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:10:89 [INFO] [stderr] | [INFO] [stderr] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:11:108 [INFO] [stderr] | [INFO] [stderr] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:12:86 [INFO] [stderr] | [INFO] [stderr] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:244:119 [INFO] [stderr] | [INFO] [stderr] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 244 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:245:127 [INFO] [stderr] | [INFO] [stderr] 245 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 245 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:247:127 [INFO] [stderr] | [INFO] [stderr] 247 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 247 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:248:146 [INFO] [stderr] | [INFO] [stderr] 248 | ...g, ::std::collections::HashMap>>>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 248 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:251:118 [INFO] [stderr] | [INFO] [stderr] 251 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:251:204 [INFO] [stderr] | [INFO] [stderr] 251 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:251:283 [INFO] [stderr] | [INFO] [stderr] 251 | ...lt<::std::collections::HashMap>>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:28:108 [INFO] [stderr] | [INFO] [stderr] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:201:140 [INFO] [stderr] | [INFO] [stderr] 201 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>, device: dbus::Path, specific_object: dbus::Path) -> Resu... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:406:107 [INFO] [stderr] | [INFO] [stderr] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 406 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:426:104 [INFO] [stderr] | [INFO] [stderr] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 426 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:110:127 [INFO] [stderr] | [INFO] [stderr] 110 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 110 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettings.rs:121:135 [INFO] [stderr] | [INFO] [stderr] 121 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 121 | fn add_connection_unsaved(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:18:89 [INFO] [stderr] | [INFO] [stderr] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 | fn get(&self, interface_name: &str, property_name: &str) -> Result>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:30:108 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:41:86 [INFO] [stderr] | [INFO] [stderr] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:258:119 [INFO] [stderr] | [INFO] [stderr] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) ->... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 258 | fn update(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:267:127 [INFO] [stderr] | [INFO] [stderr] 267 | ...Map<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 267 | fn update_unsaved(&self, properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>) -> Result<(), Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:283:127 [INFO] [stderr] | [INFO] [stderr] 283 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 283 | fn get_settings(&self) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:292:146 [INFO] [stderr] | [INFO] [stderr] 292 | ...g, ::std::collections::HashMap>>>, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 292 | fn get_secrets(&self, setting_name: &str) -> Result<::std::collections::HashMap>>>, Self::Err> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:317:118 [INFO] [stderr] | [INFO] [stderr] 317 | fn update2(&self, settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>>, fla... [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:317:204 [INFO] [stderr] | [INFO] [stderr] 317 | ...32, args: ::std::collections::HashMap<&str, arg::Variant>>) -> Result<::std::collections::HashMap [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:317:283 [INFO] [stderr] | [INFO] [stderr] 317 | ...lt<::std::collections::HashMap>>, Self::Err> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:45:80 [INFO] [stderr] | [INFO] [stderr] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 | fn activate_vpn_connections(c: &Connection, config: &Config) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | fn dbus_connect() -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 | fn dbus_connect() -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:89:58 [INFO] [stderr] | [INFO] [stderr] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 | fn reconnect_vpn_loop(config: &Config) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:119:29 [INFO] [stderr] | [INFO] [stderr] 119 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 119 | fn main() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanager.rs:35:78 [INFO] [stderr] | [INFO] [stderr] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:26:37 [INFO] [stderr] | [INFO] [stderr] 26 | let value: arg::Variant> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 | let value: arg::Variant> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:37:78 [INFO] [stderr] | [INFO] [stderr] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | let value: arg::Variant> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 | let value: arg::Variant> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:288:112 [INFO] [stderr] | [INFO] [stderr] 288 | ... let settings: ::std::collections::HashMap>>> = ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 288 | let settings: ::std::collections::HashMap>>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:299:111 [INFO] [stderr] | [INFO] [stderr] 299 | ... let secrets: ::std::collections::HashMap>>> = i... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 299 | let secrets: ::std::collections::HashMap>>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:326:74 [INFO] [stderr] | [INFO] [stderr] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 326 | let result: ::std::collections::HashMap>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:349:110 [INFO] [stderr] | [INFO] [stderr] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 349 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:362:110 [INFO] [stderr] | [INFO] [stderr] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 362 | let properties: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:432:108 [INFO] [stderr] | [INFO] [stderr] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 432 | let settings: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant>>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/networkmanagersettingsconnection.rs:434:70 [INFO] [stderr] | [INFO] [stderr] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 434 | let args: ::std::collections::HashMap<&str, arg::Variant>> = i.read()?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: methods `get_all` and `set` are never used [INFO] [stderr] --> src/networkmanager.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait OrgFreedesktopDBusProperties { [INFO] [stderr] | ---------------------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `introspect` is never used [INFO] [stderr] --> src/networkmanager.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stderr] | -------------------------------- method in this trait [INFO] [stderr] 75 | type Err; [INFO] [stderr] 76 | fn introspect(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `ping` and `get_machine_id` are never used [INFO] [stderr] --> src/networkmanager.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stderr] | ---------------------- methods in this trait [INFO] [stderr] 93 | type Err; [INFO] [stderr] 94 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^ [INFO] [stderr] 95 | fn get_machine_id(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/networkmanager.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 118 | pub trait OrgFreedesktopNetworkManager { [INFO] [stderr] | ---------------------------- methods in this trait [INFO] [stderr] 119 | type Err; [INFO] [stderr] 120 | fn reload(&self, flags: u32) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 121 | fn get_devices(&self) -> Result>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 122 | fn get_device_by_ip_iface(&self, iface: &str) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 123 | fn activate_connection(&self, connection: dbus::Path, device: dbus::Path, specific_object: dbus::Path) -> Result,... [INFO] [stderr] 124 | fn add_and_activate_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 126 | fn sleep(&self, sleep: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 127 | fn enable(&self, enable: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 128 | fn get_permissions(&self) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 129 | fn set_logging(&self, level: &str, domains: &str) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 130 | fn get_logging(&self) -> Result<(String, String), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 131 | fn check_connectivity(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 132 | fn state(&self) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 133 | fn checkpoint_create(&self, devices: Vec, rollback_timeout: u32, flags: u32) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 134 | fn checkpoint_destroy(&self, checkpoint: dbus::Path) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 135 | fn checkpoint_rollback(&self, checkpoint: dbus::Path) -> Result<::std::collections::HashMap, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 136 | fn get_all_devices(&self) -> Result>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 137 | fn get_networking_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 138 | fn get_wireless_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 139 | fn set_wireless_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 140 | fn get_wireless_hardware_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 141 | fn get_wwan_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 142 | fn set_wwan_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 143 | fn get_wwan_hardware_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 144 | fn get_wimax_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 145 | fn set_wimax_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 146 | fn get_wimax_hardware_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 147 | fn get_active_connections(&self) -> Result>, Self::Err>; [INFO] [stderr] 148 | fn get_primary_connection(&self) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 149 | fn get_primary_connection_type(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 150 | fn get_metered(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 151 | fn get_activating_connection(&self) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 152 | fn get_startup(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 153 | fn get_version(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 154 | fn get_capabilities(&self) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 155 | fn get_state(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 156 | fn get_connectivity(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 157 | fn get_connectivity_check_available(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 158 | fn get_connectivity_check_enabled(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 159 | fn set_connectivity_check_enabled(&self, value: bool) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 160 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 161 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Resul... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `introspect` is never used [INFO] [stderr] --> src/networkmanagersettings.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stderr] | -------------------------------- method in this trait [INFO] [stderr] 30 | type Err; [INFO] [stderr] 31 | fn introspect(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `ping` and `get_machine_id` are never used [INFO] [stderr] --> src/networkmanagersettings.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub trait OrgFreedesktopDBusPeer { [INFO] [stderr] | ---------------------- methods in this trait [INFO] [stderr] 48 | type Err; [INFO] [stderr] 49 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^ [INFO] [stderr] 50 | fn get_machine_id(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/networkmanagersettings.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 73 | pub trait OrgFreedesktopNetworkManagerSettings { [INFO] [stderr] | ------------------------------------ methods in this trait [INFO] [stderr] ... [INFO] [stderr] 76 | fn get_connection_by_uuid(&self, uuid: &str) -> Result, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 77 | fn add_connection(&self, connection: ::std::collections::HashMap<&str, ::std::collections::HashMap<&str, arg::Variant) -> Result<(bool, Vec), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 80 | fn reload_connections(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 81 | fn save_hostname(&self, hostname: &str) -> Result<(), Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 82 | fn get_connections(&self) -> Result>, Self::Err>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 83 | fn get_hostname(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 84 | fn get_can_modify(&self) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VPNConfig` [INFO] [stderr] 29 | struct VPNConfig { [INFO] [stderr] | --------- `VPNConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:28:39 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VPNConfig` [INFO] [stderr] 29 | struct VPNConfig { [INFO] [stderr] | --------- `VPNConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:36:28 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stderr] 37 | struct Config { [INFO] [stderr] | ------ `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] 37 | struct Config { [INFO] [stderr] | ------ `Config` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust-vpn-reconnect` (bin "rust-vpn-reconnect" test) generated 68 warnings (run `cargo fix --bin "rust-vpn-reconnect" --tests` to apply 53 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_vpn_reconnect-0348b236b7af3e98) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5f12496b2b1876e1ca4b7b240be377084b2329ae26c61d758dc7d26e37b20dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f12496b2b1876e1ca4b7b240be377084b2329ae26c61d758dc7d26e37b20dc", kill_on_drop: false }` [INFO] [stdout] d5f12496b2b1876e1ca4b7b240be377084b2329ae26c61d758dc7d26e37b20dc