gchers / fbleau

A tool for estimating a system's information leakage via Machine Learning
MIT License
10 stars 2 forks source link

Installing fbleau with cargo fails #1

Closed kadron closed 5 years ago

kadron commented 5 years ago

Hello, I'm trying to install fbleau on my 16.04 Ubuntu computer which fails with the message below. I tried calling the install command on bash and zsh and both of them return this error. Can you help me with this?

Cheers,

$ cargo install fbleau                                                                                                             
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing fbleau v0.2.1
   Compiling ucd-util v0.1.3
   Compiling libc v0.2.51
   Compiling serde v1.0.90
   Compiling ryu v0.2.7
   Compiling proc-macro2 v0.4.27
   Compiling nodrop v0.1.13
   Compiling either v1.5.2
   Compiling regex v1.1.5
   Compiling itoa v0.4.3
   Compiling lazy_static v1.3.0
   Compiling ndarray v0.11.2
   Compiling utf8-ranges v1.0.2
   Compiling arrayvec v0.4.10
   Compiling void v1.0.2
   Compiling strsim v0.9.0
   Compiling memoffset v0.2.1
error[E0046]: not all trait items implemented, missing: `description`
  --> /home/burak/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.9.0/src/lib.rs:26:1
   |
26 | impl Error for StrSimError {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `description` in implementation
   |
   = note: `description` from trait: `fn(&Self) -> &str`

error: aborting due to previous error

error: Could not compile `strsim`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `fbleau v0.2.1`, intermediate artifacts can be found at `/tmp/cargo-install.j1hh7kY9wkNz`

Caused by:
  build failed
kadron commented 5 years ago

Updating rustup by calling rustup update stable solved the issue and I was able to install fbleau.

gchers commented 5 years ago

Sorry, only saw this now. I'm glad it worked:)