Skip to content

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.3 #265

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.3

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.3 #265

Triggered via pull request December 13, 2024 12:39
Status Failure
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
stable / fmt
10s
stable / fmt
nightly / doc
1m 20s
nightly / doc
ubuntu / typos
4s
ubuntu / typos
ubuntu / stable / features
1m 36s
ubuntu / stable / features
Matrix: cargo-deny
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
ubuntu / typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
the following explicit lifetimes could be elided: 'dataset: src/iterable/dataloader.rs#L166
warning: the following explicit lifetimes could be elided: 'dataset --> src/iterable/dataloader.rs:166:6 | 166 | impl<'dataset, D, C> Iterator for Iter<'dataset, D, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 166 - impl<'dataset, D, C> Iterator for Iter<'dataset, D, C> 166 + impl<D, C> Iterator for Iter<'_, D, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/fetch.rs#L42
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/fetch.rs:42:6 | 42 | impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 42 - impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C> 42 + impl<D, C> Fetcher<D, C> for MapDatasetFetcher<'_, D, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L157
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:157:6 | 157 | impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 157 - impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C> 157 + impl<D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'_, D, S, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L119
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:119:6 | 119 | impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 119 - impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C> 119 + impl<D, S, C> Iterator for SingleProcessDataLoaderIter<'_, D, S, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L89
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:89:6 | 89 | impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 89 - impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C> 89 + impl<D, S, C> SingleProcessDataLoaderIter<'_, D, S, C> |
empty line after doc comment: src/collate/default_collate/nonzero.rs#L9
warning: empty line after doc comment --> src/collate/default_collate/nonzero.rs:9:1 | 9 | / /// Maybe this one may not be supported by a tensor running on a GPU. 10 | | | |_ 11 | macro_rules! nonzero_impl { | ------------------------- the comment documents this macro | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-W clippy::empty-line-after-doc-comments` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it
trait `FunctorDataset` is never used: src/indexable/dataset.rs#L41
warning: trait `FunctorDataset` is never used --> src/indexable/dataset.rs:41:7 | 41 | trait FunctorDataset<F>: Len + GetSample | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
elided lifetime has a name: src/iterable/dataloader.rs#L155
warning: elided lifetime has a name --> src/iterable/dataloader.rs:155:41 | 147 | impl<'dataset, D, C> DataLoader<D, C> | -------- lifetime `'dataset` declared here ... 155 | pub fn iter(&'dataset self) -> Iter<'_, <&'dataset D as IntoIterator>::IntoIter, C> { | ^^ this elided lifetime gets resolved as `'dataset` | = note: `#[warn(elided_named_lifetimes)]` on by default
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
`if let` assigns a shorter lifetime since Edition 2024: src/indexable/dataloader/builder.rs#L130
warning: `if let` assigns a shorter lifetime since Edition 2024 --> src/indexable/dataloader/builder.rs:130:12 | 130 | if let Some(pool) = THREAD_POOL.get() { | ^^^^^^^^^^^^^^^^^-----------^^^^^^ | | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion | = warning: this changes meaning in Rust 2024 = note: for more information, see issue #124085 <https://github.com/rust-lang/rust/issues/124085> help: the value is now dropped here in Edition 2024 --> src/indexable/dataloader/builder.rs:144:9 | 144 | } else { | ^ = note: `-W if-let-rescope` implied by `-W rust-2024-compatibility` = help: to override `-W rust-2024-compatibility` add `#[allow(if_let_rescope)]` help: a `match` with a single arm can preserve the drop order up to Edition 2021 | 130 ~ match THREAD_POOL.get() { Some(pool) => { 131 | if pool.current_num_threads() != self.num_threads { ... 143 | } 144 ~ } _ => { 145 | THREAD_POOL ... 152 | .ok(); 153 ~ }} |
the following explicit lifetimes could be elided: 'dataset: src/iterable/dataloader.rs#L166
warning: the following explicit lifetimes could be elided: 'dataset --> src/iterable/dataloader.rs:166:6 | 166 | impl<'dataset, D, C> Iterator for Iter<'dataset, D, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 166 - impl<'dataset, D, C> Iterator for Iter<'dataset, D, C> 166 + impl<D, C> Iterator for Iter<'_, D, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/fetch.rs#L42
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/fetch.rs:42:6 | 42 | impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 42 - impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C> 42 + impl<D, C> Fetcher<D, C> for MapDatasetFetcher<'_, D, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L157
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:157:6 | 157 | impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 157 - impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C> 157 + impl<D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'_, D, S, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L119
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:119:6 | 119 | impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 119 - impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C> 119 + impl<D, S, C> Iterator for SingleProcessDataLoaderIter<'_, D, S, C> |
the following explicit lifetimes could be elided: 'dataset: src/indexable/dataloader.rs#L89
warning: the following explicit lifetimes could be elided: 'dataset --> src/indexable/dataloader.rs:89:6 | 89 | impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C> | ^^^^^^^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 89 - impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C> 89 + impl<D, S, C> SingleProcessDataLoaderIter<'_, D, S, C> |
empty line after doc comment: src/collate/default_collate/nonzero.rs#L9
warning: empty line after doc comment --> src/collate/default_collate/nonzero.rs:9:1 | 9 | / /// Maybe this one may not be supported by a tensor running on a GPU. 10 | | | |_^ 11 | macro_rules! nonzero_impl { | ------------------------- the comment documents this macro | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-W clippy::empty-line-after-doc-comments` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it
trait `FunctorDataset` is never used: src/indexable/dataset.rs#L41
warning: trait `FunctorDataset` is never used --> src/indexable/dataset.rs:41:7 | 41 | trait FunctorDataset<F>: Len + GetSample | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
elided lifetime has a name: src/iterable/dataloader.rs#L155
warning: elided lifetime has a name --> src/iterable/dataloader.rs:155:41 | 147 | impl<'dataset, D, C> DataLoader<D, C> | -------- lifetime `'dataset` declared here ... 155 | pub fn iter(&'dataset self) -> Iter<'_, <&'dataset D as IntoIterator>::IntoIter, C> { | ^^ this elided lifetime gets resolved as `'dataset` | = note: `#[warn(elided_named_lifetimes)]` on by default
beta / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu / 1.63.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu / stable / features
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636