# cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading xdg v2.0.0-pre1
Compiling xdg v2.0.0-pre1
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10:5: 10:21 error: use of unstable library feature 'path_ext_deprecated': The precise set of methods exposed on this trait may change and some methods may be removed. For stable code, see the std::fs::metadata function. (see issue #27725)
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10 use std::fs::PathExt;
^~~~~~~~~~~~~~~~
/home/at/.cargo/registry/src/github.com-0a35038f75765ae4/xdg-2.0.0-pre1/src/xdg.rs:10:5: 10:21 help: add #![feature(path_ext_deprecated)] to the crate attributes to enable
error: aborting due to previous error
Could not compile `xdg`.
To learn more, run the command again with --verbose.