Update heck dep + add .idea to gitignore #57
ci.yml
on: push
Run Miri on Tests
51s
Clippy (stable)
15s
Format (stable)
7s
Run Test Coverage
3m 22s
Matrix: Build and Test
Annotations
1 error and 42 warnings
Run Miri on Tests
Process completed with exit code 101.
|
Format (stable)
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/
|
Format (stable)
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/
|
Format (stable)
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/
|
Format (stable)
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/
|
Format (stable)
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/
|
deref which would be done by auto-deref:
src/vec_dyn.rs#L436
warning: deref which would be done by auto-deref
--> src/vec_dyn.rs:436:33
|
436 | self.data.data.push(&*bytes);
| ^^^^^^^ help: try: `&bytes`
|
= 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
|
method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`:
src/slice.rs#L581
warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
--> src/slice.rs:581:5
|
581 | / pub fn into_iter(self) -> impl Iterator<Item = ValueMut<'a, V>>
582 | | where
583 | | V: Clone,
584 | | {
... |
589 | | })
590 | | }
| |_____^
|
= help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
|
method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`:
src/slice.rs#L219
warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
--> src/slice.rs:219:5
|
219 | / pub fn into_iter(self) -> impl Iterator<Item = ValueRef<'a, V>>
220 | | where
221 | | V: Clone,
222 | | {
... |
227 | | })
228 | | }
| |_____^
|
= help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
|
dereferencing a struct pattern where every field's pattern takes a reference:
src/vec_copy.rs#L689
warning: dereferencing a struct pattern where every field's pattern takes a reference
--> src/vec_copy.rs:689:13
|
689 | let &VecCopy {
| _____________^
690 | | ref data,
691 | | ref vtable,
692 | | } = self;
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
= note: `#[warn(clippy::needless_borrowed_reference)]` on by default
help: try removing the `&` and `ref` parts
|
689 ~ let VecCopy {
690 ~ data,
691 ~ vtable,
|
|
method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`:
src/slice_copy.rs#L672
warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
--> src/slice_copy.rs:672:5
|
672 | / pub fn into_iter(self) -> impl Iterator<Item = CopyValueMut<'a, V>>
673 | | where
674 | | V: Clone,
675 | | {
... |
680 | | })
681 | | }
| |_____^
|
= help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
|
manual slice size calculation:
src/slice_copy.rs#L413
warning: manual slice size calculation
--> src/slice_copy.rs:413:17
|
413 | slice.len() * element_size,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(slice)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
|
method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`:
src/slice_copy.rs#L264
warning: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
--> src/slice_copy.rs:264:5
|
264 | / pub fn into_iter(self) -> impl Iterator<Item = CopyValueRef<'a, V>>
265 | | where
266 | | V: Clone,
267 | | {
... |
272 | | })
273 | | }
| |_____^
|
= help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
= note: `#[warn(clippy::should_implement_trait)]` on by default
|
manual slice size calculation:
src/slice_copy.rs#L50
warning: manual slice size calculation
--> src/slice_copy.rs:50:17
|
50 | slice.len() * element_size,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(slice)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
= note: `#[warn(clippy::manual_slice_size_calculation)]` on by default
|
this expression borrows a value the compiler would automatically borrow:
src/vec_void.rs#L304
warning: this expression borrows a value the compiler would automatically borrow
--> src/vec_void.rs:304:25
|
304 | (&mut v[orig_len..]).as_mut_ptr() as *mut MaybeUninit<u8>,
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `v[orig_len..]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the following explicit lifetimes could be elided: 'b:
src/value.rs#L651
warning: the following explicit lifetimes could be elided: 'b
--> src/value.rs:651:17
|
651 | pub fn swap<'b>(&mut self, other: &mut ValueMut<'b, V>) {
| ^^ ^^
|
= 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
|
651 - pub fn swap<'b>(&mut self, other: &mut ValueMut<'b, V>) {
651 + pub fn swap(&mut self, other: &mut ValueMut<'_, V>) {
|
|
deref on an immutable reference:
src/value.rs#L609
warning: deref on an immutable reference
--> src/value.rs:609:20
|
609 | bytes: &*self.bytes,
| ^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `self.bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
|
deref on an immutable reference:
src/vtable.rs#L104
warning: deref on an immutable reference
--> src/vtable.rs:104:34
|
104 | VTableRef::Box(v) => &*v,
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
help: if you would like to reborrow, try removing `&*`
|
104 | VTableRef::Box(v) => v,
| ~
help: if you would like to deref, try using `&**`
|
104 | VTableRef::Box(v) => &**v,
| ~~~~
|
deref on an immutable reference:
src/copy_value.rs#L66
warning: deref on an immutable reference
--> src/copy_value.rs:66:9
|
66 | &*self
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
= note: `#[warn(clippy::borrow_deref_ref)]` on by default
help: if you would like to reborrow, try removing `&*`
|
66 | self
|
help: if you would like to deref, try using `&**`
|
66 | &**self
|
|
Clippy (stable)
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/
|
Run Miri on Tests
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/
|
Run Miri on Tests
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/
|
Run Miri on Tests
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/
|
Run Miri on Tests
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/
|
Run Miri on Tests
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 and Test (stable)
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 and Test (stable)
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 and Test (stable)
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 and Test (stable)
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 and Test (stable)
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 and Test (nightly)
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 and Test (nightly)
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 and Test (nightly)
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 and Test (nightly)
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 and Test (nightly)
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/
|
Run Test Coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/grcov@v0.1, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Test 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/
|
Run Test 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/
|
Run Test 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/
|
Run Test 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/
|
Run Test 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/
|
Run Test Coverage
building proc macro crate with `panic=abort` may crash the compiler should the proc-macro panic
|
Run Test Coverage
`dync-derive` (lib) generated 1 warning
|