[INFO] cloning repository https://github.com/blahgeek/kissvpn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blahgeek/kissvpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblahgeek%2Fkissvpn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblahgeek%2Fkissvpn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f229de59734cd56378fd7955be562f6c2194eb3 [INFO] checking blahgeek/kissvpn against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblahgeek%2Fkissvpn" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blahgeek/kissvpn on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blahgeek/kissvpn [INFO] finished tweaking git repo https://github.com/blahgeek/kissvpn [INFO] tweaked toml for git repo https://github.com/blahgeek/kissvpn written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/blahgeek/kissvpn 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a110c0392a247ea29c101ba62721de64972a4d76f7131389e57cd308fb27bdd [INFO] running `Command { std: "docker" "start" "-a" "6a110c0392a247ea29c101ba62721de64972a4d76f7131389e57cd308fb27bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a110c0392a247ea29c101ba62721de64972a4d76f7131389e57cd308fb27bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a110c0392a247ea29c101ba62721de64972a4d76f7131389e57cd308fb27bdd", kill_on_drop: false }` [INFO] [stdout] 6a110c0392a247ea29c101ba62721de64972a4d76f7131389e57cd308fb27bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9216662a5c40627f87d8762214e438c448a6073876e5e9ceb0298c148fe025c [INFO] running `Command { std: "docker" "start" "-a" "e9216662a5c40627f87d8762214e438c448a6073876e5e9ceb0298c148fe025c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking kissvpn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Socket` is never used [INFO] [stdout] --> src/faketcp/client.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Socket = super::socket::Socket; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINGERING_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LINGERING_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACTIVE_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ACTIVE_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CONNECT_TIMEOUT_DURATION: std::time::Duration = std::time::Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_PORT_RANGE` is never used [INFO] [stdout] --> src/faketcp/client.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CLIENT_PORT_RANGE: Range = 10000..60000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketTable` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct SocketTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map_mut`, `next_local_port`, `maintain`, `feed_packet`, and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SocketTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 32 | fn map_mut(&mut self, mut f: F) where F: FnMut(&mut Socket) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn next_local_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn maintain(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn feed_packet(&mut self, buf: &Bytes, received_data_queue: &mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn send_data(&mut self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(raw_sock_fd: OwnedFd, local_ip: Ipv4Addr, remote_addr: SocketAddrV4) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn send_data(&self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/faketcp/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Socket` is never used [INFO] [stdout] --> src/faketcp/client.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Socket = super::socket::Socket; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINGERING_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LINGERING_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACTIVE_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ACTIVE_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CONNECT_TIMEOUT_DURATION: std::time::Duration = std::time::Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_PORT_RANGE` is never used [INFO] [stdout] --> src/faketcp/client.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CLIENT_PORT_RANGE: Range = 10000..60000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketTable` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct SocketTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map_mut`, `next_local_port`, `maintain`, `feed_packet`, and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SocketTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 32 | fn map_mut(&mut self, mut f: F) where F: FnMut(&mut Socket) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn next_local_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn maintain(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn feed_packet(&mut self, buf: &Bytes, received_data_queue: &mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn send_data(&mut self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(raw_sock_fd: OwnedFd, local_ip: Ipv4Addr, remote_addr: SocketAddrV4) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn send_data(&self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/faketcp/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.05s [INFO] running `Command { std: "docker" "inspect" "e9216662a5c40627f87d8762214e438c448a6073876e5e9ceb0298c148fe025c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9216662a5c40627f87d8762214e438c448a6073876e5e9ceb0298c148fe025c", kill_on_drop: false }` [INFO] [stdout] e9216662a5c40627f87d8762214e438c448a6073876e5e9ceb0298c148fe025c [INFO] checking blahgeek/kissvpn against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblahgeek%2Fkissvpn" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blahgeek/kissvpn on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blahgeek/kissvpn [INFO] finished tweaking git repo https://github.com/blahgeek/kissvpn [INFO] tweaked toml for git repo https://github.com/blahgeek/kissvpn written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/blahgeek/kissvpn 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c1da73ec9ed3ca98c2c657bbf28076f9d5e18f5f58b0ea3229d02d39a2b803 [INFO] running `Command { std: "docker" "start" "-a" "33c1da73ec9ed3ca98c2c657bbf28076f9d5e18f5f58b0ea3229d02d39a2b803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c1da73ec9ed3ca98c2c657bbf28076f9d5e18f5f58b0ea3229d02d39a2b803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c1da73ec9ed3ca98c2c657bbf28076f9d5e18f5f58b0ea3229d02d39a2b803", kill_on_drop: false }` [INFO] [stdout] 33c1da73ec9ed3ca98c2c657bbf28076f9d5e18f5f58b0ea3229d02d39a2b803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e1bc9ea6ad0ce80491aee3a9242c09ad031059d5875dbdaa4df790831a54c1 [INFO] running `Command { std: "docker" "start" "-a" "03e1bc9ea6ad0ce80491aee3a9242c09ad031059d5875dbdaa4df790831a54c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking clap-verbosity-flag v2.2.0 [INFO] [stderr] Checking kissvpn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Socket` is never used [INFO] [stdout] --> src/faketcp/client.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Socket = super::socket::Socket; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINGERING_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LINGERING_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACTIVE_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ACTIVE_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CONNECT_TIMEOUT_DURATION: std::time::Duration = std::time::Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_PORT_RANGE` is never used [INFO] [stdout] --> src/faketcp/client.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CLIENT_PORT_RANGE: Range = 10000..60000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketTable` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct SocketTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map_mut`, `next_local_port`, `maintain`, `feed_packet`, and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SocketTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 32 | fn map_mut(&mut self, mut f: F) where F: FnMut(&mut Socket) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn next_local_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn maintain(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn feed_packet(&mut self, buf: &Bytes, received_data_queue: &mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn send_data(&mut self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(raw_sock_fd: OwnedFd, local_ip: Ipv4Addr, remote_addr: SocketAddrV4) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn send_data(&self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [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/transport/udp.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create(remote_addr: TR, options: UdpClientTransportOptions) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | .next().ok_or(anyhow::format_err!("lookup_host failed"))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | info!("Creating udp client transport to {remote_addr}"); [INFO] [stdout] 54 | Ok(UdpClientTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | remote_addr, [INFO] [stdout] 56 | | options, [INFO] [stdout] 57 | | sock_ctxs: Mutex::new(BTreeMap::new()), [INFO] [stdout] 58 | | epoll: Epoll::new(nix::sys::epoll::EpollCreateFlags::empty())?, [INFO] [stdout] 59 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/transport/udp.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 131 | fn send(&self, mut buf: impl Buf) -> Result<()> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let (sock_id, sock) = self.get_or_create_socket_for_sending()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | match sock.send(&buf.copy_to_bytes(buf.remaining())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/transport/udp.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 157 | let sock = self.get_socket_by_id(sock_id).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut buf = BytesMut::zeroed(BUF_CAPACITY); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | match sock.recv(&mut buf) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/udp.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn create(local_addr: T) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | .next().ok_or(anyhow::format_err!("lookup_host failed"))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | info!("Creating udp server transport on {local_addr}"); [INFO] [stdout] 189 | let sock = UdpSocket::bind(local_addr)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(UdpServerTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 191 | | sock, [INFO] [stdout] 192 | | peer_addr: Mutex::new(None), [INFO] [stdout] 193 | | last_peer_addr: Mutex::new(None), [INFO] [stdout] 194 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_from_query(mut buf: impl Buf) -> Result<(BytesMut, u16)> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let mut result = BytesMut::with_capacity(buf.remaining()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok((result, query_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create(remote_addr: TR, options: UdpClientTransportOptions) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Ok(FakednsClientTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | udp_transport: UdpClientTransport::create(remote_addr, options)? [INFO] [stdout] 163 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn create(local_addr: T) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | where T: ToSocketAddrs { [INFO] [stdout] 193 | Ok(FakednsServerTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | udp_transport: UdpServerTransport::create(local_addr)?, [INFO] [stdout] 195 | | query_id: atomic::AtomicU16::new(0), [INFO] [stdout] 196 | | last_query_id: atomic::AtomicU16::new(0), [INFO] [stdout] 197 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tun.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create>(ifname: S) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let fd = std::fs::OpenOptions::new() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(TunDevice { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | fd, [INFO] [stdout] 45 | | name: result_name, [INFO] [stdout] 46 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/timer_runner.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 59 | let state = Arc::new(TimerRunnerState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let thread = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let state = state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | thread: Some(thread), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/socket.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_listened(local_addr: SocketAddrV4, remote_addr: SocketAddrV4, raw_sock: RAW) -> std::io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | local_addr, [INFO] [stdout] 84 | | remote_addr, [INFO] [stdout] 85 | | state: SocketState::Initial, [INFO] [stdout] ... | [INFO] [stdout] 88 | | raw_sock [INFO] [stdout] 89 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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] warning: unused `Map` that must be used [INFO] [stdout] --> src/faketcp/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kissvpn` (lib) due to 14 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `Socket` is never used [INFO] [stdout] --> src/faketcp/client.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Socket = super::socket::Socket; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINGERING_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LINGERING_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACTIVE_MAX_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ACTIVE_MAX_DURATION: std::time::Duration = std::time::Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECT_TIMEOUT_DURATION` is never used [INFO] [stdout] --> src/faketcp/client.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CONNECT_TIMEOUT_DURATION: std::time::Duration = std::time::Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_PORT_RANGE` is never used [INFO] [stdout] --> src/faketcp/client.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const CLIENT_PORT_RANGE: Range = 10000..60000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketTable` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct SocketTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `map_mut`, `next_local_port`, `maintain`, `feed_packet`, and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SocketTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 32 | fn map_mut(&mut self, mut f: F) where F: FnMut(&mut Socket) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn next_local_port(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn maintain(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn feed_packet(&mut self, buf: &Bytes, received_data_queue: &mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn send_data(&mut self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/faketcp/client.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_data` are never used [INFO] [stdout] --> src/faketcp/client.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 117 | pub fn new(raw_sock_fd: OwnedFd, local_ip: Ipv4Addr, remote_addr: SocketAddrV4) -> Client { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn send_data(&self, buf: &Bytes) { [INFO] [stdout] | ^^^^^^^^^ [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/transport/udp.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create(remote_addr: TR, options: UdpClientTransportOptions) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | .next().ok_or(anyhow::format_err!("lookup_host failed"))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | info!("Creating udp client transport to {remote_addr}"); [INFO] [stdout] 54 | Ok(UdpClientTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | remote_addr, [INFO] [stdout] 56 | | options, [INFO] [stdout] 57 | | sock_ctxs: Mutex::new(BTreeMap::new()), [INFO] [stdout] 58 | | epoll: Epoll::new(nix::sys::epoll::EpollCreateFlags::empty())?, [INFO] [stdout] 59 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/transport/udp.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 131 | fn send(&self, mut buf: impl Buf) -> Result<()> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let (sock_id, sock) = self.get_or_create_socket_for_sending()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | match sock.send(&buf.copy_to_bytes(buf.remaining())) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/transport/udp.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 157 | let sock = self.get_socket_by_id(sock_id).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut buf = BytesMut::zeroed(BUF_CAPACITY); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | match sock.recv(&mut buf) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/udp.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn create(local_addr: T) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | .next().ok_or(anyhow::format_err!("lookup_host failed"))?; [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | info!("Creating udp server transport on {local_addr}"); [INFO] [stdout] 189 | let sock = UdpSocket::bind(local_addr)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(UdpServerTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 191 | | sock, [INFO] [stdout] 192 | | peer_addr: Mutex::new(None), [INFO] [stdout] 193 | | last_peer_addr: Mutex::new(None), [INFO] [stdout] 194 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn decode_from_query(mut buf: impl Buf) -> Result<(BytesMut, u16)> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let mut result = BytesMut::with_capacity(buf.remaining()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok((result, query_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create(remote_addr: TR, options: UdpClientTransportOptions) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Ok(FakednsClientTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | udp_transport: UdpClientTransport::create(remote_addr, options)? [INFO] [stdout] 163 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transport/fakedns.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn create(local_addr: T) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | where T: ToSocketAddrs { [INFO] [stdout] 193 | Ok(FakednsServerTransport { [INFO] [stdout] | ____________^ [INFO] [stdout] 194 | | udp_transport: UdpServerTransport::create(local_addr)?, [INFO] [stdout] 195 | | query_id: atomic::AtomicU16::new(0), [INFO] [stdout] 196 | | last_query_id: atomic::AtomicU16::new(0), [INFO] [stdout] 197 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tun.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create>(ifname: S) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let fd = std::fs::OpenOptions::new() [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(TunDevice { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | fd, [INFO] [stdout] 45 | | name: result_name, [INFO] [stdout] 46 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/timer_runner.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 59 | let state = Arc::new(TimerRunnerState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let thread = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let state = state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | thread: Some(thread), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/timer_runner.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 107 | let result = result.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | move || { [INFO] [stdout] 109 | result.lock().unwrap().push_str(&s) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/socket.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new_listened(local_addr: SocketAddrV4, remote_addr: SocketAddrV4, raw_sock: RAW) -> std::io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | local_addr, [INFO] [stdout] 84 | | remote_addr, [INFO] [stdout] 85 | | state: SocketState::Initial, [INFO] [stdout] ... | [INFO] [stdout] 88 | | raw_sock [INFO] [stdout] 89 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/faketcp/raw_socket.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new_splitted_raw_socket(fd: OwnedFd) -> (Arc, RawSocketSendHalf, RawSocketRecvHalf) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let fd = Arc::new(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | (fd.clone(), RawSocketSendHalf(Arc::downgrade(&fd)), RawSocketRecvHalf(Arc::downgrade(&fd))) [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] warning: unused `Map` that must be used [INFO] [stdout] --> src/faketcp/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = self.lingering_socks.iter_mut().map(&mut f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kissvpn` (lib test) due to 15 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "03e1bc9ea6ad0ce80491aee3a9242c09ad031059d5875dbdaa4df790831a54c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e1bc9ea6ad0ce80491aee3a9242c09ad031059d5875dbdaa4df790831a54c1", kill_on_drop: false }` [INFO] [stdout] 03e1bc9ea6ad0ce80491aee3a9242c09ad031059d5875dbdaa4df790831a54c1