[INFO] cloning repository https://github.com/subgraph/sgstatus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/subgraph/sgstatus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fsgstatus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fsgstatus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e49ffc869fcd2a6b432e0f0a63e32bd8f280d51 [INFO] checking subgraph/sgstatus against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsubgraph%2Fsgstatus" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/subgraph/sgstatus [INFO] finished tweaking git repo https://github.com/subgraph/sgstatus [INFO] tweaked toml for git repo https://github.com/subgraph/sgstatus written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/subgraph/sgstatus on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/subgraph/sgstatus already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v0.3.5 [INFO] [stderr] Downloaded libdbus-sys v0.1.2 [INFO] [stderr] Downloaded dbus-tokio v0.2.1 [INFO] [stderr] Downloaded env_logger v0.5.4 [INFO] [stderr] Downloaded dbus v0.6.1 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] [stderr] Downloaded libpulse-sys v1.0.2 [INFO] [stderr] Downloaded libpulse-binding v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f76c2172c8eaf348e887228f7c590080f6d0db9bf427132074f6ec8a1dcf367 [INFO] running `Command { std: "docker" "start" "-a" "3f76c2172c8eaf348e887228f7c590080f6d0db9bf427132074f6ec8a1dcf367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f76c2172c8eaf348e887228f7c590080f6d0db9bf427132074f6ec8a1dcf367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f76c2172c8eaf348e887228f7c590080f6d0db9bf427132074f6ec8a1dcf367", kill_on_drop: false }` [INFO] [stdout] 3f76c2172c8eaf348e887228f7c590080f6d0db9bf427132074f6ec8a1dcf367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f77db30bbe72978fa36b6286d2fb1227383438b67bab8da0b8ca4920eb7a237 [INFO] running `Command { std: "docker" "start" "-a" "4f77db30bbe72978fa36b6286d2fb1227383438b67bab8da0b8ca4920eb7a237", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Compiling libpulse-sys v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking termcolor v0.3.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Compiling libdbus-sys v0.1.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking libpulse-binding v1.0.3 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking dbus v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.5 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking env_logger v0.5.4 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Checking dbus-tokio v0.2.1 [INFO] [stderr] Checking sgstatus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"GetAll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:35:95 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Set".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | self.interface_name = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | self.changed_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | self.invalidated_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Introspectable".into(), &"Introspect".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | let xml_data: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"Ping".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"GetMachineId".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let machine_uuid: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Reload".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetDevices".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:183:49 [INFO] [stdout] | [INFO] [stdout] 183 | let devices: Vec> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetAllDevices".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:192:49 [INFO] [stdout] | [INFO] [stdout] 192 | let devices: Vec> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetDeviceByIpIface".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:203:43 [INFO] [stdout] | [INFO] [stdout] 203 | let device: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"ActivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:216:54 [INFO] [stdout] | [INFO] [stdout] 216 | let active_connection: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"AddAndActivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | let path: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | let active_connection: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"DeactivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Sleep".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Enable".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetPermissions".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:266:72 [INFO] [stdout] | [INFO] [stdout] 266 | let permissions: ::std::collections::HashMap = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"SetLogging".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetLogging".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | let level: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | let domains: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckConnectivity".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | let connectivity: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"state".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:304:26 [INFO] [stdout] | [INFO] [stdout] 304 | let state: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointCreate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | let checkpoint: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointDestroy".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointRollback".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:337:64 [INFO] [stdout] | [INFO] [stdout] 337 | let result: ::std::collections::HashMap = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | self.state = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:497:27 [INFO] [stdout] | [INFO] [stdout] 497 | self.properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | self.device_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | self.device_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | ... 98 ... 100 => return String::from("battery-full-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | ... 40 ... 97 => return String::from("battery-good-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | ... 21 ... 39 => return String::from("battery-medium-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | ... 5 ... 20 => return String::from("battery-low-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | ... 0 ... 4 => return String::from("battery-caution-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | ... 98 ... 100 => return String::from("battery-full-charged-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | ... 40 ... 97 => return String::from("battery-good-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... 21 ... 39 => return String::from("battery-medium-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | ... 5 ... 20 => return String::from("battery-low-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | ... 0 ... 4 => return String::from("battery-caution-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"GetAll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:35:95 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Set".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | self.interface_name = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | self.changed_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | self.invalidated_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Introspectable".into(), &"Introspect".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | let xml_data: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"Ping".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"GetMachineId".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let machine_uuid: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"Refresh".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"GetHistory".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | let data: Vec<(u32, f64, u32)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"GetStatistics".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | let data: Vec<(f64, f64)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"Scroll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"Activate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"SecondaryActivate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(d.scroll(delta, orientation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let delta: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | let orientation: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(d.activate(x, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let x: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let y: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(d.secondary_activate(x, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | let x: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let y: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | a.append(try!(d.get_id())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | a.append(try!(d.get_category())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | a.append(try!(d.get_status())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | a.append(try!(d.get_icon_name())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | a.append(try!(d.get_icon_pix_map())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | a.append(try!(d.get_attention_icon_name())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | a.append(try!(d.get_title())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | a.append(try!(d.get_icon_theme_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | a.append(try!(d.get_menu())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | self.icon_theme_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | self.status = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | ... let mut m = try!(self.method_call_with_args(&"org.freedesktop.StatusNotifierWatcher".into(), &"RegisterStatusNotifierItem".into(), ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | ... let mut m = try!(self.method_call_with_args(&"org.freedesktop.StatusNotifierWatcher".into(), &"RegisterStatusNotifierHost".into(), ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(d.register_status_notifier_item(service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let service: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(d.register_status_notifier_host(service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let service: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | a.append(try!(d.get_protocol_version())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | a.append(try!(d.get_is_status_notifier_host_registered())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | a.append(try!(d.get_registered_status_notifier_items())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | self.service = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | self.service = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/volume.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | 26 ... 75 => return String::from("audio-volume-medium-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/volume.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | 1 ... 25 => return String::from("audio-volume-low-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 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/network_manager.rs:487:74 [INFO] [stdout] | [INFO] [stdout] 487 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 487 | 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/upower.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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:16:89 [INFO] [stdout] | [INFO] [stdout] 16 | 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 2015) 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] 16 | 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/network_manager.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | 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 2015) 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] 8 | 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/network_manager.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/network_manager.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/network_manager.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | 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 2015) 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] 39 | 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/network_manager.rs:10:86 [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] = warning: this is accepted in the current edition (Rust 2015) 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 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/network_manager.rs:220:140 [INFO] [stdout] | [INFO] [stdout] 220 | ...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 2015) 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] 220 | 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/network_manager.rs:125:140 [INFO] [stdout] | [INFO] [stdout] 125 | ...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 2015) 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] 125 | 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/network_manager.rs:429:107 [INFO] [stdout] | [INFO] [stdout] 429 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 429 | 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/network_manager.rs:162:107 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 162 | 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/network_manager.rs:449:104 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 449 | 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/network_manager.rs:163:104 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 163 | 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/upower.rs:16:89 [INFO] [stdout] | [INFO] [stdout] 16 | 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 2015) 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] 16 | 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/upower.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | 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 2015) 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] 8 | 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/upower.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/upower.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/upower.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | 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 2015) 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] 39 | 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/upower.rs:10:86 [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] = warning: this is accepted in the current edition (Rust 2015) 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 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/network_manager.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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>> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | (&self.interface_name as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 62 | (&self.interface_name as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | (&self.changed_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 63 | (&self.changed_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | (&self.invalidated_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 64 | (&self.invalidated_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | (&self.state as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 477 | (&self.state as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:494:31 [INFO] [stdout] | [INFO] [stdout] 494 | (&self.properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 494 | (&self.properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:511:32 [INFO] [stdout] | [INFO] [stdout] 511 | (&self.device_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 511 | (&self.device_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | (&self.device_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 528 | (&self.device_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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>> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | (&self.interface_name as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 62 | (&self.interface_name as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | (&self.changed_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 63 | (&self.changed_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | (&self.invalidated_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 64 | (&self.invalidated_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_item.rs:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | (&self.icon_theme_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 273 | (&self.icon_theme_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_item.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | (&self.status as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 304 | (&self.status as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_watcher.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | (&self.service as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 131 | (&self.service as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_watcher.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | (&self.service as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 148 | (&self.service as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"GetAll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:35:95 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Set".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | self.interface_name = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | self.changed_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | self.invalidated_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Introspectable".into(), &"Introspect".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | let xml_data: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"Ping".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"GetMachineId".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let machine_uuid: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Reload".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetDevices".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:183:49 [INFO] [stdout] | [INFO] [stdout] 183 | let devices: Vec> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetAllDevices".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:192:49 [INFO] [stdout] | [INFO] [stdout] 192 | let devices: Vec> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetDeviceByIpIface".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:203:43 [INFO] [stdout] | [INFO] [stdout] 203 | let device: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"ActivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:216:54 [INFO] [stdout] | [INFO] [stdout] 216 | let active_connection: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"AddAndActivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | let path: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | let active_connection: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"DeactivateConnection".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Sleep".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"Enable".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetPermissions".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:266:72 [INFO] [stdout] | [INFO] [stdout] 266 | let permissions: ::std::collections::HashMap = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"SetLogging".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"GetLogging".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | let level: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | let domains: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckConnectivity".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | let connectivity: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"state".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:304:26 [INFO] [stdout] | [INFO] [stdout] 304 | let state: u32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointCreate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | let checkpoint: dbus::Path<'static> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointDestroy".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.NetworkManager".into(), &"CheckpointRollback".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:337:64 [INFO] [stdout] | [INFO] [stdout] 337 | let result: ::std::collections::HashMap = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | self.state = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:497:27 [INFO] [stdout] | [INFO] [stdout] 497 | self.properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | self.device_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/network_manager.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | self.device_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | ... 98 ... 100 => return String::from("battery-full-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | ... 40 ... 97 => return String::from("battery-good-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | ... 21 ... 39 => return String::from("battery-medium-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | ... 5 ... 20 => return String::from("battery-low-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | ... 0 ... 4 => return String::from("battery-caution-charging-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | ... 98 ... 100 => return String::from("battery-full-charged-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | ... 40 ... 97 => return String::from("battery-good-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... 21 ... 39 => return String::from("battery-medium-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | ... 5 ... 20 => return String::from("battery-low-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/power.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | ... 0 ... 4 => return String::from("battery-caution-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Get".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"GetAll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:35:95 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Properties".into(), &"Set".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | self.interface_name = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | self.changed_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | self.invalidated_properties = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Introspectable".into(), &"Introspect".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | let xml_data: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"Ping".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.DBus.Peer".into(), &"GetMachineId".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let machine_uuid: String = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"Refresh".into(), |_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"GetHistory".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | let data: Vec<(u32, f64, u32)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let mut m = try!(self.method_call_with_args(&"org.freedesktop.UPower.Device".into(), &"GetStatistics".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/upower.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | let data: Vec<(f64, f64)> = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"Scroll".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"Activate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut m = try!(self.method_call_with_args(&"org.kde.StatusNotifierItem".into(), &"SecondaryActivate".into(), |msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(d.scroll(delta, orientation)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let delta: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | let orientation: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(d.activate(x, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let x: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let y: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(d.secondary_activate(x, y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | let x: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let y: i32 = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | a.append(try!(d.get_id())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | a.append(try!(d.get_category())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | a.append(try!(d.get_status())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | a.append(try!(d.get_icon_name())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | a.append(try!(d.get_icon_pix_map())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | a.append(try!(d.get_attention_icon_name())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | a.append(try!(d.get_title())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | a.append(try!(d.get_icon_theme_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | a.append(try!(d.get_menu())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | self.icon_theme_path = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_item.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | self.status = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | ... let mut m = try!(self.method_call_with_args(&"org.freedesktop.StatusNotifierWatcher".into(), &"RegisterStatusNotifierItem".into(), ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(m.as_result()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | ... let mut m = try!(self.method_call_with_args(&"org.freedesktop.StatusNotifierWatcher".into(), &"RegisterStatusNotifierHost".into(), ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | try!(d.register_status_notifier_item(service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let service: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(d.register_status_notifier_host(service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let service: &str = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | a.append(try!(d.get_protocol_version())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | a.append(try!(d.get_is_status_notifier_host_registered())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | a.append(try!(d.get_registered_status_notifier_items())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | self.service = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sni_watcher.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | self.service = try!(i.read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/volume.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | 26 ... 75 => return String::from("audio-volume-medium-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/volume.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | 1 ... 25 => return String::from("audio-volume-low-symbolic"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 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/network_manager.rs:487:74 [INFO] [stdout] | [INFO] [stdout] 487 | pub properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 487 | 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/upower.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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all` and `set` are never used [INFO] [stdout] --> src/network_manager.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::Err>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/network_manager.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/network_manager.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopNetworkManager` is never used [INFO] [stdout] --> src/network_manager.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopNetworkManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerCheckPermissions` is never constructed [INFO] [stdout] --> src/network_manager.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct OrgFreedesktopNetworkManagerCheckPermissions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerStateChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | pub struct OrgFreedesktopNetworkManagerStateChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerPropertiesChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct OrgFreedesktopNetworkManagerPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceAdded` is never constructed [INFO] [stdout] --> src/network_manager.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | pub struct OrgFreedesktopNetworkManagerDeviceAdded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceRemoved` is never constructed [INFO] [stdout] --> src/network_manager.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub struct OrgFreedesktopNetworkManagerDeviceRemoved { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all` and `set` are never used [INFO] [stdout] --> src/upower.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::Err>; [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] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/upower.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/upower.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/upower.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/upower.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopUPowerDevice { [INFO] [stdout] | -------------------------- methods in this trait [INFO] [stdout] 119 | type Err; [INFO] [stdout] 120 | fn refresh(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 121 | fn get_history(&self, type_arg: &str, timespan: u32, resolution: u32) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | fn get_statistics(&self, type_arg: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | fn get_native_path(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | fn get_vendor(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 125 | fn get_model(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 126 | fn get_serial(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | fn get_update_time(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | fn get_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | fn get_power_supply(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | fn get_has_history(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | fn get_has_statistics(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | fn get_online(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | fn get_energy(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 134 | fn get_energy_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fn get_energy_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | fn get_energy_full_design(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | fn get_energy_rate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | fn get_voltage(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 139 | fn get_luminosity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 140 | fn get_time_to_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | fn get_time_to_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | fn get_percentage(&self) -> Result; [INFO] [stdout] 143 | fn get_temperature(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | fn get_is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | fn get_state(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | fn get_is_rechargeable(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | fn get_capacity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 148 | fn get_technology(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | fn get_warning_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | fn get_battery_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | fn get_icon_name(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | volume_tx = VOLUME_TX.as_ref().unwrap().lock().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/volume.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | let sender = VOLUME_TX.as_ref().unwrap().lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:16:89 [INFO] [stdout] | [INFO] [stdout] 16 | 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 2015) 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] 16 | 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/network_manager.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | 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 2015) 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] 8 | 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/network_manager.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/network_manager.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/network_manager.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | 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 2015) 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] 39 | 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/network_manager.rs:10:86 [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] = warning: this is accepted in the current edition (Rust 2015) 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 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/network_manager.rs:220:140 [INFO] [stdout] | [INFO] [stdout] 220 | ...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 2015) 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] 220 | 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/network_manager.rs:125:140 [INFO] [stdout] | [INFO] [stdout] 125 | ...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 2015) 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] 125 | 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/network_manager.rs:429:107 [INFO] [stdout] | [INFO] [stdout] 429 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 429 | 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/network_manager.rs:162:107 [INFO] [stdout] | [INFO] [stdout] 162 | fn get_global_dns_configuration(&self) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 162 | 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/network_manager.rs:449:104 [INFO] [stdout] | [INFO] [stdout] 449 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 449 | 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/network_manager.rs:163:104 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_global_dns_configuration(&self, value: ::std::collections::HashMap>>) -> Result<(), Self... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 163 | 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/upower.rs:16:89 [INFO] [stdout] | [INFO] [stdout] 16 | 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 2015) 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] 16 | 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/upower.rs:8:89 [INFO] [stdout] | [INFO] [stdout] 8 | 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 2015) 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] 8 | 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/upower.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/upower.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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/upower.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | 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 2015) 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] 39 | 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/upower.rs:10:86 [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] = warning: this is accepted in the current edition (Rust 2015) 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 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/network_manager.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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>> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | (&self.interface_name as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 62 | (&self.interface_name as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | (&self.changed_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 63 | (&self.changed_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | (&self.invalidated_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 64 | (&self.invalidated_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:477:26 [INFO] [stdout] | [INFO] [stdout] 477 | (&self.state as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 477 | (&self.state as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:494:31 [INFO] [stdout] | [INFO] [stdout] 494 | (&self.properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 494 | (&self.properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:511:32 [INFO] [stdout] | [INFO] [stdout] 511 | (&self.device_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 511 | (&self.device_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/network_manager.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | (&self.device_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 528 | (&self.device_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 24 | let value: arg::Variant> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = try!(i.read()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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>> = try!(i.read()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | (&self.interface_name as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 62 | (&self.interface_name as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | (&self.changed_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 63 | (&self.changed_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/upower.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | (&self.invalidated_properties as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 64 | (&self.invalidated_properties as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_item.rs:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | (&self.icon_theme_path as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 273 | (&self.icon_theme_path as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_item.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | (&self.status as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 304 | (&self.status as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_watcher.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | (&self.service as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 131 | (&self.service as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sni_watcher.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | (&self.service as &arg::RefArg).append(i); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] 148 | (&self.service as &dyn arg::RefArg).append(i); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all` and `set` are never used [INFO] [stdout] --> src/network_manager.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::Err>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant>) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/network_manager.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/network_manager.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopNetworkManager` is never used [INFO] [stdout] --> src/network_manager.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopNetworkManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerCheckPermissions` is never constructed [INFO] [stdout] --> src/network_manager.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | pub struct OrgFreedesktopNetworkManagerCheckPermissions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerStateChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | pub struct OrgFreedesktopNetworkManagerStateChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerPropertiesChanged` is never constructed [INFO] [stdout] --> src/network_manager.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub struct OrgFreedesktopNetworkManagerPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceAdded` is never constructed [INFO] [stdout] --> src/network_manager.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | pub struct OrgFreedesktopNetworkManagerDeviceAdded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrgFreedesktopNetworkManagerDeviceRemoved` is never constructed [INFO] [stdout] --> src/network_manager.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub struct OrgFreedesktopNetworkManagerDeviceRemoved { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all` and `set` are never used [INFO] [stdout] --> src/upower.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::Err>; [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] [INFO] [stdout] warning: struct `OrgFreedesktopDBusPropertiesPropertiesChanged` is never constructed [INFO] [stdout] --> src/upower.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrgFreedesktopDBusPropertiesPropertiesChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusIntrospectable` is never used [INFO] [stdout] --> src/upower.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OrgFreedesktopDBusPeer` is never used [INFO] [stdout] --> src/upower.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/upower.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait OrgFreedesktopUPowerDevice { [INFO] [stdout] | -------------------------- methods in this trait [INFO] [stdout] 119 | type Err; [INFO] [stdout] 120 | fn refresh(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 121 | fn get_history(&self, type_arg: &str, timespan: u32, resolution: u32) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | fn get_statistics(&self, type_arg: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | fn get_native_path(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | fn get_vendor(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 125 | fn get_model(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 126 | fn get_serial(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | fn get_update_time(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | fn get_type(&self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | fn get_power_supply(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | fn get_has_history(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | fn get_has_statistics(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | fn get_online(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | fn get_energy(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 134 | fn get_energy_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | fn get_energy_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | fn get_energy_full_design(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | fn get_energy_rate(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 138 | fn get_voltage(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 139 | fn get_luminosity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 140 | fn get_time_to_empty(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | fn get_time_to_full(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | fn get_percentage(&self) -> Result; [INFO] [stdout] 143 | fn get_temperature(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | fn get_is_present(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 145 | fn get_state(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | fn get_is_rechargeable(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | fn get_capacity(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 148 | fn get_technology(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 149 | fn get_warning_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | fn get_battery_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | fn get_icon_name(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | volume_tx = VOLUME_TX.as_ref().unwrap().lock().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/volume.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | let sender = VOLUME_TX.as_ref().unwrap().lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.25s [INFO] running `Command { std: "docker" "inspect" "4f77db30bbe72978fa36b6286d2fb1227383438b67bab8da0b8ca4920eb7a237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f77db30bbe72978fa36b6286d2fb1227383438b67bab8da0b8ca4920eb7a237", kill_on_drop: false }` [INFO] [stdout] 4f77db30bbe72978fa36b6286d2fb1227383438b67bab8da0b8ca4920eb7a237