Open StatusCode404 opened 4 years ago
Hi @jamespharaoh I'm currently getting the above error when trying to build. Any ideas?
A friend of mine fixed it here https://github.com/pluth/btrfs-dedupe. But it'll run into other problems if you run any kind of recent kernel because Btrfs behaviour has changed.
thread 'main' panicked at 'index out of bounds: the len is 128 but the index is 18446744073709551615', /home/cobra/.cargo/registry/src/github.com-1ecc6299db9ec823/btrfs-1.2.1/src/linux/operations/fiemap.rs:60:17
Perhaps someone with access to this wiki: https://btrfs.wiki.kernel.org/index.php/Deduplication Sould remove it then or put BOLD warnings on what version it is compatible with before they destroy their data!
btrfs-dedupe fails to build with current stable rust "stable-x86_64-unknown-linux-gnu unchanged - rustc 1.42.0 (b8cedc004 2020-03-09)"...
Compiling syntex_syntax v0.54.0 error[E0423]: expected function, tuple struct or tuple variant, found struct
ast::Name
--> /home/danglingpointer/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.54.0/src/symbol.rs:146:27 | 146 | name: ast::Name($index), | ^^^^^^^^^ ... 165 | / declarekeywords! { 166 | | // Invalid identifier 167 | | (0, Invalid, "") 168 | | ... | 231 | | (56, CrateRoot, "{{root}}") 232 | | } | |- in this macro invocationCompiling btrfs v1.2.2 error: aborting due to previous error
For more information about this error, try
rustc --explain E0423
. error: could not compilesyntex_syntax
.