[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] checking LevitatingOrange/corprox/946c58795d1129bc50609c3e3880e5e74a572ec6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLevitatingOrange%2Fcorprox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LevitatingOrange/corprox on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4748f4f8834ad38a1d97af62d3e852bdcf51b2414570199b78a41bdeeb7fa12c [INFO] running `Command { std: "docker" "start" "-a" "4748f4f8834ad38a1d97af62d3e852bdcf51b2414570199b78a41bdeeb7fa12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4748f4f8834ad38a1d97af62d3e852bdcf51b2414570199b78a41bdeeb7fa12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4748f4f8834ad38a1d97af62d3e852bdcf51b2414570199b78a41bdeeb7fa12c", kill_on_drop: false }` [INFO] [stdout] 4748f4f8834ad38a1d97af62d3e852bdcf51b2414570199b78a41bdeeb7fa12c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88896c9ce0634340cf34d51e8a6ffe585f11b55fe26ed0ed59e7087982fe45d [INFO] running `Command { std: "docker" "start" "-a" "c88896c9ce0634340cf34d51e8a6ffe585f11b55fe26ed0ed59e7087982fe45d", 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 log v0.4.17 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking 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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling libdbus-sys v0.2.2 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking dbus v0.9.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking dialoguer v0.10.1 [INFO] [stderr] Checking addr2line v0.17.0 [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] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking dbus-tokio v0.7.5 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking 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)]` 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: 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)]` 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: 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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [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)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [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)]` on by default [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)]` on by default [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)]` 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)]` 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)]` on by default [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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 333 | let (resource, conn) = connection::new_system_sync()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let mut resource_handle = tokio::spawn(async { resource.await }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 333 | let (resource, conn) = connection::new_system_sync()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let mut resource_handle = tokio::spawn(async { resource.await }); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corprox` (bin "corprox") due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corprox` (bin "corprox" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c88896c9ce0634340cf34d51e8a6ffe585f11b55fe26ed0ed59e7087982fe45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88896c9ce0634340cf34d51e8a6ffe585f11b55fe26ed0ed59e7087982fe45d", kill_on_drop: false }` [INFO] [stdout] c88896c9ce0634340cf34d51e8a6ffe585f11b55fe26ed0ed59e7087982fe45d