[INFO] fetching crate silkrust 0.0.3... [INFO] checking silkrust-0.0.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate silkrust 0.0.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate silkrust 0.0.3 [INFO] finished tweaking crates.io crate silkrust 0.0.3 [INFO] tweaked toml for crates.io crate silkrust 0.0.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate silkrust 0.0.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding bitfield-struct v0.5.6 (available: v0.11.0) [INFO] [stderr] Adding blowfish v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.5.6 [INFO] [stderr] Downloaded blowfish v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1faf3d7520a783cc44b9cd6894d88f56126799c7f0c937cc1c3b7cdfb2990320 [INFO] running `Command { std: "docker" "start" "-a" "1faf3d7520a783cc44b9cd6894d88f56126799c7f0c937cc1c3b7cdfb2990320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1faf3d7520a783cc44b9cd6894d88f56126799c7f0c937cc1c3b7cdfb2990320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1faf3d7520a783cc44b9cd6894d88f56126799c7f0c937cc1c3b7cdfb2990320", kill_on_drop: false }` [INFO] [stdout] 1faf3d7520a783cc44b9cd6894d88f56126799c7f0c937cc1c3b7cdfb2990320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e630480e1eb07fe69f54d9f64a5b2b70140d3f4f4ce2a2ce3e4179059b9bfc9 [INFO] running `Command { std: "docker" "start" "-a" "1e630480e1eb07fe69f54d9f64a5b2b70140d3f4f4ce2a2ce3e4179059b9bfc9", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitfield-struct v0.5.6 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking blowfish v0.8.0 [INFO] [stderr] Checking silkrust v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/net/message_buffer.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stdout] --> src/net/net_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stdout] --> src/net/net_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net/net_client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/net/message_buffer.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stdout] --> src/net/net_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stdout] --> src/net/net_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net/net_client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/net/net_client.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/net/net_client.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `massive_buffer` is never read [INFO] [stdout] --> src/net/net_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct NetClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | massive_buffer: MassiveBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MassiveProcessor` is never constructed [INFO] [stdout] --> src/net/massive.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MassiveProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `count`, and `data` are never read [INFO] [stdout] --> src/net/massive.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct MassiveBuffer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | data: BytesMut, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassiveError` is never used [INFO] [stdout] --> src/net/massive.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) enum MassiveError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassiveMessage` is never used [INFO] [stdout] --> src/net/massive.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum MassiveMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `id` are never read [INFO] [stdout] --> src/net/massive.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct MassiveHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 54 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | id: MessageId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MassiveHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MassiveBody` is never constructed [INFO] [stdout] --> src/net/massive.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct MassiveBody { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `collect`, `reset`, `add_header`, and `add_body` are never used [INFO] [stdout] --> src/net/massive.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl MassiveBuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 75 | pub fn add(&mut self, message: Message) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn collect(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn add_header(&mut self, header: MassiveHeader) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn add_body(&mut self, body: MassiveBody) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbound` is never read [INFO] [stdout] --> src/security/security.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EncodingRequirements { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 10 | outbound: bool, [INFO] [stdout] 11 | inbound: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/net_connection.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/net_connection.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `responder_private` [INFO] [stdout] --> src/security/exchange.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let responder_private: u32 = rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_responder_private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `massive_buffer` is never read [INFO] [stdout] --> src/net/net_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct NetClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | massive_buffer: MassiveBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MassiveProcessor` is never constructed [INFO] [stdout] --> src/net/massive.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MassiveProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header`, `count`, and `data` are never read [INFO] [stdout] --> src/net/massive.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct MassiveBuffer { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | header: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | data: BytesMut, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassiveError` is never used [INFO] [stdout] --> src/net/massive.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) enum MassiveError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MassiveMessage` is never used [INFO] [stdout] --> src/net/massive.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum MassiveMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `id` are never read [INFO] [stdout] --> src/net/massive.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct MassiveHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 54 | total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | id: MessageId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MassiveHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MassiveBody` is never constructed [INFO] [stdout] --> src/net/massive.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct MassiveBody { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `collect`, `reset`, `add_header`, and `add_body` are never used [INFO] [stdout] --> src/net/massive.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl MassiveBuffer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 75 | pub fn add(&mut self, message: Message) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn collect(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn add_header(&mut self, header: MassiveHeader) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn add_body(&mut self, body: MassiveBody) -> Result<(), MassiveError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbound` is never read [INFO] [stdout] --> src/security/security.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EncodingRequirements { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 10 | outbound: bool, [INFO] [stdout] 11 | inbound: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/net_connection.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/net/net_connection.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.20s [INFO] running `Command { std: "docker" "inspect" "1e630480e1eb07fe69f54d9f64a5b2b70140d3f4f4ce2a2ce3e4179059b9bfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e630480e1eb07fe69f54d9f64a5b2b70140d3f4f4ce2a2ce3e4179059b9bfc9", kill_on_drop: false }` [INFO] [stdout] 1e630480e1eb07fe69f54d9f64a5b2b70140d3f4f4ce2a2ce3e4179059b9bfc9