[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] building telecrab-rs/telecrab against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] building telecrab-rs/telecrab against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] building telecrab-rs/telecrab against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] building telecrab-rs/telecrab against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelecrab-rs%2Ftelecrab" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telecrab-rs/telecrab on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a683d1d9cdbfb954b0d5a5d1c50d0201abf2d409973bacddac1acd39313d43 [INFO] running `Command { std: "docker" "start" "-a" "08a683d1d9cdbfb954b0d5a5d1c50d0201abf2d409973bacddac1acd39313d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a683d1d9cdbfb954b0d5a5d1c50d0201abf2d409973bacddac1acd39313d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a683d1d9cdbfb954b0d5a5d1c50d0201abf2d409973bacddac1acd39313d43", kill_on_drop: false }` [INFO] [stdout] 08a683d1d9cdbfb954b0d5a5d1c50d0201abf2d409973bacddac1acd39313d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80c7ed00515e9d361f35dca6abfe4fa456dbc946a6ba43637155a5cbef23b0b6 [INFO] running `Command { std: "docker" "start" "-a" "80c7ed00515e9d361f35dca6abfe4fa456dbc946a6ba43637155a5cbef23b0b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proxy.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 107 | socket: &mut tokio::net::TcpStream, [INFO] [stdout] 108 | ) -> Result<&crate::config::User, std::io::Error> { [INFO] [stdout] | -------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokio_utils.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream, HalfWriteObfuscatedStream) { [INFO] [stdout] | ^^ --------------------------- ---------------------------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 11.20s [INFO] running `Command { std: "docker" "inspect" "80c7ed00515e9d361f35dca6abfe4fa456dbc946a6ba43637155a5cbef23b0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c7ed00515e9d361f35dca6abfe4fa456dbc946a6ba43637155a5cbef23b0b6", kill_on_drop: false }` [INFO] [stdout] 80c7ed00515e9d361f35dca6abfe4fa456dbc946a6ba43637155a5cbef23b0b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1218fa75a9a30691528406d83e2855d217d8f43f1252ba2a89f1e8373a0c255 [INFO] running `Command { std: "docker" "start" "-a" "d1218fa75a9a30691528406d83e2855d217d8f43f1252ba2a89f1e8373a0c255", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proxy.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 107 | socket: &mut tokio::net::TcpStream, [INFO] [stdout] 108 | ) -> Result<&crate::config::User, std::io::Error> { [INFO] [stdout] | -------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokio_utils.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | fn split(&'a mut self) -> (HalfReadObfuscatedStream, HalfWriteObfuscatedStream) { [INFO] [stdout] | ^^ --------------------------- ---------------------------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to 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 `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "d1218fa75a9a30691528406d83e2855d217d8f43f1252ba2a89f1e8373a0c255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1218fa75a9a30691528406d83e2855d217d8f43f1252ba2a89f1e8373a0c255", kill_on_drop: false }` [INFO] [stdout] d1218fa75a9a30691528406d83e2855d217d8f43f1252ba2a89f1e8373a0c255