[INFO] cloning repository https://github.com/telecrab-rs/telecrab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/telecrab-rs/telecrab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d3b19231b1614cabf73d4ea64ed474c4c2e43cd [INFO] checking telecrab-rs/telecrab against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/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/telecrab-rs/telecrab [INFO] finished tweaking git repo https://github.com/telecrab-rs/telecrab [INFO] tweaked toml for git repo https://github.com/telecrab-rs/telecrab written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/telecrab-rs/telecrab 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking telecrab-rs/telecrab against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/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/telecrab-rs/telecrab [INFO] finished tweaking git repo https://github.com/telecrab-rs/telecrab [INFO] tweaked toml for git repo https://github.com/telecrab-rs/telecrab written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/telecrab-rs/telecrab 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded platforms v3.3.0 [INFO] [stderr] Downloaded fiat-crypto v0.2.7 [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" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4bfdf5868a8d20d4609d4c0e78b50dca1b9db8a3ec8402b1eeea2936c6c1eb4 [INFO] running `Command { std: "docker" "start" "-a" "f4bfdf5868a8d20d4609d4c0e78b50dca1b9db8a3ec8402b1eeea2936c6c1eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4bfdf5868a8d20d4609d4c0e78b50dca1b9db8a3ec8402b1eeea2936c6c1eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bfdf5868a8d20d4609d4c0e78b50dca1b9db8a3ec8402b1eeea2936c6c1eb4", kill_on_drop: false }` [INFO] [stdout] f4bfdf5868a8d20d4609d4c0e78b50dca1b9db8a3ec8402b1eeea2936c6c1eb4 [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" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af8c82d934bde4478b2fefed7eaeb59d59fae4115779e078a31fec0c304f54b [INFO] running `Command { std: "docker" "start" "-a" "8af8c82d934bde4478b2fefed7eaeb59d59fae4115779e078a31fec0c304f54b", kill_on_drop: false }` [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking telecrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/tokio_utils.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let (inner, dc, encryptor, decryptor) = ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DC` is never used [INFO] [stdout] --> src/obfuscated2/frame.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DEFAULT_DC: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | TelegramConnectionOpened(std::net::SocketAddr), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - TelegramConnectionOpened(std::net::SocketAddr), [INFO] [stdout] 20 + TelegramConnectionOpened(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ConnectionOpened(std::net::SocketAddr), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - ConnectionOpened(std::net::SocketAddr), [INFO] [stdout] 21 + ConnectionOpened(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | ConnectionClosed(Option), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - ConnectionClosed(Option), [INFO] [stdout] 22 + ConnectionClosed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proxy.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | DataReceived(std::net::SocketAddr, Vec), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - DataReceived(std::net::SocketAddr, Vec), [INFO] [stdout] 23 + DataReceived((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proxy.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | DataSent(std::net::SocketAddr, Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - DataSent(std::net::SocketAddr, Vec), [INFO] [stdout] 24 + DataSent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | DCFallback(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - DCFallback(i32), [INFO] [stdout] 25 + DCFallback(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ConnectedToDC(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - ConnectedToDC(i32), [INFO] [stdout] 26 + ConnectedToDC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ProxiedDataToClient` and `ProxiedDataToTelegram` are never constructed [INFO] [stdout] --> src/proxy.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ProxyEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | ProxiedDataToClient(std::net::SocketAddr, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ProxiedDataToTelegram(std::net::SocketAddr, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/proxy.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 107 | socket: &mut tokio::net::TcpStream, [INFO] [stdout] 108 | ) -> Result<&crate::config::User, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ 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] 108 | ) -> Result<&'a crate::config::User, std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tokio_utils.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream, HalfWriteObfuscatedStream) { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream<'a, R>, HalfWriteObfuscatedStream<'a, W>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dc` [INFO] [stdout] --> src/tokio_utils.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let (inner, dc, encryptor, decryptor) = ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_DC` is never used [INFO] [stdout] --> src/obfuscated2/frame.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DEFAULT_DC: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | TelegramConnectionOpened(std::net::SocketAddr), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - TelegramConnectionOpened(std::net::SocketAddr), [INFO] [stdout] 20 + TelegramConnectionOpened(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ConnectionOpened(std::net::SocketAddr), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - ConnectionOpened(std::net::SocketAddr), [INFO] [stdout] 21 + ConnectionOpened(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | ConnectionClosed(Option), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - ConnectionClosed(Option), [INFO] [stdout] 22 + ConnectionClosed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proxy.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | DataReceived(std::net::SocketAddr, Vec), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - DataReceived(std::net::SocketAddr, Vec), [INFO] [stdout] 23 + DataReceived((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/proxy.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | DataSent(std::net::SocketAddr, Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - DataSent(std::net::SocketAddr, Vec), [INFO] [stdout] 24 + DataSent((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | DCFallback(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - DCFallback(i32), [INFO] [stdout] 25 + DCFallback(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/proxy.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ConnectedToDC(i32), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - ConnectedToDC(i32), [INFO] [stdout] 26 + ConnectedToDC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ProxiedDataToClient` and `ProxiedDataToTelegram` are never constructed [INFO] [stdout] --> src/proxy.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ProxyEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | ProxiedDataToClient(std::net::SocketAddr, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ProxiedDataToTelegram(std::net::SocketAddr, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/proxy.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 107 | socket: &mut tokio::net::TcpStream, [INFO] [stdout] 108 | ) -> Result<&crate::config::User, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ 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] 108 | ) -> Result<&'a crate::config::User, std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/tokio_utils.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream, HalfWriteObfuscatedStream) { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream<'a, R>, HalfWriteObfuscatedStream<'a, W>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.68s [INFO] running `Command { std: "docker" "inspect" "8af8c82d934bde4478b2fefed7eaeb59d59fae4115779e078a31fec0c304f54b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af8c82d934bde4478b2fefed7eaeb59d59fae4115779e078a31fec0c304f54b", kill_on_drop: false }` [INFO] [stdout] 8af8c82d934bde4478b2fefed7eaeb59d59fae4115779e078a31fec0c304f54b