Skip to content

更新 connection_manager.rs #14

更新 connection_manager.rs

更新 connection_manager.rs #14

Triggered via push April 5, 2024 05:45
Status Failure
Total duration 1m 42s
Artifacts

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
check format
Process completed with exit code 1.
lint: src/worker_pool/sender.rs#L10
unused import: `WorkersSender`
lint: src/main.rs#L16
unnecessary braces around block return value
lint: src/main.rs#L20
unused imports: `net::SocketAddr`, `path::Path`
lint: src/main.rs#L28
unused import: `rw_engine::image::get_image_packet`
lint: src/connection_manager.rs#L209
unused variable: `name`
lint: src/connection_manager.rs#L209
unused variable: `packet`
lint: src/main.rs#L119
unreachable statement
lint: src/connection_manager/connection_lib.rs#L48
unused variable: `name`
lint: src/connection_manager/connection_lib.rs#L48
unused variable: `packet`
lint: src/connection.rs#L100
variants `SendPacketToPlayerByUUID` and `SendPacketToPlayerByName` are never constructed
check format: src/worker_pool/sender.rs#L32
Diff in /home/runner/work/RW-RJR-Server/RW-RJR-Server/src/worker_pool/sender.rs