Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667026 - dev-lang/rust-9999 - cargo clippy: error[E0463]: can't find crate for `core`
Summary: dev-lang/rust-9999 - cargo clippy: error[E0463]: can't find crate for `core`
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-25 09:27 UTC by unlord
Modified: 2018-09-26 01:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unlord 2018-09-25 09:27:41 UTC
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
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-09-25 13:09:11 UTC
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.
Comment 2 unlord 2018-09-26 01:49:43 UTC
Thanks, you can find that issue here:

https://github.com/gentoo/gentoo-rust/issues/368