Annotations
6 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run clippy:
boulder/src/cli/build.rs#L223
[clippy] reported by reviewdog 🐶
warning: the `Err`-variant returned from this function is very large
--> boulder/src/cli/build.rs:175:48
|
175 | fn verify_versions_match(builder: &Builder) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
Raw Output:
boulder/src/cli/build.rs:223:5:w:warning: the `Err`-variant returned from this function is very large
--> boulder/src/cli/build.rs:175:48
|
175 | fn verify_versions_match(builder: &Builder) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
__END__
|
|
Run clippy:
boulder/src/cli/build.rs#L223
[clippy] reported by reviewdog 🐶
warning: the `Err`-variant returned from this closure is very large
--> boulder/src/cli/build.rs:141:49
|
141 | container::exec::<Error>(paths, networking, || {
| _________________________________________________^
142 | | builder.build(&mut timing)?;
143 | |
144 | | let packager = Packager::new(
... |
155 | | Ok(())
156 | | })?;
| |_____^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
Raw Output:
boulder/src/cli/build.rs:223:5:w:warning: the `Err`-variant returned from this closure is very large
--> boulder/src/cli/build.rs:141:49
|
141 | container::exec::<Error>(paths, networking, || {
| _________________________________________________^
142 | | builder.build(&mut timing)?;
143 | |
144 | | let packager = Packager::new(
... |
155 | | Ok(())
156 | | })?;
| |_____^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
__END__
|
|
Run clippy:
boulder/src/cli/build.rs#L223
[clippy] reported by reviewdog 🐶
warning: the `Err`-variant returned from this function is very large
--> boulder/src/cli/build.rs:68:46
|
68 | pub fn handle(command: Command, env: Env) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
Raw Output:
boulder/src/cli/build.rs:223:5:w:warning: the `Err`-variant returned from this function is very large
--> boulder/src/cli/build.rs:68:46
|
68 | pub fn handle(command: Command, env: Env) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
223 | Build(#[from] build::Error),
| --------------------------- the largest variant contains at least 128 bytes
...
233 | Cleanup(#[source] build::Error),
| ------------------------------- the variant `Cleanup` contains at least 128 bytes
|
= help: try reducing the size of `cli::build::Error`, for example by boxing large elements or replacing it with `Box<cli::build::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
__END__
|
|
Run clippy:
moss/src/cli/mod.rs#L298
[clippy] reported by reviewdog 🐶
warning: the `Err`-variant returned from this function is very large
--> moss/src/cli/mod.rs:159:21
|
159 | pub fn process() -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
298 | Cache(#[source] cache::Error),
| ----------------------------- the largest variant contains at least 128 bytes
|
= help: try reducing the size of `cli::Error`, for example by boxing large elements or replacing it with `Box<cli::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
Raw Output:
moss/src/cli/mod.rs:298:5:w:warning: the `Err`-variant returned from this function is very large
--> moss/src/cli/mod.rs:159:21
|
159 | pub fn process() -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^
...
298 | Cache(#[source] cache::Error),
| ----------------------------- the largest variant contains at least 128 bytes
|
= help: try reducing the size of `cli::Error`, for example by boxing large elements or replacing it with `Box<cli::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
__END__
|
|
Run clippy:
crates/gitwrap/src/lib.rs#L51
[clippy] reported by reviewdog 🐶
warning: unneeded `return` statement with `?` operator
--> crates/gitwrap/src/lib.rs:51:13
|
51 | return Err(InnerError::Constraint(Constraint::NotBare))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#needless_return_with_question_mark
= note: `#[warn(clippy::needless_return_with_question_mark)]` on by default
Raw Output:
crates/gitwrap/src/lib.rs:51:13:w:warning: unneeded `return` statement with `?` operator
--> crates/gitwrap/src/lib.rs:51:13
|
51 | return Err(InnerError::Constraint(Constraint::NotBare))?;
| ^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#needless_return_with_question_mark
= note: `#[warn(clippy::needless_return_with_question_mark)]` on by default
__END__
|
background
wait
wait-all
cancel
parallel
Loading