Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stabilize stage management for rustc tools, especially on cargo #135990

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

onur-ozkan
Copy link
Member

-to be filled-

r? ghost

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jan 24, 2025
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Jan 28, 2025

☔ The latest upstream changes (presumably #135832) made this pull request unmergeable. Please resolve the merge conflicts.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from d067acb to 4ddb1ac Compare February 3, 2025 10:34
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from 5fc8108 to 79b6c4b Compare February 3, 2025 12:36
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from 460b835 to 6ea392a Compare February 4, 2025 08:32
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from 6ea392a to e627ca5 Compare February 4, 2025 20:37
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from e627ca5 to 01fcb0d Compare February 5, 2025 06:16
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from 01fcb0d to a992247 Compare February 5, 2025 09:13
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from a992247 to abb8c0f Compare February 5, 2025 09:52
@rust-log-analyzer

This comment has been minimized.

@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from abb8c0f to e138f5a Compare February 5, 2025 21:08
@rust-log-analyzer

This comment has been minimized.

Signed-off-by: onur-ozkan <[email protected]>
@onur-ozkan onur-ozkan force-pushed the stabilize-stage-handling branch from e138f5a to b222ef8 Compare February 6, 2025 07:50
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-18 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#22 exporting to docker image format
#22 sending tarball 30.0s done
#22 DONE 35.5s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-18]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Starting the server...
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-18', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-18/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
  Downloaded boml v0.3.1
   Compiling boml v0.3.1
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished `release` profile [optimized] target(s) in 3.99s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --mini-tests --std-tests`
Using system GCC
warning: target feature `x87` must be enabled to ensure that the ABI of the current target can be implemented correctly
  |
  = note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
---
   Doc-tests rustdoc
error[E0514]: found crate `std` compiled by an incompatible version of rustc
  |
  = note: the following crate versions were found:
          crate `std` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2839b3cdb609a720.rlib
          crate `std` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2839b3cdb609a720.so
          crate `std` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ce3b66a761ed4ef7.rlib
  = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `thin_vec` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:26:1
   |
26 | extern crate thin_vec;
26 | extern crate thin_vec;
   | ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `thin_vec` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libthin_vec-bf7567bde5927dc4.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `pulldown_cmark` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:36:1
   |
36 | extern crate pulldown_cmark;
36 | extern crate pulldown_cmark;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `pulldown_cmark` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpulldown_cmark-821677cf159e0a9f.rmeta
           crate `pulldown_cmark` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpulldown_cmark_escape-87bb14d3d8968029.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_abi` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:37:1
   |
37 | extern crate rustc_abi;
37 | extern crate rustc_abi;
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_abi` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_abi-21346ead562929a5.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_ast` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:38:1
   |
38 | extern crate rustc_ast;
38 | extern crate rustc_ast;
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_ast` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast-a503315637eee050.rmeta
           crate `rustc_ast` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast_ir-9176f5e508f56b9e.rmeta
           crate `rustc_ast` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast_lowering-a584aec8d5e525fa.rmeta
           crate `rustc_ast` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast_passes-4cee0e1e6ac94221.rmeta
           crate `rustc_ast` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast_pretty-6bd21bb5049fecd7.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_ast_pretty` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:39:1
   |
39 | extern crate rustc_ast_pretty;
39 | extern crate rustc_ast_pretty;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_ast_pretty` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast_pretty-6bd21bb5049fecd7.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_attr_parsing` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:40:1
   |
40 | extern crate rustc_attr_parsing;
40 | extern crate rustc_attr_parsing;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_attr_parsing` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_attr_parsing-4a8b83cbbf272663.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_data_structures` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:41:1
   |
41 | extern crate rustc_data_structures;
41 | extern crate rustc_data_structures;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_data_structures` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-a593869bfe51c441.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_driver` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:42:1
   |
42 | extern crate rustc_driver;
42 | extern crate rustc_driver;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_driver` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver_impl-93af70e72f459e80.rmeta
           crate `rustc_driver` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-e48760756634d4aa.so
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_errors` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:43:1
   |
43 | extern crate rustc_errors;
43 | extern crate rustc_errors;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_errors` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_errors-2179e3e6df75a916.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_expand` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:44:1
   |
44 | extern crate rustc_expand;
44 | extern crate rustc_expand;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_expand` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_expand-989e38211c3a0d04.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_feature` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:45:1
   |
45 | extern crate rustc_feature;
45 | extern crate rustc_feature;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_feature` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_feature-c4d7e59a798ac198.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_hir` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:46:1
   |
46 | extern crate rustc_hir;
46 | extern crate rustc_hir;
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_hir` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir-61d13d4ee066fb21.rmeta
           crate `rustc_hir` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir_analysis-f955fd84baf8d565.rmeta
           crate `rustc_hir` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir_pretty-00ee47c769ccc4d9.rmeta
           crate `rustc_hir` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir_typeck-4536777b223dcb7a.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_hir_analysis` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:47:1
   |
47 | extern crate rustc_hir_analysis;
47 | extern crate rustc_hir_analysis;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_hir_analysis` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir_analysis-f955fd84baf8d565.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_hir_pretty` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:48:1
   |
48 | extern crate rustc_hir_pretty;
48 | extern crate rustc_hir_pretty;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_hir_pretty` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_hir_pretty-00ee47c769ccc4d9.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_index` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:49:1
   |
49 | extern crate rustc_index;
49 | extern crate rustc_index;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_index` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_index-1803ef7b6ceee5fb.rmeta
           crate `rustc_index` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_index_macros-5a104ca888ca0a6d.so
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_infer` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:50:1
   |
50 | extern crate rustc_infer;
50 | extern crate rustc_infer;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_infer` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_infer-62b554cd9d23355e.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_interface` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:51:1
   |
51 | extern crate rustc_interface;
51 | extern crate rustc_interface;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_interface` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_interface-02c50c1c22cfcbc2.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_lexer` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:52:1
   |
52 | extern crate rustc_lexer;
52 | extern crate rustc_lexer;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_lexer` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lexer-9b59f2e14e623b81.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_lint` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:53:1
   |
53 | extern crate rustc_lint;
53 | extern crate rustc_lint;
   | ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_lint` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint-55f69ea1006274df.rmeta
           crate `rustc_lint` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint_defs-d0be9c379b59e6c7.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_lint_defs` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:54:1
   |
54 | extern crate rustc_lint_defs;
54 | extern crate rustc_lint_defs;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_lint_defs` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint_defs-d0be9c379b59e6c7.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_log` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:55:1
   |
55 | extern crate rustc_log;
55 | extern crate rustc_log;
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_log` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_log-eb1fe00d39fbdb60.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_macros` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:56:1
   |
56 | extern crate rustc_macros;
56 | extern crate rustc_macros;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_macros` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_macros-785c488868d30b73.so
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_metadata` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:57:1
   |
57 | extern crate rustc_metadata;
57 | extern crate rustc_metadata;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_metadata` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_metadata-33fbeb4c8c7f3b9d.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_middle` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:58:1
   |
58 | extern crate rustc_middle;
58 | extern crate rustc_middle;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_middle` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_middle-479dc176f96b3a1b.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_parse` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:59:1
   |
59 | extern crate rustc_parse;
59 | extern crate rustc_parse;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_parse` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_parse-8476b9d63b9c283f.rmeta
           crate `rustc_parse` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_parse_format-a17387ea6827cb6b.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_passes` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:60:1
   |
60 | extern crate rustc_passes;
60 | extern crate rustc_passes;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_passes` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_passes-d82dd863abf96114.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_resolve` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:61:1
   |
61 | extern crate rustc_resolve;
61 | extern crate rustc_resolve;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_resolve` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_resolve-0adaffe9dd17bd0d.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_serialize` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:62:1
   |
62 | extern crate rustc_serialize;
62 | extern crate rustc_serialize;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_serialize` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_serialize-b759afea2a54697d.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_session` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:63:1
   |
63 | extern crate rustc_session;
63 | extern crate rustc_session;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_session` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_session-6a0445b68f05826c.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_span` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:64:1
   |
64 | extern crate rustc_span;
64 | extern crate rustc_span;
   | ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_span` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_span-df92fffad01bbb65.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_target` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:65:1
   |
65 | extern crate rustc_target;
65 | extern crate rustc_target;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_target` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_target-0c306d6f5de32fbe.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `rustc_trait_selection` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:66:1
   |
66 | extern crate rustc_trait_selection;
66 | extern crate rustc_trait_selection;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `rustc_trait_selection` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trait_selection-a9d154b63aa79737.rmeta
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `test` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:67:1
   |
67 | extern crate test;
67 | extern crate test;
   | ^^^^^^^^^^^^^^^^^^
   |
   = note: the following crate versions were found:
           crate `test` compiled by rustc 1.85.0-beta.1 (e30eefff4 2025-01-08): /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0ce4435fa84a6ae8.rlib
   = help: please recompile that crate using this compiler (rustc 1.86.0-nightly (9e2625e8b 2025-02-06)) (consider running `cargo clean` first)
error[E0514]: found crate `std` compiled by an incompatible version of rustc
##[error]  --> src/librustdoc/lib.rs:74:5
   |

@bors
Copy link
Contributor

bors commented Feb 9, 2025

☔ The latest upstream changes (presumably #136747) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants