Error while building rustc



After cloning the repository and running python test, I end up with

expected success, got: exit code: 101', src/bootstrap/

I’m not sure how to debug this further

The error occurs in the source where:

 // Make sure Cargo actually succeeded after we read all of its stdout.
    let status = t!(child.wait());
    if !status.success() {
        panic!("command did not execute successfully: {:?}\n\
                expected success, got: {}",


Silly question, but did you run with -v (or -vv) so it prints out more information? You may also want to post this on the internal forum, that’s usually used for internal compiler stuff so you may get better answers there.


Yes. I did try that. But didn’t get any details. Will try on the internals forum.