[INFO] fetching crate spaniel 0.1.0... [INFO] testing spaniel-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate spaniel 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate spaniel 0.1.0 [INFO] finished tweaking crates.io crate spaniel 0.1.0 [INFO] tweaked toml for crates.io crate spaniel 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spaniel 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ace97c79c617ee80c11dd1e3ed5b8b18c6aff21eed414e0018ebfa4cf18bfa07 [INFO] running `Command { std: "docker" "start" "-a" "ace97c79c617ee80c11dd1e3ed5b8b18c6aff21eed414e0018ebfa4cf18bfa07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ace97c79c617ee80c11dd1e3ed5b8b18c6aff21eed414e0018ebfa4cf18bfa07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace97c79c617ee80c11dd1e3ed5b8b18c6aff21eed414e0018ebfa4cf18bfa07", kill_on_drop: false }` [INFO] [stdout] ace97c79c617ee80c11dd1e3ed5b8b18c6aff21eed414e0018ebfa4cf18bfa07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a06dcb94c9bf820ea1fd2e4caba93d3999e7f89ce8481ab6462491f30e311f3 [INFO] running `Command { std: "docker" "start" "-a" "5a06dcb94c9bf820ea1fd2e4caba93d3999e7f89ce8481ab6462491f30e311f3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling spaniel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] 127 + pub fn buffer_data(&mut self, data: Bytes) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 251 - pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] 251 + pub fn buffer_frame(&mut self, frame: Frame) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] 260 + pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | inner: Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | inner: length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_io::codec::length_delimited; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | src: length_delimited::FramedRead, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | let src = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/protocol/codec/writer.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "writer error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/codec/writer.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | let mut buf = self.current.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/protocol/frames.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | fn decode_from(src: &mut B) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/protocol/frames.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | fn encode_into(&self, dst: &mut B) -> Result<(), ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/connection.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectionContext { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | id: ConnectionId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_all` is never used [INFO] [stdout] --> src/connection.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl ConnectionContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | fn notify_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreditBased` is never constructed [INFO] [stdout] --> src/flow_control.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FlowControlStrategy { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 7 | Disabled, [INFO] [stdout] 8 | CreditBased(FlowControlRatio), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlowControlStrategy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_front` is never used [INFO] [stdout] --> src/protocol/codec/buffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl OutboundBuffer { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push_front(&mut self, value: B) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/protocol/codec/writer.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum WriteState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 72 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_watermarks` and `write_and_flush` are never used [INFO] [stdout] --> src/protocol/codec/writer.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Writer { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn set_watermarks(&mut self, high: usize, low: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn write_and_flush(&mut self, data: Bytes) -> Poll<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "5a06dcb94c9bf820ea1fd2e4caba93d3999e7f89ce8481ab6462491f30e311f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a06dcb94c9bf820ea1fd2e4caba93d3999e7f89ce8481ab6462491f30e311f3", kill_on_drop: false }` [INFO] [stdout] 5a06dcb94c9bf820ea1fd2e4caba93d3999e7f89ce8481ab6462491f30e311f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 17ac659153bfca203e3c42b9be3f919abfa14e0a6cee8c1269b40ff631582346 [INFO] running `Command { std: "docker" "start" "-a" "17ac659153bfca203e3c42b9be3f919abfa14e0a6cee8c1269b40ff631582346", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling spaniel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] 127 + pub fn buffer_data(&mut self, data: Bytes) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 251 - pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] 251 + pub fn buffer_frame(&mut self, frame: Frame) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] 260 + pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | inner: Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | inner: length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_io::codec::length_delimited; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | src: length_delimited::FramedRead, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | let src = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/protocol/codec/writer.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "writer error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/codec/writer.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | let mut buf = self.current.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/protocol/frames.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | fn decode_from(src: &mut B) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/protocol/frames.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | fn encode_into(&self, dst: &mut B) -> Result<(), ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/connection.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectionContext { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | id: ConnectionId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_all` is never used [INFO] [stdout] --> src/connection.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl ConnectionContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | fn notify_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreditBased` is never constructed [INFO] [stdout] --> src/flow_control.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FlowControlStrategy { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 7 | Disabled, [INFO] [stdout] 8 | CreditBased(FlowControlRatio), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlowControlStrategy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_front` is never used [INFO] [stdout] --> src/protocol/codec/buffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl OutboundBuffer { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push_front(&mut self, value: B) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/protocol/codec/writer.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum WriteState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 72 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_watermarks` and `write_and_flush` are never used [INFO] [stdout] --> src/protocol/codec/writer.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Writer { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn set_watermarks(&mut self, high: usize, low: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn write_and_flush(&mut self, data: Bytes) -> Poll<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stdout] 127 + pub fn buffer_data(&mut self, data: Bytes) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:251:60 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 251 - pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stdout] 251 + pub fn buffer_frame(&mut self, frame: Frame) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/protocol/codec/writer.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stdout] 260 + pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | inner: Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/mod.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | inner: length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_io::codec::length_delimited; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::FramedRead`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | src: length_delimited::FramedRead, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/protocol/codec/reader.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | let src = length_delimited::Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/protocol/codec/writer.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | write!(f, "writer error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocol/codec/writer.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | let mut buf = self.current.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/protocol/frames.rs:305:28 [INFO] [stdout] | [INFO] [stdout] 305 | fn decode_from(src: &mut B) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/protocol/frames.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | fn encode_into(&self, dst: &mut B) -> Result<(), ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/connection.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectionContext { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | id: ConnectionId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_all` is never used [INFO] [stdout] --> src/connection.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl ConnectionContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | fn notify_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreditBased` is never constructed [INFO] [stdout] --> src/flow_control.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FlowControlStrategy { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 7 | Disabled, [INFO] [stdout] 8 | CreditBased(FlowControlRatio), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlowControlStrategy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_front` is never used [INFO] [stdout] --> src/protocol/codec/buffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl OutboundBuffer { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push_front(&mut self, value: B) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/protocol/codec/writer.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum WriteState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 72 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_watermarks` and `write_and_flush` are never used [INFO] [stdout] --> src/protocol/codec/writer.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Writer { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn set_watermarks(&mut self, high: usize, low: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn write_and_flush(&mut self, data: Bytes) -> Poll<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "17ac659153bfca203e3c42b9be3f919abfa14e0a6cee8c1269b40ff631582346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ac659153bfca203e3c42b9be3f919abfa14e0a6cee8c1269b40ff631582346", kill_on_drop: false }` [INFO] [stdout] 17ac659153bfca203e3c42b9be3f919abfa14e0a6cee8c1269b40ff631582346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9791f9c5e53adee00b7d87d6caa758d116b164df3ba28d7c6dd3f40ad7f0e000 [INFO] running `Command { std: "docker" "start" "-a" "9791f9c5e53adee00b7d87d6caa758d116b164df3ba28d7c6dd3f40ad7f0e000", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/protocol/codec/writer.rs:127:58 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 127 - pub fn buffer_data(&mut self, data: Bytes) -> Result<(usize), WriteError> { [INFO] [stderr] 127 + pub fn buffer_data(&mut self, data: Bytes) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/protocol/codec/writer.rs:251:60 [INFO] [stderr] | [INFO] [stderr] 251 | pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 251 - pub fn buffer_frame(&mut self, frame: Frame) -> Result<(usize), WriteError> { [INFO] [stderr] 251 + pub fn buffer_frame(&mut self, frame: Frame) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/protocol/codec/writer.rs:260:62 [INFO] [stderr] | [INFO] [stderr] 260 | pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 260 - pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll<(usize), WriteError> { [INFO] [stderr] 260 + pub fn buffer_and_flush(&mut self, frame: Frame) -> Poll { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/mod.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/mod.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | use tokio_io::codec::length_delimited::{self, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | inner: Framed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/mod.rs:32:38 [INFO] [stderr] | [INFO] [stderr] 32 | inner: length_delimited::Builder::new() [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `tokio_io::codec::length_delimited`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/reader.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use tokio_io::codec::length_delimited; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::length_delimited::FramedRead`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/reader.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | src: length_delimited::FramedRead, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::length_delimited::Builder`: Moved to tokio-codec [INFO] [stderr] --> src/protocol/codec/reader.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | let src = length_delimited::Builder::new() [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/protocol/codec/writer.rs:60:44 [INFO] [stderr] | [INFO] [stderr] 60 | write!(f, "writer error: {}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/protocol/codec/writer.rs:196:21 [INFO] [stderr] | [INFO] [stderr] 196 | let mut buf = self.current.as_mut().unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/protocol/frames.rs:305:28 [INFO] [stderr] | [INFO] [stderr] 305 | fn decode_from(src: &mut B) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> src/protocol/frames.rs:309:38 [INFO] [stderr] | [INFO] [stderr] 309 | fn encode_into(&self, dst: &mut B) -> Result<(), ()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/connection.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct ConnectionContext { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | id: ConnectionId, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConnectionContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `notify_all` is never used [INFO] [stderr] --> src/connection.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 89 | impl ConnectionContext { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 195 | fn notify_all(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `CreditBased` is never constructed [INFO] [stderr] --> src/flow_control.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum FlowControlStrategy { [INFO] [stderr] | ------------------- variant in this enum [INFO] [stderr] 7 | Disabled, [INFO] [stderr] 8 | CreditBased(FlowControlRatio), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FlowControlStrategy` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `push_front` is never used [INFO] [stderr] --> src/protocol/codec/buffer.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl OutboundBuffer { [INFO] [stderr] | ---------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn push_front(&mut self, value: B) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Error` is never constructed [INFO] [stderr] --> src/protocol/codec/writer.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub enum WriteState { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 72 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_watermarks` and `write_and_flush` are never used [INFO] [stderr] --> src/protocol/codec/writer.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 106 | impl Writer { [INFO] [stderr] | ----------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn set_watermarks(&mut self, high: usize, low: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | pub fn write_and_flush(&mut self, data: Bytes) -> Poll<(), std::io::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spaniel` (lib) generated 20 warnings (run `cargo fix --lib -p spaniel` to apply 4 suggestions) [INFO] [stderr] warning: `spaniel` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spaniel-88d37fded34dc030) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9791f9c5e53adee00b7d87d6caa758d116b164df3ba28d7c6dd3f40ad7f0e000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9791f9c5e53adee00b7d87d6caa758d116b164df3ba28d7c6dd3f40ad7f0e000", kill_on_drop: false }` [INFO] [stdout] 9791f9c5e53adee00b7d87d6caa758d116b164df3ba28d7c6dd3f40ad7f0e000