[INFO] cloning repository https://github.com/LevitatingOrange/corprox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LevitatingOrange/corprox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fcorprox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fcorprox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 946c58795d1129bc50609c3e3880e5e74a572ec6 [INFO] building LevitatingOrange/corprox against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fcorprox" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LevitatingOrange/corprox [INFO] finished tweaking git repo https://github.com/LevitatingOrange/corprox [INFO] tweaked toml for git repo https://github.com/LevitatingOrange/corprox written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LevitatingOrange/corprox on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LevitatingOrange/corprox 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c2474dc285e87e84d1c0c6e675b00a7e6ee850f0f9676a6a139d781f255669 [INFO] running `Command { std: "docker" "start" "-a" "32c2474dc285e87e84d1c0c6e675b00a7e6ee850f0f9676a6a139d781f255669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c2474dc285e87e84d1c0c6e675b00a7e6ee850f0f9676a6a139d781f255669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c2474dc285e87e84d1c0c6e675b00a7e6ee850f0f9676a6a139d781f255669", kill_on_drop: false }` [INFO] [stdout] 32c2474dc285e87e84d1c0c6e675b00a7e6ee850f0f9676a6a139d781f255669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d0d8333f995a3408ae7b0287aed5d8abf70657a577e8a33ad468cd1241c6fb [INFO] running `Command { std: "docker" "start" "-a" "20d0d8333f995a3408ae7b0287aed5d8abf70657a577e8a33ad468cd1241c6fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dbus v0.9.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling dialoguer v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling dbus-tokio v0.7.5 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling corprox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ffi::OsStr` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use dbus::nonblock::{Connection, Proxy, SyncConnection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AF_UNSPEC` [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{AF_INET, AF_INET6, AF_UNSPEC}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cache_sudo` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::util::{cache_sudo, get_credentials, is_pid_alive}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrappers::ReadDirStream` [INFO] [stdout] --> src/main.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio_stream::{wrappers::ReadDirStream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut output = Command::new("ps") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vpn_config` [INFO] [stdout] --> src/main.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | async fn stop(vpn_config: &VpnConfig, run_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vpn_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / async fn setup_resolved( [INFO] [stdout] 177 | | vpn_config: &VpnConfig, [INFO] [stdout] 178 | | dbus_conn: Arc, [INFO] [stdout] 179 | | interface_number: i32, [INFO] [stdout] 180 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | .method_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 202 ~ .method_call::<(), _, _, _>( [INFO] [stdout] 203 | DBUS_METHOD_OBJ, [INFO] [stdout] ... [INFO] [stdout] 208 | proxy [INFO] [stdout] 209 ~ .method_call::<(), _, _, _>( [INFO] [stdout] 210 | DBUS_METHOD_OBJ, [INFO] [stdout] ... [INFO] [stdout] 215 | proxy [INFO] [stdout] 216 ~ .method_call::<(), _, _, _>(DBUS_METHOD_OBJ, "SetLinkDNS", (interface_number, dnses)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio_stream::{wrappers::ReadDirStream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_sudo` is never used [INFO] [stdout] --> src/util.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn cache_sudo() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/config.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_vpn_config<'a>(&'a self, name: &str) -> Option<&VpnConfig> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_vpn_config<'a>(&'a self, name: &str) -> Option<&'a VpnConfig> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: corprox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "20d0d8333f995a3408ae7b0287aed5d8abf70657a577e8a33ad468cd1241c6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d0d8333f995a3408ae7b0287aed5d8abf70657a577e8a33ad468cd1241c6fb", kill_on_drop: false }` [INFO] [stdout] 20d0d8333f995a3408ae7b0287aed5d8abf70657a577e8a33ad468cd1241c6fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 002dccb11753f514d0866cfa3429d47b7a8d28f6a981af9ea276b1bebd6a9de8 [INFO] running `Command { std: "docker" "start" "-a" "002dccb11753f514d0866cfa3429d47b7a8d28f6a981af9ea276b1bebd6a9de8", kill_on_drop: false }` [INFO] [stderr] Compiling corprox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ffi::OsStr` [INFO] [stdout] --> src/util.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use dbus::nonblock::{Connection, Proxy, SyncConnection}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AF_UNSPEC` [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{AF_INET, AF_INET6, AF_UNSPEC}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cache_sudo` [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::util::{cache_sudo, get_credentials, is_pid_alive}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrappers::ReadDirStream` [INFO] [stdout] --> src/main.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio_stream::{wrappers::ReadDirStream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut output = Command::new("ps") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vpn_config` [INFO] [stdout] --> src/main.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | async fn stop(vpn_config: &VpnConfig, run_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vpn_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / async fn setup_resolved( [INFO] [stdout] 177 | | vpn_config: &VpnConfig, [INFO] [stdout] 178 | | dbus_conn: Arc, [INFO] [stdout] 179 | | interface_number: i32, [INFO] [stdout] 180 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/main.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | .method_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 202 ~ .method_call::<(), _, _, _>( [INFO] [stdout] 203 | DBUS_METHOD_OBJ, [INFO] [stdout] ... [INFO] [stdout] 208 | proxy [INFO] [stdout] 209 ~ .method_call::<(), _, _, _>( [INFO] [stdout] 210 | DBUS_METHOD_OBJ, [INFO] [stdout] ... [INFO] [stdout] 215 | proxy [INFO] [stdout] 216 ~ .method_call::<(), _, _, _>(DBUS_METHOD_OBJ, "SetLinkDNS", (interface_number, dnses)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio_stream::{wrappers::ReadDirStream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_sudo` is never used [INFO] [stdout] --> src/util.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn cache_sudo() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/config.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_vpn_config<'a>(&'a self, name: &str) -> Option<&VpnConfig> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_vpn_config<'a>(&'a self, name: &str) -> Option<&'a VpnConfig> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: corprox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "002dccb11753f514d0866cfa3429d47b7a8d28f6a981af9ea276b1bebd6a9de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002dccb11753f514d0866cfa3429d47b7a8d28f6a981af9ea276b1bebd6a9de8", kill_on_drop: false }` [INFO] [stdout] 002dccb11753f514d0866cfa3429d47b7a8d28f6a981af9ea276b1bebd6a9de8