Skip to content

Bump thiserror from 1.0.64 to 2.0.3 #219

Bump thiserror from 1.0.64 to 2.0.3

Bump thiserror from 1.0.64 to 2.0.3 #219

Triggered via pull request November 11, 2024 20:38
Status Failure
Total duration 1m 1s
Artifacts

lint.yml

on: pull_request
Matrix: clippy_check
Fit to window
Zoom out
Zoom in

Annotations

7 errors
field `mod_info_path` is never read: crates/cli/src/project.rs#L26
error: field `mod_info_path` is never read --> crates/cli/src/project.rs:26:9 | 14 | pub struct Project { | ------- field in this struct ... 26 | pub mod_info_path: PathBuf, | ^^^^^^^^^^^^^ | = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
match can be simplified with `.unwrap_or_default()`: crates/cli/src/lib.rs#L56
error: match can be simplified with `.unwrap_or_default()` --> crates/cli/src/lib.rs:56:55 | 56 | let level_filter = level_filter.unwrap_or_else(|| match config.log_level_filter { | _______________________________________________________^ 57 | | Some(f) => f, 58 | | None => Default::default(), 59 | | }); | |_____^ help: replace it with: `config.log_level_filter.unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `-D clippy::manual-unwrap-or-default` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_unwrap_or_default)]`
clippy_check (stable)
Clippy has exited with exit code 101
clippy_check (beta)
The job was canceled because "stable" failed.
clippy_check (beta)
The operation was canceled.
clippy_check (nightly)
The job was canceled because "stable" failed.
clippy_check (nightly)
The operation was canceled.