cargo update #22
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check warning on line 194 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:194:37
|
194 | fn run(cli: Cli, agent: HCAgent) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
Check warning on line 194 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:194:37
|
194 | fn run(cli: Cli, agent: HCAgent) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
Check warning on line 109 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:109:66
|
109 | fn notify_complete(&self, code: Option<u8>, output: &str) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
Check warning on line 109 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:109:66
|
109 | fn notify_complete(&self, code: Option<u8>, output: &str) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
Check warning on line 100 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:100:31
|
100 | fn notify_start(&self) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
Check warning on line 100 in src/main.rs
github-actions / clippy
the `Err`-variant returned from this function is very large
warning: the `Err`-variant returned from this function is very large
--> src/main.rs:100:31
|
100 | fn notify_start(&self) -> Result<Response, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 272 bytes
|
= help: try reducing the size of `ureq::Error`, for example by boxing large elements or replacing it with `Box<ureq::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default