Skip to content

Reproducible Verification of Stylus Programs #159

Reproducible Verification of Stylus Programs

Reproducible Verification of Stylus Programs #159

GitHub Actions / clippy succeeded Jun 14, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 146 in check/src/project.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

length comparison to zero

warning: length comparison to zero
   --> check/src/project.rs:146:20
    |
146 |                 if glob_paths.len() > 0 {
    |                    ^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!glob_paths.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
    = note: `#[warn(clippy::len_zero)]` on by default

Check warning on line 152 in check/src/project.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> check/src/project.rs:152:21
    |
152 |                     return false;
    |                     ^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
152 -                     return false;
152 +                     false
    |

Check warning on line 33 in check/src/project.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `rebuild` is never read

warning: field `rebuild` is never read
  --> check/src/project.rs:33:9
   |
30 | pub struct BuildConfig {
   |            ----------- field in this struct
...
33 |     pub rebuild: bool,
   |         ^^^^^^^
   |
   = note: `BuildConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default