Rust v1.76 bootstrap testing fails

When testing the bootstrap compiler build with rust v1.76 via cmd python3 src/bootstrap/bootstrap.py test --no-fail-fast --bless in poky, the tests give failures as follows:

---- markdown::term::tests::test_output stdout ----
thread 'markdown::term::tests::test_output' panicked at compiler/rustc_errors/src/markdown/tests/term.rs:75:55:
called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: rustc_errors::markdown::term::tests::test_output
4: <rustc_errors::markdown::term::tests::test_output::{closure#0} as core::ops::function::FnOnce<()>>::call_once
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

More info: Rustc bootstrap build is unable to find crates in poky after 1.76 version update · Issue #122075 · rust-lang/rust · GitHub

Full log for more details: log_1_76_without_doc_flag.txt

I have also opened an issue here: Fix failing unit tests to successfully run and test the rustc bootstrap build. · Issue #122285 · rust-lang/rust · GitHub

How to fix it? Thanks for the help.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.