bootstrap: fully rely on RUSTC_WRAPPER
With https://github.com/rust-lang/cargo/pull/13659, cargo now respects RUSTC_WRAPPER for all rustc invocations. That means we can finally remove the hack where we set our wrapper as both RUSTC and RUSTC_WRAPPER.
There could still be build scripts that fail to respect RUSTC_WRAPPER, but then we should fix those before they become a rustc dependency.
Fixes https://github.com/rust-lang/rust/issues/128383
r? @kobzol
rustbot has assigned @kobzol. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#12 [ 5/11] RUN npm install [email protected] [email protected] -g
#12 4.801 npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#12 4.841 npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
#12 4.852 npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#12 4.883 npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
#12 4.904 npm WARN deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
#12 4.925 npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
#12 5.918
#12 5.918 added 205 packages in 6s
#12 5.918
---
#16 3.753 Building wheels for collected packages: reuse
#16 3.754 Building wheel for reuse (pyproject.toml): started
#16 4.098 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 4.099 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#16 4.099 Stored in directory: /tmp/pip-ephem-wheel-cache-g9xo_mrp/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#16 4.102 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#16 4.126 Attempting uninstall: setuptools
#16 4.126 Found existing installation: setuptools 59.6.0
#16 4.128 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
Turns out even our own libc crate doesn't properly wrap its rustc invocations.^^ I guess I did not hit this locally as the build script was already cached. Blocked on https://github.com/rust-lang/libc/issues/3772.
@rustbot blocked
I won't pursue this further. I opened an issue to track this possible cleanup: https://github.com/rust-lang/rust/issues/128383.
Locally a check-build passes now, let's see what CI says...
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.772 Building wheels for collected packages: reuse
#16 2.774 Building wheel for reuse (pyproject.toml): started
#16 3.025 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.026 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132715 sha256=dfa09868353292d98f811d3efdb0d54d07389e808efc71d68e3b93c514bf8bec
#16 3.027 Stored in directory: /tmp/pip-ephem-wheel-cache-xmm9ntd2/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.029 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.428 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.428 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.5s
---
Caused by:
process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/release/build/field-offset-018b51be6a89c430/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/field-offset-0.3.6/build.rs:6:23:
called `Result::unwrap()` on an `Err` value: CouldNotExecuteCommand(Os { code: 2, kind: NotFound, message: "No such file or directory" })
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:00:56
local time: Wed Aug 28 10:19:21 UTC 2024
network time: Wed, 28 Aug 2024 10:19:22 GMT
I guess I still had cached build script results somewhere.
The next offender is: field-offset. It uses rustc_version, so hopefully we just need to pull in the just-released version 0.4.1.
These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.
If this was unintentional then you should revert the changes before this PR is merged. Otherwise, you can ignore this comment.
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.852 Building wheels for collected packages: reuse
#16 2.854 Building wheel for reuse (pyproject.toml): started
#16 3.098 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.099 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132715 sha256=dfa09868353292d98f811d3efdb0d54d07389e808efc71d68e3b93c514bf8bec
#16 3.099 Stored in directory: /tmp/pip-ephem-wheel-cache-1b08r473/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.102 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.483 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.484 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.6s
Some changes occurred in compiler/rustc_codegen_gcc
cc @antoyo, @GuillaumeGomez
Some changes occurred in compiler/rustc_codegen_cranelift
cc @bjorn3
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.799 Building wheels for collected packages: reuse
#16 2.800 Building wheel for reuse (pyproject.toml): started
#16 3.046 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.047 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132715 sha256=dfa09868353292d98f811d3efdb0d54d07389e808efc71d68e3b93c514bf8bec
#16 3.047 Stored in directory: /tmp/pip-ephem-wheel-cache-p3u34pu3/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.050 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.450 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.450 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.5s
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead.
cc @rust-lang/rust-analyzer
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.731 Building wheels for collected packages: reuse
#16 2.732 Building wheel for reuse (pyproject.toml): started
#16 2.979 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 2.980 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132715 sha256=dfa09868353292d98f811d3efdb0d54d07389e808efc71d68e3b93c514bf8bec
#16 2.980 Stored in directory: /tmp/pip-ephem-wheel-cache-222mtqlt/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 2.983 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.375 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.375 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.5s
---
Caused by:
process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/release/build/protobuf-36e7809420578a1e/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/protobuf-3.2.0/build.rs:28:10:
spawn rustc: Os { code: 2, kind: NotFound, message: "No such file or directory" }
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:04:01
local time: Wed Aug 28 12:02:42 UTC 2024
network time: Wed, 28 Aug 2024 12:02:42 GMT
Blocked on https://github.com/stepancheg/rust-protobuf/issues/735.
@rust-lang/rust-analyzer not sure if you have some sort of direction relationship with your dependencies, but if you, do, it'd be good if you could take a look at this. I am trying to do a cleanup in bootstrap, and the very last holdout (well, it seems to be the last holdout, it's tricky to be sure) is a problem with one indirect dependency of rust-analyzer: the protobuf crate, which is a dependency of scip. The PR to fix this (https://github.com/stepancheg/rust-protobuf/pull/737) has seen no maintainer reaction whatsoever in over a month.
@RalfJung Ah, I might be able to make a few things happen. Lemme ask around.
protobuf 3.7.1 is out, but scip still depends on 3.2.
That should be fine though since it's a semver-compatible update.
Oh wtf they use a =3.2.0 dependency. Yeah then this is another blocker :(
~~I suspect it's in the public API, so it would be a breaking change.~~ Nvm, maybe not.
It's not a breaking change to do a semver-compatible update of public API types, is it?
Next blocker: https://github.com/sourcegraph/scip/issues/284
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.921 Building wheels for collected packages: reuse
#16 2.922 Building wheel for reuse (pyproject.toml): started
#16 3.173 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.175 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132720 sha256=026f3bb0f1aa8090b861fd0a0939cb1a782396d84c8aab7875096557d637a0f6
#16 3.175 Stored in directory: /tmp/pip-ephem-wheel-cache-ogqd96no/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.178 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.581 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.581 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.7s
---
Caused by:
process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/release/build/protobuf-36e7809420578a1e/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/protobuf-3.2.0/build.rs:28:10:
spawn rustc: Os { code: 2, kind: NotFound, message: "No such file or directory" }
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:05:03
local time: Wed Oct 16 13:29:18 UTC 2024
network time: Wed, 16 Oct 2024 13:29:19 GMT
scip got updated, now we're just waiting for https://github.com/rust-lang/rust-analyzer/pull/18315 to be synced into the rustc repo. :)
Once we deal with the fallout from https://github.com/rust-lang/rust/pull/123951 :-).
Ready.
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.750 Building wheels for collected packages: reuse
#16 2.751 Building wheel for reuse (pyproject.toml): started
#16 3.005 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.006 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132720 sha256=026f3bb0f1aa8090b861fd0a0939cb1a782396d84c8aab7875096557d637a0f6
#16 3.006 Stored in directory: /tmp/pip-ephem-wheel-cache-9893q2zm/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.009 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.415 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.416 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.5s
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.862 Building wheels for collected packages: reuse
#16 2.863 Building wheel for reuse (pyproject.toml): started
#16 3.108 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.109 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132720 sha256=026f3bb0f1aa8090b861fd0a0939cb1a782396d84c8aab7875096557d637a0f6
#16 3.109 Stored in directory: /tmp/pip-ephem-wheel-cache-wo2n7iie/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.111 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.507 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.507 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.6s
---
##[group]Linting tool bootstrap (stage0 -> stage1, x86_64-unknown-linux-gnu)
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/clippy-driver /path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper - --crate-name ___ --print=file-names --cfg=bootstrap --sysroot /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot --cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zunstable-options '--check-cfg=cfg(bootstrap)' '--check-cfg=cfg(llvm_enzyme)' '--check-cfg=cfg(parallel_compiler)' '--check-cfg=cfg(rust_analyzer)' -Zforce-unstable-if-unmarked -Zmacro-backtrace -Csplit-debuginfo=off --cfg=parallel_compiler -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Zunstable-options --target x86_64-unknown-linux-gnu --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
--- stderr
error: multiple input filenames provided (first two filenames are `/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper` and `-`)
Build completed unsuccessfully in 0:01:12
local time: Fri Oct 18 05:55:15 UTC 2024
network time: Fri, 18 Oct 2024 05:55:15 GMT
##[error]Process completed with exit code 1.
What the heck is going on here?
/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/clippy-driver /path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper - --crate-name ...
Now rustc is triple-wrapped?^^ Seems to be some problem with the clippy logic?
Cc @rust-lang/clippy
The job mingw-check failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
#16 2.826 Building wheels for collected packages: reuse
#16 2.828 Building wheel for reuse (pyproject.toml): started
#16 3.078 Building wheel for reuse (pyproject.toml): finished with status 'done'
#16 3.079 Created wheel for reuse: filename=reuse-4.0.3-cp310-cp310-manylinux_2_35_x86_64.whl size=132720 sha256=026f3bb0f1aa8090b861fd0a0939cb1a782396d84c8aab7875096557d637a0f6
#16 3.079 Stored in directory: /tmp/pip-ephem-wheel-cache-0k4e1t22/wheels/3d/8d/0a/e0fc6aba4494b28a967ab5eaf951c121d9c677958714e34532
#16 3.082 Installing collected packages: boolean-py, binaryornot, tomlkit, reuse, python-debian, markupsafe, license-expression, jinja2, chardet, attrs
#16 3.482 Successfully installed attrs-23.2.0 binaryornot-0.4.4 boolean-py-4.0 chardet-5.2.0 jinja2-3.1.4 license-expression-30.3.0 markupsafe-2.1.5 python-debian-0.1.49 reuse-4.0.3 tomlkit-0.13.0
#16 3.482 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#16 DONE 3.6s
---
failures:
---- header::tests::channel stdout ----
thread 'header::tests::channel' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::asm_support stdout ----
thread 'header::tests::asm_support' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::asm_support' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::cross_compile stdout ----
thread 'header::tests::cross_compile' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::cross_compile' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::git_hash stdout ----
thread 'header::tests::git_hash' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::git_hash' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::families stdout ----
thread 'header::tests::families' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::families' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::debugger stdout ----
thread 'header::tests::debugger' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::debugger' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::ignore_arch stdout ----
thread 'header::tests::ignore_arch' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::ignore_arch' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::ignore_target stdout ----
thread 'header::tests::ignore_target' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::ignore_target' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::is_big_endian stdout ----
thread 'header::tests::is_big_endian' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::is_big_endian' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::ignore_coverage stdout ----
thread 'header::tests::ignore_coverage' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::ignore_coverage' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::llvm_version stdout ----
thread 'header::tests::llvm_version' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::llvm_version' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::matches_env stdout ----
thread 'header::tests::matches_env' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::matches_env' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::matches_os stdout ----
thread 'header::tests::matches_os' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::matches_os' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::matches_abi stdout ----
---- header::tests::matches_abi stdout ----
thread 'header::tests::matches_abi' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::only_target stdout ----
thread 'header::tests::only_target' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::only_target' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::profiler_runtime stdout ----
thread 'header::tests::profiler_runtime' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::profiler_runtime' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::pointer_width stdout ----
---- header::tests::pointer_width stdout ----
thread 'header::tests::pointer_width' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::sanitizers stdout ----
thread 'header::tests::sanitizers' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::sanitizers' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::stage stdout ----
thread 'header::tests::stage' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::stage' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::should_fail stdout ----
thread 'header::tests::should_fail' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::should_fail' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::system_llvm_version stdout ----
thread 'header::tests::system_llvm_version' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::system_llvm_version' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::wasm_special stdout ----
thread 'header::tests::wasm_special' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::wasm_special' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
---- header::tests::threads_support stdout ----
thread 'header::tests::threads_support' panicked at src/tools/compiletest/src/common.rs:663:19:
thread 'header::tests::threads_support' panicked at src/tools/compiletest/src/common.rs:663:19:
error: failed to run LD_LIBRARY_PATH="/checkout/src/tools/compiletest/:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu/release:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" RUSTC_BOOTSTRAP="1" "/path/to/nowhere/all-rustc-calls-should-go-through-the-wrapper" "--print=all-target-specs-json" "-Zunstable-options": No such file or directory (os error 2)
failures:
header::tests::channel
header::tests::asm_support