[INFO] fetching crate msgtrans 1.0.0... [INFO] building msgtrans-1.0.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate msgtrans 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate msgtrans 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate msgtrans 1.0.0 [INFO] tweaked toml for crates.io crate msgtrans 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate msgtrans 1.0.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate msgtrans 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39bc79012b2280d6e993a2ecedbdb93cc216f50873e210bf1267430a5112f2d5 [INFO] running `Command { std: "docker" "start" "-a" "39bc79012b2280d6e993a2ecedbdb93cc216f50873e210bf1267430a5112f2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39bc79012b2280d6e993a2ecedbdb93cc216f50873e210bf1267430a5112f2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39bc79012b2280d6e993a2ecedbdb93cc216f50873e210bf1267430a5112f2d5", kill_on_drop: false }` [INFO] [stdout] 39bc79012b2280d6e993a2ecedbdb93cc216f50873e210bf1267430a5112f2d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a426bf846920b18846338d7f487f744fb3f48f37f9ead742dff60561b49e1e [INFO] running `Command { std: "docker" "start" "-a" "c5a426bf846920b18846338d7f487f744fb3f48f37f9ead742dff60561b49e1e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling quinn-udp v0.5.12 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fastbloom v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling msgtrans v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/transport/transport.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestContext` [INFO] [stdout] --> src/transport/transport.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | event::{TransportEvent, RequestContext}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionInfo`, `EventStream`, and `error::CloseReason` [INFO] [stdout] --> src/transport/transport_server.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | SessionId, TransportError, Packet, EventStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | error::CloseReason, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | command::{ConnectionInfo, TransportStats}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/transport/connection_factory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientConfig` [INFO] [stdout] --> src/protocol/client_config.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::protocol::adapter::{DynProtocolConfig, ClientConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Connection` [INFO] [stdout] --> src/protocol/client_config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/packet.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/event.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/transport.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | ... let message = crate::event::Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/transport/actor.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let stats = self.stats.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_sender` [INFO] [stdout] --> src/transport/actor.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let event_sender = self.event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_event_sender` [INFO] [stdout] --> src/transport/actor.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let global_event_sender = self.global_event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynProtocolConfig` [INFO] [stdout] --> src/transport/client.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | protocol::adapter::{DynProtocolConfig, DynClientConfig}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::ServerConfig` [INFO] [stdout] --> src/transport/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | protocol::adapter::ServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtocolAdapter` [INFO] [stdout] --> src/transport/transport.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | protocol::{ProtocolRegistry, ProtocolAdapter}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/transport/transport_server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::DynServerConfig` [INFO] [stdout] --> src/transport/transport_server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | protocol::adapter::DynServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Server` [INFO] [stdout] --> src/transport/transport_server.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/adapters/quic.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/adapters/quic.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/lockfree_connection.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | mut connection: Box, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_type` [INFO] [stdout] --> src/packet.rs:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | pub fn new(packet_type: PacketType, message_id: u32, payload: impl Into) -> ArcPacket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | TcpEvent::ConnectionTimeout { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | WebSocketEvent::HandshakeCompleted { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | WebSocketEvent::InvalidFrame { session_id, error } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | QuicEvent::StreamOpened { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:260:39 [INFO] [stdout] | [INFO] [stdout] 260 | QuicEvent::StreamClosed { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> src/connection.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let adapter = self.inner.accept().await.map_err(|e| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/event.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | TransportEvent::ConnectionEstablished { info } => [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event.rs:467:48 [INFO] [stdout] | [INFO] [stdout] 467 | TransportEvent::ConnectionClosed { reason } => [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/event.rs:469:45 [INFO] [stdout] | [INFO] [stdout] 469 | TransportEvent::MessageReceived(packet) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/event.rs:471:43 [INFO] [stdout] | [INFO] [stdout] 471 | TransportEvent::MessageSent { packet_id } => [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/event.rs:473:46 [INFO] [stdout] | [INFO] [stdout] 473 | TransportEvent::TransportError { error } => [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/event.rs:479:45 [INFO] [stdout] | [INFO] [stdout] 479 | TransportEvent::RequestReceived(ctx) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | fn from(error: String) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `TcpServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(server: tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `TcpServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WebSocketServer` is more private than the item `WebSocketServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn new(server: crate::adapters::websocket::WebSocketServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `WebSocketServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WebSocketServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/websocket.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | pub(crate) struct WebSocketServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QuicServer` is more private than the item `QuicServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(server: crate::adapters::quic::QuicServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `QuicServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QuicServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/quic.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | pub(crate) struct QuicServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `connection::TcpServer::new` [INFO] [stdout] --> src/connection.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(inner: crate::adapters::tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `connection::TcpServer::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/transport/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] 22 + fn connect(&self, transport: &mut Transport) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.transports.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 247 | let _ = self.transports.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | self.stats.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = self.stats.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.states.insert(session_id, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.states.insert(session_id, state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | self.states.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = self.states.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / self.states.for_each(|session_id, state_lock| { [INFO] [stdout] 96 | | // 注意:这里不能使用 await,所以只能返回当前可获取的状态 [INFO] [stdout] 97 | | if let Ok(state) = state_lock.try_lock() { [INFO] [stdout] 98 | | result.push((*session_id, state.clone())); [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = self.states.for_each(|session_id, state_lock| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transport/pool.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 641 | impl PoolStats { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 642 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stats` is never read [INFO] [stdout] --> src/transport/actor.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 506 | pub struct ActorManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 509 | stats: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats` and `clear` are never used [INFO] [stdout] --> src/adapters/tcp.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl OptimizedReadBuffer { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn stats(&self) -> &ReadBufferStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 674 | struct ExpansionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 675 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 676 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 677 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 678 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpansionEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/websocket.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct WebSocketAdapter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/tcp.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TcpAdapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/adapters/tcp.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl TcpServer { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn builder() -> TcpServerBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 683 | struct ShrinkEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 684 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 685 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 686 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 687 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShrinkEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_client_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn configure_client_insecure() -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_server_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn configure_server_insecure() -> (ServerConfig, CertificateDer<'static>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `connection_info` are never read [INFO] [stdout] --> src/adapters/quic.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct QuicAdapter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | stats: AdapterStats, [INFO] [stdout] 289 | connection_info: ConnectionInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_primary` is never used [INFO] [stdout] --> src/event.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl RequestContext { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub(crate) fn set_primary(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_session` is never used [INFO] [stdout] --> src/transport/client.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 240 | impl TransportClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | async fn current_session(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_metrics` is never used [INFO] [stdout] --> src/transport/pool.rs:755:14 [INFO] [stdout] | [INFO] [stdout] 699 | impl PerformanceMonitor { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 755 | async fn update_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Data` should have an upper case name [INFO] [stdout] --> src/packet.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const Data: PacketType = PacketType::OneWay; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `DATA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/protocol/client_config.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 867 - async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] 867 + fn connect(self, transport: Arc) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.37s [INFO] running `Command { std: "docker" "inspect" "c5a426bf846920b18846338d7f487f744fb3f48f37f9ead742dff60561b49e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a426bf846920b18846338d7f487f744fb3f48f37f9ead742dff60561b49e1e", kill_on_drop: false }` [INFO] [stdout] c5a426bf846920b18846338d7f487f744fb3f48f37f9ead742dff60561b49e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f71491794787be9e0352e9f60b2b998bc4fab68311bd617c285df50f974a890c [INFO] running `Command { std: "docker" "start" "-a" "f71491794787be9e0352e9f60b2b998bc4fab68311bd617c285df50f974a890c", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quinn-udp v0.5.12 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling msgtrans v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/transport/transport.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestContext` [INFO] [stdout] --> src/transport/transport.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | event::{TransportEvent, RequestContext}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionInfo`, `EventStream`, and `error::CloseReason` [INFO] [stdout] --> src/transport/transport_server.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | SessionId, TransportError, Packet, EventStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | error::CloseReason, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | command::{ConnectionInfo, TransportStats}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/transport/connection_factory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientConfig` [INFO] [stdout] --> src/protocol/client_config.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::protocol::adapter::{DynProtocolConfig, ClientConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Connection` [INFO] [stdout] --> src/protocol/client_config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/packet.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/event.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/transport/transport.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestContext` [INFO] [stdout] --> src/transport/transport.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | event::{TransportEvent, RequestContext}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionInfo`, `EventStream`, and `error::CloseReason` [INFO] [stdout] --> src/transport/transport_server.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | SessionId, TransportError, Packet, EventStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | error::CloseReason, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | command::{ConnectionInfo, TransportStats}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/transport/lockfree.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/transport/lockfree_connection.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/transport/connection_factory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientConfig` [INFO] [stdout] --> src/protocol/client_config.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::protocol::adapter::{DynProtocolConfig, ClientConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Connection` [INFO] [stdout] --> src/protocol/client_config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut` and `Buf` [INFO] [stdout] --> src/packet.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/event.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/transport.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | ... let message = crate::event::Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/transport.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | ... let message = crate::event::Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/transport/actor.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let stats = self.stats.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_sender` [INFO] [stdout] --> src/transport/actor.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let event_sender = self.event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_event_sender` [INFO] [stdout] --> src/transport/actor.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let global_event_sender = self.global_event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/transport/actor.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | let stats = self.stats.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_sender` [INFO] [stdout] --> src/transport/actor.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let event_sender = self.event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_event_sender` [INFO] [stdout] --> src/transport/actor.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | let global_event_sender = self.global_event_sender.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_event_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/transport/actor.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let session_id = self.session_id; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynProtocolConfig` [INFO] [stdout] --> src/transport/client.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | protocol::adapter::{DynProtocolConfig, DynClientConfig}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::ServerConfig` [INFO] [stdout] --> src/transport/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | protocol::adapter::ServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtocolAdapter` [INFO] [stdout] --> src/transport/transport.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | protocol::{ProtocolRegistry, ProtocolAdapter}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/transport/transport_server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::DynServerConfig` [INFO] [stdout] --> src/transport/transport_server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | protocol::adapter::DynServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Server` [INFO] [stdout] --> src/transport/transport_server.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/adapters/quic.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/adapters/quic.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_type` [INFO] [stdout] --> src/packet.rs:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | pub fn new(packet_type: PacketType, message_id: u32, payload: impl Into) -> ArcPacket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> src/connection.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let adapter = self.inner.accept().await.map_err(|e| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | TcpEvent::ConnectionTimeout { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | WebSocketEvent::HandshakeCompleted { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | WebSocketEvent::InvalidFrame { session_id, error } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | QuicEvent::StreamOpened { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:260:39 [INFO] [stdout] | [INFO] [stdout] 260 | QuicEvent::StreamClosed { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/event.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | TransportEvent::ConnectionEstablished { info } => [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event.rs:467:48 [INFO] [stdout] | [INFO] [stdout] 467 | TransportEvent::ConnectionClosed { reason } => [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/event.rs:469:45 [INFO] [stdout] | [INFO] [stdout] 469 | TransportEvent::MessageReceived(packet) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/event.rs:471:43 [INFO] [stdout] | [INFO] [stdout] 471 | TransportEvent::MessageSent { packet_id } => [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/event.rs:473:46 [INFO] [stdout] | [INFO] [stdout] 473 | TransportEvent::TransportError { error } => [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/event.rs:479:45 [INFO] [stdout] | [INFO] [stdout] 479 | TransportEvent::RequestReceived(ctx) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | fn from(error: String) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/lockfree_connection.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | mut connection: Box, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/transport/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] 22 + fn connect(&self, transport: &mut Transport) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `TcpServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(server: tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `TcpServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WebSocketServer` is more private than the item `WebSocketServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn new(server: crate::adapters::websocket::WebSocketServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `WebSocketServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WebSocketServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/websocket.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | pub(crate) struct WebSocketServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QuicServer` is more private than the item `QuicServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(server: crate::adapters::quic::QuicServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `QuicServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QuicServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/quic.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | pub(crate) struct QuicServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `connection::TcpServer::new` [INFO] [stdout] --> src/connection.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(inner: crate::adapters::tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `connection::TcpServer::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.transports.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 247 | let _ = self.transports.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | self.stats.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = self.stats.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.states.insert(session_id, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.states.insert(session_id, state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | self.states.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = self.states.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / self.states.for_each(|session_id, state_lock| { [INFO] [stdout] 96 | | // 注意:这里不能使用 await,所以只能返回当前可获取的状态 [INFO] [stdout] 97 | | if let Ok(state) = state_lock.try_lock() { [INFO] [stdout] 98 | | result.push((*session_id, state.clone())); [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = self.states.for_each(|session_id, state_lock| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/protocol/client_config.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 867 - async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] 867 + fn connect(self, transport: Arc) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transport/pool.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 641 | impl PoolStats { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 642 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 674 | struct ExpansionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 675 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 676 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 677 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 678 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpansionEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 683 | struct ShrinkEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 684 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 685 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 686 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 687 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShrinkEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_metrics` is never used [INFO] [stdout] --> src/transport/pool.rs:755:14 [INFO] [stdout] | [INFO] [stdout] 699 | impl PerformanceMonitor { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 755 | async fn update_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stats` is never read [INFO] [stdout] --> src/transport/actor.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 506 | pub struct ActorManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 509 | stats: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats` and `clear` are never used [INFO] [stdout] --> src/adapters/tcp.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl OptimizedReadBuffer { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn stats(&self) -> &ReadBufferStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/tcp.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TcpAdapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/adapters/tcp.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl TcpServer { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn builder() -> TcpServerBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_client_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn configure_client_insecure() -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_server_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn configure_server_insecure() -> (ServerConfig, CertificateDer<'static>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `connection_info` are never read [INFO] [stdout] --> src/adapters/quic.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct QuicAdapter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | stats: AdapterStats, [INFO] [stdout] 289 | connection_info: ConnectionInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_primary` is never used [INFO] [stdout] --> src/event.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl RequestContext { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub(crate) fn set_primary(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/websocket.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct WebSocketAdapter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_session` is never used [INFO] [stdout] --> src/transport/client.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 240 | impl TransportClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | async fn current_session(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Data` should have an upper case name [INFO] [stdout] --> src/packet.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const Data: PacketType = PacketType::OneWay; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `DATA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynProtocolConfig` [INFO] [stdout] --> src/transport/client.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | protocol::adapter::{DynProtocolConfig, DynClientConfig}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::ServerConfig` [INFO] [stdout] --> src/transport/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | protocol::adapter::ServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProtocolAdapter` [INFO] [stdout] --> src/transport/transport.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | protocol::{ProtocolRegistry, ProtocolAdapter}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/transport/transport_server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::adapter::DynServerConfig` [INFO] [stdout] --> src/transport/transport_server.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | protocol::adapter::DynServerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Server` [INFO] [stdout] --> src/transport/transport_server.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | Connection, Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/adapters/quic.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/adapters/quic.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/lockfree_connection.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | mut connection: Box, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | TcpEvent::ConnectionTimeout { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | WebSocketEvent::HandshakeCompleted { session_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:196:44 [INFO] [stdout] | [INFO] [stdout] 196 | WebSocketEvent::InvalidFrame { session_id, error } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `session_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | QuicEvent::StreamOpened { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/event.rs:260:39 [INFO] [stdout] | [INFO] [stdout] 260 | QuicEvent::StreamClosed { session_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/event.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | TransportEvent::ConnectionEstablished { info } => [INFO] [stdout] | ^^^^ help: try ignoring the field: `info: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event.rs:467:48 [INFO] [stdout] | [INFO] [stdout] 467 | TransportEvent::ConnectionClosed { reason } => [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/event.rs:469:45 [INFO] [stdout] | [INFO] [stdout] 469 | TransportEvent::MessageReceived(packet) => [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/event.rs:471:43 [INFO] [stdout] | [INFO] [stdout] 471 | TransportEvent::MessageSent { packet_id } => [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/event.rs:473:46 [INFO] [stdout] | [INFO] [stdout] 473 | TransportEvent::TransportError { error } => [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/event.rs:479:45 [INFO] [stdout] | [INFO] [stdout] 479 | TransportEvent::RequestReceived(ctx) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_type` [INFO] [stdout] --> src/packet.rs:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | pub fn new(packet_type: PacketType, message_id: u32, payload: impl Into) -> ArcPacket { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> src/connection.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let adapter = self.inner.accept().await.map_err(|e| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/error.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | fn from(error: String) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/transport/client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 - async fn connect(&self, transport: &mut Transport) -> Result; [INFO] [stdout] 22 + fn connect(&self, transport: &mut Transport) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `TcpServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(server: tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `TcpServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WebSocketServer` is more private than the item `WebSocketServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn new(server: crate::adapters::websocket::WebSocketServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `WebSocketServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WebSocketServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/websocket.rs:443:1 [INFO] [stdout] | [INFO] [stdout] 443 | pub(crate) struct WebSocketServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QuicServer` is more private than the item `QuicServerWrapper::new` [INFO] [stdout] --> src/adapters/factories.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(server: crate::adapters::quic::QuicServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `QuicServerWrapper::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QuicServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/quic.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | pub(crate) struct QuicServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `adapters::tcp::TcpServer` is more private than the item `connection::TcpServer::new` [INFO] [stdout] --> src/connection.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn new(inner: crate::adapters::tcp::TcpServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `connection::TcpServer::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `adapters::tcp::TcpServer` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/adapters/tcp.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) struct TcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/protocol/client_config.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 867 - async fn connect(self, transport: Arc) -> Result; [INFO] [stdout] 867 + fn connect(self, transport: Arc) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Data` should have an upper case name [INFO] [stdout] --> src/packet.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const Data: PacketType = PacketType::OneWay; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `DATA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transport/pool.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 641 | impl PoolStats { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 642 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 674 | struct ExpansionEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 675 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 676 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 677 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 678 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpansionEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `from_size`, `to_size`, and `factor` are never read [INFO] [stdout] --> src/transport/pool.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 683 | struct ShrinkEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 684 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 685 | from_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 686 | to_size: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 687 | factor: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShrinkEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_metrics` is never used [INFO] [stdout] --> src/transport/pool.rs:755:14 [INFO] [stdout] | [INFO] [stdout] 699 | impl PerformanceMonitor { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 755 | async fn update_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_session` is never used [INFO] [stdout] --> src/transport/client.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 240 | impl TransportClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 472 | async fn current_session(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stats` is never read [INFO] [stdout] --> src/transport/actor.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 506 | pub struct ActorManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 509 | stats: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats` and `clear` are never used [INFO] [stdout] --> src/adapters/tcp.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl OptimizedReadBuffer { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | fn stats(&self) -> &ReadBufferStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/tcp.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct TcpAdapter { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/adapters/tcp.rs:554:19 [INFO] [stdout] | [INFO] [stdout] 553 | impl TcpServer { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 554 | pub(crate) fn builder() -> TcpServerBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/adapters/websocket.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct WebSocketAdapter { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_client_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn configure_client_insecure() -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_server_insecure` is never used [INFO] [stdout] --> src/adapters/quic.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn configure_server_insecure() -> (ServerConfig, CertificateDer<'static>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `connection_info` are never read [INFO] [stdout] --> src/adapters/quic.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct QuicAdapter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 287 | config: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | stats: AdapterStats, [INFO] [stdout] 289 | connection_info: ConnectionInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_primary` is never used [INFO] [stdout] --> src/event.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 336 | impl RequestContext { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub(crate) fn set_primary(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 219 | let _ = self.transports.insert(session_id, transport.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.states.insert(session_id, state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.states.insert(session_id, state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | self.states.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = self.states.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/connection_state.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / self.states.for_each(|session_id, state_lock| { [INFO] [stdout] 96 | | // 注意:这里不能使用 await,所以只能返回当前可获取的状态 [INFO] [stdout] 97 | | if let Ok(state) = state_lock.try_lock() { [INFO] [stdout] 98 | | result.push((*session_id, state.clone())); [INFO] [stdout] 99 | | } [INFO] [stdout] 100 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 95 | let _ = self.states.for_each(|session_id, state_lock| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = self.stats.insert(session_id, TransportStats::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | self.transports.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 247 | let _ = self.transports.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transport/transport_server.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | self.stats.remove(&session_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 248 | let _ = self.stats.remove(&session_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketType` [INFO] [stdout] --> examples/packet.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use msgtrans::packet::{Packet, PacketType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `msgtrans` (lib test); 68 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name msgtrans --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="quic"' --cfg 'feature="tcp"' --cfg 'feature="websocket"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "flate2", "quic", "tcp", "websocket", "zstd"))' -C metadata=07ed8cb9e311bceb -C extra-filename=-943786ff0f11f1f8 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-1062fd8720902979.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-34c4eb00d839d4ce.so --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-1544bf62fd3e71d3.rlib --extern crossbeam=/opt/rustwide/target/debug/deps/libcrossbeam-cd6cb0bd9cea7cbb.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-a5156ef294398bef.rlib --extern crossbeam_utils=/opt/rustwide/target/debug/deps/libcrossbeam_utils-57acb8582d3ed5fe.rlib --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-16f72029b81352a7.rlib --extern flume=/opt/rustwide/target/debug/deps/libflume-b5a91e5c7b133937.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-304440756fc6c375.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-4e608e1743a10963.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-6018a93cdc1848c6.rlib --extern quinn=/opt/rustwide/target/debug/deps/libquinn-9d71db4b94e2e55e.rlib --extern rcgen=/opt/rustwide/target/debug/deps/librcgen-37af48628d03aa62.rlib --extern rustls=/opt/rustwide/target/debug/deps/librustls-5e66d76998aeee6c.rlib --extern rustls_pemfile=/opt/rustwide/target/debug/deps/librustls_pemfile-6112221678171888.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-a7dab3c7b69216ed.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-4f4f31eb5ba25a30.rlib --extern sharded_slab=/opt/rustwide/target/debug/deps/libsharded_slab-8a8a8c9e27e64aa6.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-b066ee2c679b47fd.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-c0ee179f4e96f11a.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-a7f96c34085f4483.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-4b8c4d90fe0d79e2.rlib --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-abaf5c1dead15ad0.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-ac3fe1d747b88ac7.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-9b04af6552a38a59.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-e8f15c9a77ffc443.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-91800d1cbaec74d2.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-d1667385f5942d17.rlib --extern webpki_roots=/opt/rustwide/target/debug/deps/libwebpki_roots-495819d08b7291a5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-553504a8b9b5314c/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f71491794787be9e0352e9f60b2b998bc4fab68311bd617c285df50f974a890c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71491794787be9e0352e9f60b2b998bc4fab68311bd617c285df50f974a890c", kill_on_drop: false }` [INFO] [stdout] f71491794787be9e0352e9f60b2b998bc4fab68311bd617c285df50f974a890c