regexident/cargo-modules

cannot compile #![feature(optin_builtin_traits)]

alexandre-roulin opened this issue · 1 comments

cargo --version
cargo 1.50.0-nightly (bfca1cd22 2020-11-24)
cargo +nightly install cargo-modules

  --> /home/alexandre/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_data_structures-693.0.0/src/sync.rs:30:9
   |
30 |         pub auto trait Send {}
   |         ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
   = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable

error[E0658]: auto traits are experimental and possibly buggy
  --> /home/alexandre/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_data_structures-693.0.0/src/sync.rs:31:9
   |
31 |         pub auto trait Sync {}
   |         ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #13231 <https://github.com/rust-lang/rust/issues/13231> for more information
   = help: add `#![feature(optin_builtin_traits)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: failed to compile `cargo-modules v0.4.10`, intermediate artifacts can be found at `/tmp/cargo-installKkbYC7`

Caused by:
  could not compile `rustc-ap-rustc_data_structures`

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

This should now be fixed with #66 having been merged. 🎉 😃
(The release still needs a it more work. If you're feeling lucky you can install from source and give it a try, though.)