[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] c2e0a1c9fe50cb049392d0c4e585808f525cc4f6 [INFO] testing Ereski/state-proxy against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEreski%2Fstate-proxy" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ereski/state-proxy on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-21/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d10a3f73fbe60c6959d2081b7964851899844c3b278ae4779d15d90136b3c829 [INFO] running `Command { std: "docker" "start" "-a" "d10a3f73fbe60c6959d2081b7964851899844c3b278ae4779d15d90136b3c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10a3f73fbe60c6959d2081b7964851899844c3b278ae4779d15d90136b3c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10a3f73fbe60c6959d2081b7964851899844c3b278ae4779d15d90136b3c829", kill_on_drop: false }` [INFO] [stdout] d10a3f73fbe60c6959d2081b7964851899844c3b278ae4779d15d90136b3c829 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c12eec04e6262b8264be6160088a1c8c9fa2c3f3402eb82250584fb84bcdc1d4 [INFO] running `Command { std: "docker" "start" "-a" "c12eec04e6262b8264be6160088a1c8c9fa2c3f3402eb82250584fb84bcdc1d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling k8s-openapi v0.14.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling tuple-transpose v0.1.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling auto_enums_derive v0.7.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.7 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filedesc v0.5.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hdrhistogram v7.4.0 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [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.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling auto_enums_core v0.7.12 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling auto_enums v0.7.12 [INFO] [stderr] Compiling synattra v0.2.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling aspect-weave v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling metered-macro v0.8.0 [INFO] [stderr] Compiling aspect v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tower-http v0.2.1 [INFO] [stderr] Compiling futures v0.3.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.23 [INFO] [stderr] Compiling metered v0.8.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 v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling kube-core v0.68.0 [INFO] [stderr] Compiling kube-client v0.68.0 [INFO] [stderr] Compiling kube-runtime v0.68.0 [INFO] [stderr] Compiling kube v0.68.0 [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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field is never read: `stream` [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `internal` [INFO] [stdout] --> src/protocol/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hyper_client` [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `new` [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_channel_id` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [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: field is never read: `client` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / StartReceivingData { [INFO] [stdout] 462 | | size: Option, [INFO] [stdout] 463 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | / ReceivingChunk { [INFO] [stdout] 465 | | total_size: Option, [INFO] [stdout] 466 | | chunk_size: Option, [INFO] [stdout] 467 | | progress: u64, [INFO] [stdout] 468 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | / StartReceivingSocketData { [INFO] [stdout] 470 | | socket_id: u32, [INFO] [stdout] 471 | | size: Option, [INFO] [stdout] 472 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | / ReceivingSocketChunk { [INFO] [stdout] 474 | | socket_id: u32, [INFO] [stdout] 475 | | total_size: Option, [INFO] [stdout] 476 | | chunk_size: Option, [INFO] [stdout] 477 | | progress: u64, [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | / StartReceivingData { [INFO] [stdout] 485 | | size: Option, [INFO] [stdout] 486 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / ReceivingChunk { [INFO] [stdout] 488 | | total_size: Option, [INFO] [stdout] 489 | | chunk_size: Option, [INFO] [stdout] 490 | | progress: u64, [INFO] [stdout] 491 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | / StartReceivingSocketData { [INFO] [stdout] 493 | | socket_id: u32, [INFO] [stdout] 494 | | size: Option, [INFO] [stdout] 495 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / ReceivingSocketChunk { [INFO] [stdout] 497 | | socket_id: u32, [INFO] [stdout] 498 | | total_size: Option, [INFO] [stdout] 499 | | chunk_size: Option, [INFO] [stdout] 500 | | progress: u64, [INFO] [stdout] 501 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_channel_id` [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 is never used: `set_channel_id` [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: field is never read: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `name` [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.97s [INFO] running `Command { std: "docker" "inspect" "c12eec04e6262b8264be6160088a1c8c9fa2c3f3402eb82250584fb84bcdc1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12eec04e6262b8264be6160088a1c8c9fa2c3f3402eb82250584fb84bcdc1d4", kill_on_drop: false }` [INFO] [stdout] c12eec04e6262b8264be6160088a1c8c9fa2c3f3402eb82250584fb84bcdc1d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281ae519c1ccbb515542b99cb2c1b862ab765b671234e1ba54b436948698b00f [INFO] running `Command { std: "docker" "start" "-a" "281ae519c1ccbb515542b99cb2c1b862ab765b671234e1ba54b436948698b00f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pretty_assertions v1.1.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling hdrhistogram v7.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling metered v0.8.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [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.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling kube-client v0.68.0 [INFO] [stderr] Compiling kube-runtime v0.68.0 [INFO] [stderr] Compiling kube v0.68.0 [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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field is never read: `stream` [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `internal` [INFO] [stdout] --> src/protocol/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hyper_client` [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `new` [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_channel_id` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [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: field is never read: `client` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / StartReceivingData { [INFO] [stdout] 462 | | size: Option, [INFO] [stdout] 463 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | / ReceivingChunk { [INFO] [stdout] 465 | | total_size: Option, [INFO] [stdout] 466 | | chunk_size: Option, [INFO] [stdout] 467 | | progress: u64, [INFO] [stdout] 468 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | / StartReceivingSocketData { [INFO] [stdout] 470 | | socket_id: u32, [INFO] [stdout] 471 | | size: Option, [INFO] [stdout] 472 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | / ReceivingSocketChunk { [INFO] [stdout] 474 | | socket_id: u32, [INFO] [stdout] 475 | | total_size: Option, [INFO] [stdout] 476 | | chunk_size: Option, [INFO] [stdout] 477 | | progress: u64, [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | / StartReceivingData { [INFO] [stdout] 485 | | size: Option, [INFO] [stdout] 486 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / ReceivingChunk { [INFO] [stdout] 488 | | total_size: Option, [INFO] [stdout] 489 | | chunk_size: Option, [INFO] [stdout] 490 | | progress: u64, [INFO] [stdout] 491 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | / StartReceivingSocketData { [INFO] [stdout] 493 | | socket_id: u32, [INFO] [stdout] 494 | | size: Option, [INFO] [stdout] 495 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / ReceivingSocketChunk { [INFO] [stdout] 497 | | socket_id: u32, [INFO] [stdout] 498 | | total_size: Option, [INFO] [stdout] 499 | | chunk_size: Option, [INFO] [stdout] 500 | | progress: u64, [INFO] [stdout] 501 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_channel_id` [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 is never used: `set_channel_id` [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: field is never read: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `name` [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: 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/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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: field is never read: `stream` [INFO] [stdout] --> src/protocol/mod.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | stream: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `internal` [INFO] [stdout] --> src/protocol/mod.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | internal: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hyper_client` [INFO] [stdout] --> src/http.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | hyper_client: Client, Body>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `new` [INFO] [stdout] --> src/http.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | states: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next_channel_id` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | next_channel_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deserialize` [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: field is never read: `client` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | client: ChannelClientState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | server: ChannelServerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / StartReceivingData { [INFO] [stdout] 462 | | size: Option, [INFO] [stdout] 463 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | / ReceivingChunk { [INFO] [stdout] 465 | | total_size: Option, [INFO] [stdout] 466 | | chunk_size: Option, [INFO] [stdout] 467 | | progress: u64, [INFO] [stdout] 468 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | / StartReceivingSocketData { [INFO] [stdout] 470 | | socket_id: u32, [INFO] [stdout] 471 | | size: Option, [INFO] [stdout] 472 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | / ReceivingSocketChunk { [INFO] [stdout] 474 | | socket_id: u32, [INFO] [stdout] 475 | | total_size: Option, [INFO] [stdout] 476 | | chunk_size: Option, [INFO] [stdout] 477 | | progress: u64, [INFO] [stdout] 478 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | / StartReceivingData { [INFO] [stdout] 485 | | size: Option, [INFO] [stdout] 486 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / ReceivingChunk { [INFO] [stdout] 488 | | total_size: Option, [INFO] [stdout] 489 | | chunk_size: Option, [INFO] [stdout] 490 | | progress: u64, [INFO] [stdout] 491 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | / StartReceivingSocketData { [INFO] [stdout] 493 | | socket_id: u32, [INFO] [stdout] 494 | | size: Option, [INFO] [stdout] 495 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | / ReceivingSocketChunk { [INFO] [stdout] 497 | | socket_id: u32, [INFO] [stdout] 498 | | total_size: Option, [INFO] [stdout] 499 | | chunk_size: Option, [INFO] [stdout] 500 | | progress: u64, [INFO] [stdout] 501 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_channel_id` [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 is never used: `set_channel_id` [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: field is never read: `message` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | message: ServerMessageV0<'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer` [INFO] [stdout] --> src/protocol/proxy/endpoint.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 606 | buffer: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `name` [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 43.17s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/state_proxy-74824aa5faddf39a) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/state_proxy-aaddd3565917c282) [INFO] [stderr] Executable tests/kubernetes.rs (/opt/rustwide/target/debug/deps/kubernetes-099af228ed66d59f) [INFO] [stderr] Executable tests/test_utils.rs (/opt/rustwide/target/debug/deps/test_utils-517d93e20d0c8a54) [INFO] running `Command { std: "docker" "inspect" "281ae519c1ccbb515542b99cb2c1b862ab765b671234e1ba54b436948698b00f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281ae519c1ccbb515542b99cb2c1b862ab765b671234e1ba54b436948698b00f", kill_on_drop: false }` [INFO] [stdout] 281ae519c1ccbb515542b99cb2c1b862ab765b671234e1ba54b436948698b00f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7054f44fd716c338a4f29a91817fc5bbead07b5d4ae54a050d21967cd9bcce9 [INFO] running `Command { std: "docker" "start" "-a" "d7054f44fd716c338a4f29a91817fc5bbead07b5d4ae54a050d21967cd9bcce9", 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] warning: unreachable statement [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 290 | / loop { [INFO] [stderr] 291 | | let (mut data, channel_id) = [INFO] [stderr] 292 | | if let Some((data, channel_id)) = self.stream_left.take() { [INFO] [stderr] 293 | | (data, Some(channel_id)) [INFO] [stderr] ... | [INFO] [stderr] 310 | | } [INFO] [stderr] 311 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 312 | [INFO] [stderr] 313 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/handover.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn start(address: String) {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/http.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | address: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/http.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | address: SocketAddr, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/http.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | address: SocketAddr, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_is_exhausted` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:302:17 [INFO] [stderr] | [INFO] [stderr] 302 | let data_is_exhausted = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_is_exhausted` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:392:30 [INFO] [stderr] | [INFO] [stderr] 392 | async fn send(&mut self, message: Message) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buffer` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:610:15 [INFO] [stderr] | [INFO] [stderr] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deserialize` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:610:38 [INFO] [stderr] | [INFO] [stderr] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deserialize` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stream` [INFO] [stderr] --> src/protocol/mod.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | stream: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `internal` [INFO] [stderr] --> src/protocol/mod.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | internal: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hyper_client` [INFO] [stderr] --> src/http.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | hyper_client: Client, Body>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/http.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn new(protocol: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/http.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `states` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | states: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `next_channel_id` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | next_channel_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `deserialize` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:407:8 [INFO] [stderr] | [INFO] [stderr] 407 | fn deserialize<'a, T>(self, buffer: &'a [u8]) -> Result> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:440:5 [INFO] [stderr] | [INFO] [stderr] 440 | client: ChannelClientState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `server` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:441:5 [INFO] [stderr] | [INFO] [stderr] 441 | server: ChannelServerState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:445:8 [INFO] [stderr] | [INFO] [stderr] 445 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StartReceivingData` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:461:5 [INFO] [stderr] | [INFO] [stderr] 461 | / StartReceivingData { [INFO] [stderr] 462 | | size: Option, [INFO] [stderr] 463 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReceivingChunk` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:464:5 [INFO] [stderr] | [INFO] [stderr] 464 | / ReceivingChunk { [INFO] [stderr] 465 | | total_size: Option, [INFO] [stderr] 466 | | chunk_size: Option, [INFO] [stderr] 467 | | progress: u64, [INFO] [stderr] 468 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:469:5 [INFO] [stderr] | [INFO] [stderr] 469 | / StartReceivingSocketData { [INFO] [stderr] 470 | | socket_id: u32, [INFO] [stderr] 471 | | size: Option, [INFO] [stderr] 472 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:473:5 [INFO] [stderr] | [INFO] [stderr] 473 | / ReceivingSocketChunk { [INFO] [stderr] 474 | | socket_id: u32, [INFO] [stderr] 475 | | total_size: Option, [INFO] [stderr] 476 | | chunk_size: Option, [INFO] [stderr] 477 | | progress: u64, [INFO] [stderr] 478 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Idle` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:483:5 [INFO] [stderr] | [INFO] [stderr] 483 | Idle, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StartReceivingData` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:484:5 [INFO] [stderr] | [INFO] [stderr] 484 | / StartReceivingData { [INFO] [stderr] 485 | | size: Option, [INFO] [stderr] 486 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReceivingChunk` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:487:5 [INFO] [stderr] | [INFO] [stderr] 487 | / ReceivingChunk { [INFO] [stderr] 488 | | total_size: Option, [INFO] [stderr] 489 | | chunk_size: Option, [INFO] [stderr] 490 | | progress: u64, [INFO] [stderr] 491 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StartReceivingSocketData` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:492:5 [INFO] [stderr] | [INFO] [stderr] 492 | / StartReceivingSocketData { [INFO] [stderr] 493 | | socket_id: u32, [INFO] [stderr] 494 | | size: Option, [INFO] [stderr] 495 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ReceivingSocketChunk` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:496:5 [INFO] [stderr] | [INFO] [stderr] 496 | / ReceivingSocketChunk { [INFO] [stderr] 497 | | socket_id: u32, [INFO] [stderr] 498 | | total_size: Option, [INFO] [stderr] 499 | | chunk_size: Option, [INFO] [stderr] 500 | | progress: u64, [INFO] [stderr] 501 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `take_channel_id` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:565:8 [INFO] [stderr] | [INFO] [stderr] 565 | fn take_channel_id(&mut self) -> TakeChannelIdResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_channel_id` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:586:8 [INFO] [stderr] | [INFO] [stderr] 586 | fn set_channel_id(&mut self, new_channel_id: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `message` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:605:5 [INFO] [stderr] | [INFO] [stderr] 605 | message: ServerMessageV0<'static>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `buffer` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:606:5 [INFO] [stderr] | [INFO] [stderr] 606 | buffer: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:610:8 [INFO] [stderr] | [INFO] [stderr] 610 | fn new(buffer: &mut BytesMut, deserialize: D) -> Result [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `name` [INFO] [stderr] --> src/protocol/proxy/endpoint.rs:689:8 [INFO] [stderr] | [INFO] [stderr] 689 | fn name(&self) -> &'static str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `state-proxy` (lib) generated 36 warnings [INFO] [stderr] warning: `state-proxy` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/state_proxy-74824aa5faddf39a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test backend::test::can_add_then_resume_an_unavailable_service ... ok [INFO] [stdout] test backend::test::can_add_then_delete_a_service ... ok [INFO] [stdout] test backend::test::sends_missed_open_events_on_registering_a_sender ... ok [INFO] [stdout] test backend::test::can_add_then_suspend_a_service ... ok [INFO] [stdout] test backend::test::sends_open_and_close_port_events ... ok [INFO] [stdout] test backend::test::can_add_a_service ... ok [INFO] [stdout] test backend::test::can_register_a_endpoint_discovery ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/state_proxy-aaddd3565917c282) [INFO] [stdout] [INFO] [stderr] Running tests/kubernetes.rs (/opt/rustwide/target/debug/deps/kubernetes-099af228ed66d59f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_utils.rs (/opt/rustwide/target/debug/deps/test_utils-517d93e20d0c8a54) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test kubernetes_minikube ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests state-proxy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7054f44fd716c338a4f29a91817fc5bbead07b5d4ae54a050d21967cd9bcce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7054f44fd716c338a4f29a91817fc5bbead07b5d4ae54a050d21967cd9bcce9", kill_on_drop: false }` [INFO] [stdout] d7054f44fd716c338a4f29a91817fc5bbead07b5d4ae54a050d21967cd9bcce9