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:
calledResult::unwrap()
on anErr
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 withRUST_BACKTRACE=full
for a verbose backtrace.
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.