nuta / kerla

A new operating system kernel with Linux binary compatibility written in Rust.
Other
3.33k stars 89 forks source link

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

Closed michalfita closed 2 years ago

michalfita commented 2 years ago

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