kahing / catfs

Cache AnyThing filesystem written in Rust
Apache License 2.0
842 stars 54 forks source link

Error installing catfs into AWS graviton server #58

Open Carlos-ZRM opened 3 years ago

Carlos-ZRM commented 3 years ago

Hello everybody.

I need your help, please. I have been trying install Catfs into AWS Graviton instance but i was found that error. I wonder If you could help me with this.

   Compiling catfs v0.8.0
error[E0308]: mismatched types
  --> /home/carlos.zrm/.cargo/registry/src/github.com-1ecc6299db9ec823/catfs-0.8.0/src/catfs/rlibc.rs:92:26
   |
92 |                 d_name: [0i8; 256], // FIXME: don't hardcode 256
   |                          ^^^ expected `u8`, found `i8`
   |
help: change the type of the numeric literal from `i8` to `u8`
   |
92 |                 d_name: [0u8; 256], // FIXME: don't hardcode 256
   |                          ^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: failed to compile `catfs v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-installtpQEXa`

Caused by:
  could not compile `catfs`

Versions

rustc 1.54.0 (a178d0322 2021-07-26)
gaul commented 3 years ago

Can you try compiling with the latest master?