feat: Add packet capture functionality and many more CLI improvements… #631
ci.yml
on: push
Build, check, and test with all features
57s
Check code formatting
33s
Build using MSRV (lib only)
52s
Run clippy tests
29s
Check rustdoc
31s
Matrix: build_cli
Matrix: build_lib
Annotations
22 warnings
Check code formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check code formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check code formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check code formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check code formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check code formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
accessing first element with `packets.get(0)`:
crates/lib/src/protocols/gamespy/protocols/three/protocol.rs#L357
warning: accessing first element with `packets.get(0)`
--> crates/lib/src/protocols/gamespy/protocols/three/protocol.rs:357:57
|
357 | let (mut server_vars, remaining_data) = data_to_map(packets.get(0).ok_or(GDErrorKind::PacketBad)?)?;
| ^^^^^^^^^^^^^^ help: try: `packets.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
|
accessing first element with `packets.get(0)`:
crates/lib/src/games/jc2m/protocol.rs#L43
warning: accessing first element with `packets.get(0)`
--> crates/lib/src/games/jc2m/protocol.rs:43:16
|
43 | let data = packets
| ________________^
44 | | .get(0)
| |_______________^ help: try: `packets.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
|
accessing first element with `packets.get(0)`:
crates/lib/src/protocols/gamespy/protocols/three/protocol.rs#L357
warning: accessing first element with `packets.get(0)`
--> crates/lib/src/protocols/gamespy/protocols/three/protocol.rs:357:57
|
357 | let (mut server_vars, remaining_data) = data_to_map(packets.get(0).ok_or(GDErrorKind::PacketBad)?)?;
| ^^^^^^^^^^^^^^ help: try: `packets.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
|
unused import: `query::*`:
crates/lib/src/lib.rs#L55
warning: unused import: `query::*`
--> crates/lib/src/lib.rs:55:9
|
55 | pub use query::*;
| ^^^^^^^^
|
unused import: `protocol::*`:
crates/lib/src/games/minecraft/mod.rs#L7
warning: unused import: `protocol::*`
--> crates/lib/src/games/minecraft/mod.rs:7:9
|
7 | pub use protocol::*;
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
accessing first element with `packets.get(0)`:
crates/lib/src/games/jc2m/protocol.rs#L43
warning: accessing first element with `packets.get(0)`
--> crates/lib/src/games/jc2m/protocol.rs:43:16
|
43 | let data = packets
| ________________^
44 | | .get(0)
| |_______________^ help: try: `packets.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
|
unused import: `query::*`:
crates/lib/src/lib.rs#L55
warning: unused import: `query::*`
--> crates/lib/src/lib.rs:55:9
|
55 | pub use query::*;
| ^^^^^^^^
|
unused import: `protocol::*`:
crates/lib/src/games/minecraft/mod.rs#L7
warning: unused import: `protocol::*`
--> crates/lib/src/games/minecraft/mod.rs:7:9
|
7 | pub use protocol::*;
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clippy tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run clippy tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build using MSRV (lib only)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build using MSRV (lib only)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build using MSRV (lib only)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build using MSRV (lib only)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build using MSRV (lib only)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build using MSRV (lib only)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|