Closed
Description
I've lost so much of my life to this.
$ xpy build --stage 0
Updating only changed submodules
Submodules updated in 0.01 seconds
Finished dev [unoptimized] target(s) in 0.09s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized + debuginfo] target(s) in 0.11s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized + debuginfo] target(s) in 0.12s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Build completed successfully in 0:00:01
$ rustc +stage1 -Z unpretty=everybody_loops priv-in-pub.rs
error: 'rustc' is not installed for the toolchain 'stage1'
To install, run `rustup component add rustc --toolchain stage1`
$ xpy build --stage 1
Updating only changed submodules
Submodules updated in 0.01 seconds
Finished dev [unoptimized] target(s) in 0.09s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized + debuginfo] target(s) in 0.11s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized + debuginfo] target(s) in 0.12s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling cc v1.0.54
Compiling core v0.0.0 (/home/joshua/src/rust/src/libcore)
Compiling libc v0.2.71
Compiling autocfg v0.1.7
Compiling std v0.0.0 (/home/joshua/src/rust/src/libstd)
Compiling hashbrown v0.6.2
^C Building [=====> ] 4/35: ...
Build completed unsuccessfully in 0:00:02
$ rustc +stage1 -Z unpretty=everybody_loops priv-in-pub.rs
#![no_std]
// ... expected output follows ...
$ rustup toolchain list -v
stage1 /home/joshua/src/rust/build/x86_64-unknown-linux-gnu/stage1
It looks like the critical missing line is Assembling stage1 compiler (x86_64-unknown-linux-gnu)
. I would expect this to happen whenever I pass build --stage 0
.