Skip to content

Bump itertools from 0.12.1 to 0.13.0 #2922

Bump itertools from 0.12.1 to 0.13.0

Bump itertools from 0.12.1 to 0.13.0 #2922

GitHub Actions / clippy failed Jul 1, 2024 in 1s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check failure on line 22 in northstar-runtime/src/npk/manifest/console.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `usize: itertools::traits::IteratorIndex<&mut npk::manifest::console::PermissionIter>` is not satisfied

error[E0277]: the trait bound `usize: itertools::traits::IteratorIndex<&mut npk::manifest::console::PermissionIter>` is not satisfied
   --> northstar-runtime/src/npk/manifest/console.rs:22:21
    |
22  | #[derive(Clone, Eq, EnumIter, EnumCount, PartialEq, Debug, Hash, Serialize, Deserialize)]
    |                     ^^^^^^^^ the trait `itertools::traits::IteratorIndex<&mut npk::manifest::console::PermissionIter>` is not implemented for `usize`
    |
    = help: the following other types implement trait `itertools::traits::IteratorIndex<I>`:
              std::ops::Range<usize>
              std::ops::RangeFrom<usize>
              std::ops::RangeFull
              std::ops::RangeInclusive<usize>
              std::ops::RangeTo<usize>
              std::ops::RangeToInclusive<usize>
note: required by a bound in `itertools::Itertools::get`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itertools-0.13.0/src/lib.rs:554:12
    |
551 |     fn get<R>(self, index: R) -> R::Output
    |        --- required by a bound in this associated function
...
554 |         R: traits::IteratorIndex<Self>,
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Itertools::get`
    = note: this error originates in the derive macro `EnumIter` (in Nightly builds, run with -Z macro-backtrace for more info)