Error while building rustc


#1

Hey

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

expected success, got: exit code: 101', src/bootstrap/compile.rs:882:8

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: {}",
               cargo,
               status);
    }

#2

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.


#3

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