Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped bitvec don't pass build invoked with make check #147

Closed
michalfita opened this issue Jan 24, 2022 · 0 comments · Fixed by #148
Closed

Bumped bitvec don't pass build invoked with make check #147

michalfita opened this issue Jan 24, 2022 · 0 comments · Fixed by #148

Comments

@michalfita
Copy link
Contributor

The symptom:

error[E0277]: the trait bound `LocalBits: bitvec::store::BitStore` is not satisfied
  --> libs/kerla_utils/bitmap_allocator.rs:8:38
   |
8  |     bitmap: spin::Mutex<&'static mut BitSlice<Lsb0, u8>>,
   |                                      ^^^^^^^^^^^^^^^^^^ the trait `bitvec::store::BitStore` is not implemented for `LocalBits`
   |
note: required by a bound in `bitvec::slice::BitSlice`
  --> /home/manveru/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-1.0.0/src/slice.rs:62:5
   |
62 |     T: BitStore,
   |        ^^^^^^^^ required by this bound in `bitvec::slice::BitSlice`

error[E0277]: the trait bound `u8: BitOrder` is not satisfied
  --> libs/kerla_utils/bitmap_allocator.rs:8:38
   |
8  |     bitmap: spin::Mutex<&'static mut BitSlice<Lsb0, u8>>,
   |                                      ^^^^^^^^^^^^^^^^^^ the trait `BitOrder` is not implemented for `u8`
   |
note: required by a bound in `bitvec::slice::BitSlice`
  --> /home/manveru/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-1.0.0/src/slice.rs:63:5
   |
63 |     O: BitOrder,
   |        ^^^^^^^^ required by this bound in `bitvec::slice::BitSlice`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `kerla_utils` due to 2 previous errors
make: *** [Makefile:143: check] Error 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant