Updated minidump-writer so the latest rust version will compile it ag… #161
Annotations
37 errors and 44 warnings
failed to resolve: use of undeclared type `Timespec`:
filer-fuse/src/lib.rs#L81
error[E0433]: failed to resolve: use of undeclared type `Timespec`
--> filer-fuse/src/lib.rs:81:33
|
81 | crtime: Timespec::new(0, 0),
| ^^^^^^^^ use of undeclared type `Timespec`
|
method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1:
filer-fuse/src/lib.rs#L40
error[E0050]: method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1
--> filer-fuse/src/lib.rs:40:16
|
40 | fn destroy(&self, _req: RequestInfo) {
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 2
|
= note: `destroy` from trait: `fn(&Self)`
|
`Result` is ambiguous:
filer-fuse/src/lib.rs#L637
error[E0659]: `Result` is ambiguous
--> filer-fuse/src/lib.rs:637:6
|
637 | ) -> Result<()> {
| ^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `Result` could refer to the type alias imported here
--> filer-fuse/src/lib.rs:1:5
|
1 | use filer::prelude::v1::*;
| ^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
note: `Result` could also refer to the type alias imported here
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L170
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:170:27
|
170 | _bkuptime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L169
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:169:26
|
169 | _chgtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L168
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:168:25
|
168 | _crtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L155
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:155:24
|
155 | _mtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L154
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:154:24
|
154 | _atime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find function `get_time` in crate `time`:
filer-fuse/src/lib.rs#L71
error[E0425]: cannot find function `get_time` in crate `time`
--> filer-fuse/src/lib.rs:71:33
|
71 | let now = time::get_time();
| ^^^^^^^^ not found in `time`
|
cannot find struct, variant or union type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0422]: cannot find struct, variant or union type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:23
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:12
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
lint
Clippy had exited with the 101 exit code
|
build
Process completed with exit code 101.
|
test
Process completed with exit code 101.
|
failed to resolve: use of undeclared type `Timespec`:
filer-fuse/src/lib.rs#L81
error[E0433]: failed to resolve: use of undeclared type `Timespec`
--> filer-fuse/src/lib.rs:81:33
|
81 | crtime: Timespec::new(0, 0),
| ^^^^^^^^ use of undeclared type `Timespec`
|
failed to resolve: use of undeclared type `Timespec`:
filer-fuse/src/lib.rs#L81
error[E0433]: failed to resolve: use of undeclared type `Timespec`
--> filer-fuse/src/lib.rs:81:33
|
81 | crtime: Timespec::new(0, 0),
| ^^^^^^^^ use of undeclared type `Timespec`
|
method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1:
filer-fuse/src/lib.rs#L40
error[E0050]: method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1
--> filer-fuse/src/lib.rs:40:16
|
40 | fn destroy(&self, _req: RequestInfo) {
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 2
|
= note: `destroy` from trait: `fn(&Self)`
|
method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1:
filer-fuse/src/lib.rs#L40
error[E0050]: method `destroy` has 2 parameters but the declaration in trait `fuse_mt::FilesystemMT::destroy` has 1
--> filer-fuse/src/lib.rs:40:16
|
40 | fn destroy(&self, _req: RequestInfo) {
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter, found 2
|
= note: `destroy` from trait: `fn(&Self)`
|
`Result` is ambiguous:
filer-fuse/src/lib.rs#L637
error[E0659]: `Result` is ambiguous
--> filer-fuse/src/lib.rs:637:6
|
637 | ) -> Result<()> {
| ^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `Result` could refer to the type alias imported here
--> filer-fuse/src/lib.rs:1:5
|
1 | use filer::prelude::v1::*;
| ^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
note: `Result` could also refer to the type alias imported here
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L170
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:170:27
|
170 | _bkuptime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L169
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:169:26
|
169 | _chgtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L168
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:168:25
|
168 | _crtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L155
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:155:24
|
155 | _mtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L154
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:154:24
|
154 | _atime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find function `get_time` in crate `time`:
filer-fuse/src/lib.rs#L71
error[E0425]: cannot find function `get_time` in crate `time`
--> filer-fuse/src/lib.rs:71:33
|
71 | let now = time::get_time();
| ^^^^^^^^ not found in `time`
|
cannot find struct, variant or union type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0422]: cannot find struct, variant or union type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:23
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:12
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
`Result` is ambiguous:
filer-fuse/src/lib.rs#L637
error[E0659]: `Result` is ambiguous
--> filer-fuse/src/lib.rs:637:6
|
637 | ) -> Result<()> {
| ^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
note: `Result` could refer to the type alias imported here
--> filer-fuse/src/lib.rs:1:5
|
1 | use filer::prelude::v1::*;
| ^^^^^^^^^^^^^^^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
note: `Result` could also refer to the type alias imported here
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
= help: consider adding an explicit import of `Result` to disambiguate
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L170
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:170:27
|
170 | _bkuptime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L169
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:169:26
|
169 | _chgtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L168
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:168:25
|
168 | _crtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L155
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:155:24
|
155 | _mtime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L154
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:154:24
|
154 | _atime: Option<Timespec>,
| ^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
33 | impl<Timespec> FilesystemMT for FilerFs {
| ++++++++++
|
cannot find function `get_time` in crate `time`:
filer-fuse/src/lib.rs#L71
error[E0425]: cannot find function `get_time` in crate `time`
--> filer-fuse/src/lib.rs:71:33
|
71 | let now = time::get_time();
| ^^^^^^^^ not found in `time`
|
cannot find struct, variant or union type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0422]: cannot find struct, variant or union type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:23
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
cannot find type `Timespec` in this scope:
filer-fuse/src/lib.rs#L19
error[E0412]: cannot find type `Timespec` in this scope
--> filer-fuse/src/lib.rs:19:12
|
19 | const TTL: Timespec = Timespec { sec: 1, nsec: 0 };
| ^^^^^^^^ not found in this scope
|
build-coverage
Process completed with exit code 101.
|
unused import: `time::*`:
filer-fuse/src/lib.rs#L9
warning: unused import: `time::*`
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L180
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:180:29
|
180 | if (self.stack_pop)(&*self.stack, &mut out) {
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L175
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:175:27
|
175 | (self.stack_push)(&*self.stack, val.into())
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L220
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:220:5
|
220 | / pub unsafe fn register_mapping_raw(
221 | | &self,
222 | | id: UTypeId,
223 | | layout: &'static TypeLayout,
224 | | name: &str,
225 | | mapping: OpaqueMapping,
226 | | ) -> bool {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L187
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:187:5
|
187 | / pub unsafe fn entries_raw(
188 | | &self,
189 | | id: UTypeId,
190 | | layout: &'static TypeLayout,
191 | | ) -> Entry<DashMap<String, OpaqueMapping>> {
| |______________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `#[warn(clippy::missing_safety_doc)]` on by default
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L177
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:177:17
|
177 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L153
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:153:17
|
153 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L141
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:141:17
|
141 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L511
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:511:20
|
511 | Ok(self.1 .0 as u64)
| ^^^^^^^^^^^^^^^^ help: try: `self.1 .0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L502
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:502:29
|
502 | self.1 .0 = v as u64;
| ^^^^^^^^ help: try: `v`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
the following explicit lifetimes could be elided: 'a:
filer/src/fs.rs#L176
warning: the following explicit lifetimes could be elided: 'a
--> filer/src/fs.rs:176:24
|
176 | extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
176 - extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
176 + extern "C" fn read(&self, mut data: VecOps<RWData<'_>>) -> i32 {
|
|
very complex type used. Consider factoring parts into `type` definitions:
filer/src/backend.rs#L97
warning: very complex type used. Consider factoring parts into `type` definitions
--> filer/src/backend.rs:97:15
|
97 | build_fn: Option<fn(&str, &CArc<C>) -> Result<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L180
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:180:29
|
180 | if (self.stack_pop)(&*self.stack, &mut out) {
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L175
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:175:27
|
175 | (self.stack_push)(&*self.stack, val.into())
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L220
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:220:5
|
220 | / pub unsafe fn register_mapping_raw(
221 | | &self,
222 | | id: UTypeId,
223 | | layout: &'static TypeLayout,
224 | | name: &str,
225 | | mapping: OpaqueMapping,
226 | | ) -> bool {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L187
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:187:5
|
187 | / pub unsafe fn entries_raw(
188 | | &self,
189 | | id: UTypeId,
190 | | layout: &'static TypeLayout,
191 | | ) -> Entry<DashMap<String, OpaqueMapping>> {
| |______________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `#[warn(clippy::missing_safety_doc)]` on by default
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L177
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:177:17
|
177 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L153
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:153:17
|
153 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L141
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:141:17
|
141 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L511
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:511:20
|
511 | Ok(self.1 .0 as u64)
| ^^^^^^^^^^^^^^^^ help: try: `self.1 .0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L502
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:502:29
|
502 | self.1 .0 = v as u64;
| ^^^^^^^^ help: try: `v`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
the following explicit lifetimes could be elided: 'a:
filer/src/fs.rs#L176
warning: the following explicit lifetimes could be elided: 'a
--> filer/src/fs.rs:176:24
|
176 | extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
176 - extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
176 + extern "C" fn read(&self, mut data: VecOps<RWData<'_>>) -> i32 {
|
|
very complex type used. Consider factoring parts into `type` definitions:
filer/src/backend.rs#L97
warning: very complex type used. Consider factoring parts into `type` definitions
--> filer/src/backend.rs:97:15
|
97 | build_fn: Option<fn(&str, &CArc<C>) -> Result<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
unused import: `time::*`:
filer-fuse/src/lib.rs#L9
warning: unused import: `time::*`
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `time::*`:
filer-fuse/src/lib.rs#L9
warning: unused import: `time::*`
--> filer-fuse/src/lib.rs:9:5
|
9 | use time::*;
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L180
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:180:29
|
180 | if (self.stack_pop)(&*self.stack, &mut out) {
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/thread_ctx.rs#L175
warning: deref which would be done by auto-deref
--> filer/src/thread_ctx.rs:175:27
|
175 | (self.stack_push)(&*self.stack, val.into())
| ^^^^^^^^^^^^ help: try: `&self.stack`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L220
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:220:5
|
220 | / pub unsafe fn register_mapping_raw(
221 | | &self,
222 | | id: UTypeId,
223 | | layout: &'static TypeLayout,
224 | | name: &str,
225 | | mapping: OpaqueMapping,
226 | | ) -> bool {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
filer/src/plugin_store.rs#L187
warning: unsafe function's docs miss `# Safety` section
--> filer/src/plugin_store.rs:187:5
|
187 | / pub unsafe fn entries_raw(
188 | | &self,
189 | | id: UTypeId,
190 | | layout: &'static TypeLayout,
191 | | ) -> Entry<DashMap<String, OpaqueMapping>> {
| |______________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `#[warn(clippy::missing_safety_doc)]` on by default
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L177
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:177:17
|
177 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L153
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:153:17
|
153 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
deref which would be done by auto-deref:
filer/src/plugin_store.rs#L141
warning: deref which would be done by auto-deref
--> filer/src/plugin_store.rs:141:17
|
141 | &*self.store,
| ^^^^^^^^^^^^ help: try: `&self.store`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L511
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:511:20
|
511 | Ok(self.1 .0 as u64)
| ^^^^^^^^^^^^^^^^ help: try: `self.1 .0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
filer/src/node.rs#L502
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> filer/src/node.rs:502:29
|
502 | self.1 .0 = v as u64;
| ^^^^^^^^ help: try: `v`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
the following explicit lifetimes could be elided: 'a:
filer/src/fs.rs#L176
warning: the following explicit lifetimes could be elided: 'a
--> filer/src/fs.rs:176:24
|
176 | extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
176 - extern "C" fn read<'a>(&self, mut data: VecOps<RWData<'a>>) -> i32 {
176 + extern "C" fn read(&self, mut data: VecOps<RWData<'_>>) -> i32 {
|
|
very complex type used. Consider factoring parts into `type` definitions:
filer/src/backend.rs#L97
warning: very complex type used. Consider factoring parts into `type` definitions
--> filer/src/backend.rs:97:15
|
97 | build_fn: Option<fn(&str, &CArc<C>) -> Result<T>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
build-coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|