[INFO] cloning repository https://github.com/Ereski/state-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ereski/state-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d081b150d9acbe86ecc17b2b5eb5cc4a07307665 [INFO] building Ereski/state-proxy against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ereski/state-proxy on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ereski/state-proxy [INFO] finished tweaking git repo https://github.com/Ereski/state-proxy [INFO] tweaked toml for git repo https://github.com/Ereski/state-proxy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ereski/state-proxy 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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "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-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f51c1d27fd7bed93db792cccaea3f2e37da08f2ef5eda3c4a803312749e4667 [INFO] running `Command { std: "docker" "start" "-a" "7f51c1d27fd7bed93db792cccaea3f2e37da08f2ef5eda3c4a803312749e4667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f51c1d27fd7bed93db792cccaea3f2e37da08f2ef5eda3c4a803312749e4667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f51c1d27fd7bed93db792cccaea3f2e37da08f2ef5eda3c4a803312749e4667", kill_on_drop: false }` [INFO] [stdout] 7f51c1d27fd7bed93db792cccaea3f2e37da08f2ef5eda3c4a803312749e4667 [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1712231feaf2f77bbbfe886b68f594698bc7f31aba57de34e2b272dc20a97f04 [INFO] running `Command { std: "docker" "start" "-a" "1712231feaf2f77bbbfe886b68f594698bc7f31aba57de34e2b272dc20a97f04", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling auto_enums_derive v0.7.12 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling k8s-openapi v0.15.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling clap_lex v0.2.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filedesc v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling clap v3.2.6 [INFO] [stderr] Compiling tokio-seqpacket v0.5.5 [INFO] [stderr] Compiling hdrhistogram v7.5.0 [INFO] [stderr] Compiling tuple-transpose v0.1.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling auto_enums_core v0.7.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling auto_enums v0.7.12 [INFO] [stderr] Compiling synattra v0.2.1 [INFO] [stderr] Compiling aspect-weave v0.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling aspect v0.3.0 [INFO] [stderr] Compiling metered-macro v0.9.0 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling serde_yaml v0.8.24 [INFO] [stderr] Compiling metered v0.9.0 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling json-patch v0.2.6 [INFO] [stderr] Compiling jsonpath_lib v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling kube-core v0.73.1 [INFO] [stderr] Compiling kube-client v0.73.1 [INFO] [stderr] Compiling kube-runtime v0.73.1 [INFO] [stderr] Compiling kube v0.73.1 [INFO] [stderr] Compiling state-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 290 | / loop { [INFO] [stdout] 291 | | let (mut data, channel_id) = [INFO] [stdout] 292 | | if let Some((data, channel_id)) = self.stream_left.take() { [INFO] [stdout] 293 | | (data, Some(channel_id)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 312 | [INFO] [stdout] 313 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_is_exhausted` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let data_is_exhausted = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_is_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialize` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/handover.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start(address: String) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | address: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/http.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `internal` are never read [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ConnectionState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 132 | /// The socket stream for this connection. May be `None` if the [`Connection`] is stateless. [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `next_channel_id` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct EndpointProtocolClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `server` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct ChannelState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 459 | enum ChannelServerState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 460 | Idle, [INFO] [stdout] 461 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Idle`, `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 481 | enum ChannelClientState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 482 | WaitingForAcceptance, [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 484 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `buffer` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 604 | struct OwnedServerMessageV0 { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn deserialize<'a, T>(self, buffer: &'a [u8]) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `take_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | fn take_channel_id(&mut self) -> TakeChannelIdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | fn set_channel_id(&mut self, new_channel_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:8 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `name` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hyper_client` is never read [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(protocol: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "1712231feaf2f77bbbfe886b68f594698bc7f31aba57de34e2b272dc20a97f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1712231feaf2f77bbbfe886b68f594698bc7f31aba57de34e2b272dc20a97f04", kill_on_drop: false }` [INFO] [stdout] 1712231feaf2f77bbbfe886b68f594698bc7f31aba57de34e2b272dc20a97f04 [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c1cd3f918a8de0b217a6dd18c826a9537828eb02227924d42431b9b4bc0c7bc [INFO] running `Command { std: "docker" "start" "-a" "4c1cd3f918a8de0b217a6dd18c826a9537828eb02227924d42431b9b4bc0c7bc", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling hdrhistogram v7.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling metered v0.9.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-seqpacket v0.5.5 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling kube-client v0.73.1 [INFO] [stderr] Compiling kube-runtime v0.73.1 [INFO] [stderr] Compiling kube v0.73.1 [INFO] [stderr] Compiling state-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 290 | / loop { [INFO] [stdout] 291 | | let (mut data, channel_id) = [INFO] [stdout] 292 | | if let Some((data, channel_id)) = self.stream_left.take() { [INFO] [stdout] 293 | | (data, Some(channel_id)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 312 | [INFO] [stdout] 313 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_is_exhausted` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let data_is_exhausted = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_is_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialize` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/handover.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start(address: String) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | address: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/http.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `internal` are never read [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ConnectionState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 132 | /// The socket stream for this connection. May be `None` if the [`Connection`] is stateless. [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `next_channel_id` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct EndpointProtocolClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `server` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct ChannelState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 459 | enum ChannelServerState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 460 | Idle, [INFO] [stdout] 461 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Idle`, `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 481 | enum ChannelClientState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 482 | WaitingForAcceptance, [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 484 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `buffer` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 604 | struct OwnedServerMessageV0 { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn deserialize<'a, T>(self, buffer: &'a [u8]) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `take_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | fn take_channel_id(&mut self) -> TakeChannelIdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | fn set_channel_id(&mut self, new_channel_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:8 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `name` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hyper_client` is never read [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(protocol: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 290 | / loop { [INFO] [stdout] 291 | | let (mut data, channel_id) = [INFO] [stdout] 292 | | if let Some((data, channel_id)) = self.stream_left.take() { [INFO] [stdout] 293 | | (data, Some(channel_id)) [INFO] [stdout] ... | [INFO] [stdout] 310 | | } [INFO] [stdout] 311 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 312 | [INFO] [stdout] 313 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_is_exhausted` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let data_is_exhausted = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_is_exhausted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deserialize` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/handover.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn start(address: String) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | address: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/http.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/http.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `internal` are never read [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ConnectionState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 132 | /// The socket stream for this connection. May be `None` if the [`Connection`] is stateless. [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `states` and `next_channel_id` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct EndpointProtocolClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `server` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 439 | struct ChannelState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 459 | enum ChannelServerState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 460 | Idle, [INFO] [stdout] 461 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Idle`, `StartReceivingData`, `ReceivingChunk`, `StartReceivingSocketData`, and `ReceivingSocketChunk` are never constructed [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 481 | enum ChannelClientState { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 482 | WaitingForAcceptance, [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 484 | StartReceivingData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | ReceivingChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | StartReceivingSocketData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | ReceivingSocketChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `buffer` are never read [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 604 | struct OwnedServerMessageV0 { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:407:8 [INFO] [stdout] | [INFO] [stdout] 407 | fn deserialize<'a, T>(self, buffer: &'a [u8]) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `take_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | fn take_channel_id(&mut self) -> TakeChannelIdResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_channel_id` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:586:8 [INFO] [stdout] | [INFO] [stdout] 586 | fn set_channel_id(&mut self, new_channel_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:610:8 [INFO] [stdout] | [INFO] [stdout] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `name` is never used [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:689:8 [INFO] [stdout] | [INFO] [stdout] 689 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hyper_client` is never read [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(protocol: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 36.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4c1cd3f918a8de0b217a6dd18c826a9537828eb02227924d42431b9b4bc0c7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1cd3f918a8de0b217a6dd18c826a9537828eb02227924d42431b9b4bc0c7bc", kill_on_drop: false }` [INFO] [stdout] 4c1cd3f918a8de0b217a6dd18c826a9537828eb02227924d42431b9b4bc0c7bc