Chore(deps): Bump derive_builder in the dependencies group (#43) #107
ci.yml
on: push
stable / fmt
22s
nightly / doc
22s
ubuntu / stable / coverage
46s
Matrix: clippy
Matrix: required
Annotations
9 warnings
very complex type used. Consider factoring parts into `type` definitions:
src/options.rs#L42
warning: very complex type used. Consider factoring parts into `type` definitions
--> src/options.rs:42:17
|
42 | pub filter: Box<dyn FnMut(&Vec<u8>) -> bool>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
file opened with `create`, but `truncate` behavior not defined:
src/mock/datafile_wrapper.rs#L55
warning: file opened with `create`, but `truncate` behavior not defined
--> src/mock/datafile_wrapper.rs:55:14
|
55 | .create(true)
| ^^^^^^^^^^^^- help: add: `.truncate(true)`
|
= help: if you intend to overwrite an existing file entirely, call `.truncate(true)`
= help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)`
= help: alternatively, use `.append(true)` to append to the file instead of overwriting it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
= note: `#[warn(clippy::suspicious_open_options)]` on by default
|
module has the same name as its containing module:
src/fio/mod.rs#L1
warning: module has the same name as its containing module
--> src/fio/mod.rs:1:1
|
1 | mod fio;
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
redundant guard:
src/data/data_file.rs#L108
warning: redundant guard
--> src/data/data_file.rs:108:26
|
108 | remaining if remaining == 0 => return Ok(None),
| ^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
= note: `#[warn(clippy::redundant_guards)]` on by default
help: try
|
108 - remaining if remaining == 0 => return Ok(None),
108 + 0 => return Ok(None),
|
|
struct `WriteBatch` is never constructed:
src/batch.rs#L6
warning: struct `WriteBatch` is never constructed
--> src/batch.rs:6:12
|
6 | pub struct WriteBatch<'a> {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unexpected `cfg` condition value: `debug`:
src/utils.rs#L4
warning: unexpected `cfg` condition value: `debug`
--> src/utils.rs:4:7
|
4 | #[cfg(feature = "debug")]
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `debug`:
src/utils.rs#L1
warning: unexpected `cfg` condition value: `debug`
--> src/utils.rs:1:7
|
1 | #[cfg(feature = "debug")]
| ^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|