v0.27.1 #49
Annotations
12 warnings
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rustfmt
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/
|
rustfmt
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/
|
rustfmt
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/
|
rustfmt
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 `pfx
.key_bags(identity.password)
.map_err(io::Error::from)?.get(0)`:
src/lib.rs#L343
warning: accessing first element with `pfx
.key_bags(identity.password)
.map_err(io::Error::from)?.get(0)`
--> src/lib.rs:343:38
|
343 | let key = if let Some(key) = pfx
| ______________________________________^
344 | | .key_bags(identity.password)
345 | | .map_err(io::Error::from)?
346 | | .get(0)
| |___________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `-W clippy::get-first` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::get_first)]`
help: try
|
343 ~ let key = if let Some(key) = pfx
344 + .key_bags(identity.password)
345 + .map_err(io::Error::from)?.first()
|
|
needless `fn main` in doctest:
src/lib.rs#L14
warning: needless `fn main` in doctest
--> src/lib.rs:14:5
|
14 | //! use tcp_stream::{HandshakeError, TcpStream, TLSConfig};
| _____^
15 | | //!
16 | | //! use std::io::{self, Read, Write};
17 | | //!
... |
48 | | //! println!("{}", String::from_utf8_lossy(&res));
49 | | //! }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
= note: `-W clippy::needless-doctest-main` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_doctest_main)]`
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|