After emerging rust-9999 with clippy useflag on, running "cargo clippy" fails with: $ cargo clippy Checking libc v0.2.43 Checking unicode-width v0.1.5 Checking bitflags v1.0.4 Checking cfg-if v0.1.5 error[E0463]: can't find crate for `core` error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: Could not compile `cfg-if`. warning: build failed, waiting for other jobs to finish... error[E0463]: can't find crate for `std` error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error[E0463]: can't find crate for `core` error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: Could not compile `libc`. warning: build failed, waiting for other jobs to finish... error: Could not compile `bitflags`. warning: build failed, waiting for other jobs to finish... error[E0463]: can't find crate for `core` error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: Could not compile `unicode-width`. To learn more, run the command again with --verbose. Reproducible: Always Steps to Reproduce: 1. USE="rustfmt clippy" emerge =rust-9999* 2. cargo clipppy
The official gentoo tree doesn't contain a rust-9999 ebuild. Assuming you have the rust overlay enabled and are getting it there, please report your issue here: https://github.com/gentoo/gentoo-rust/issues.
Thanks, you can find that issue here: https://github.com/gentoo/gentoo-rust/issues/368