fschutt/azul

Cargo run error, could nto find IOReader in bincode

raveltan opened this issue · 0 comments

Description

Cargo run after adding azul to deps failed with the current message:

   Compiling webrender_api v0.60.0
error[E0433]: failed to resolve: could not find `IoReader` in `bincode`
   --> /home/ravel/.cargo/registry/src/github.com-1ecc6299db9ec823/webrender_api-0.60.0/src/display_list.rs:270:35
    |
270 |             let reader = bincode::IoReader::new(UnsafeReader::new(&mut self.data));
    |                                   ^^^^^^^^ not found in `bincode`
    |
help: consider importing this struct
    |
5   | use bincode::de::read::IoReader;
    |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
error: could not compile `webrender_api`

To learn more, run the command again with --verbose.

Version / OS

rustc 1.48.0 (7eac88abb 2020-11-16)

  • azul version:
    7ed9603

  • Operating system:
    Elementary OS 5.1

  • Windowing system (X11 or Wayland, Linux only):
    X11

Steps to Reproduce

  • Follow getting started guide
  • Add azul to deps
  • run cargo run
  • unable to complete with the above error