`./x.py test` fails due to broken links to `core/convert/enum.Infallible.html`
Open
Nobody has claimed this yet.
needs-triage
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
I tried running ./x.py test locally and got this error:
Building stage1 linkchecker (stage0 -> stage1, x86_64-unknown-linux-gnu)
Finished `release` profile [optimized + debuginfo] target(s) in 0.22s
Testing stage1 Linkcheck (x86_64-unknown-linux-gnu)
reference/print.html:15697: broken link - `core/convert/enum.Infallible.html`
reference/print.html:58792: broken link - `core/convert/enum.Infallible.html`
reference/crates-and-source-files.html:633: broken link - `core/convert/enum.Infallible.html`
reference/types/never.html:563: broken link - `core/convert/enum.Infallible.html`
checked links in: 46.2s
number of HTML files scanned: 62405
number of HTML redirects found: 22249
number of links checked: 2983027
number of links ignored due to external: 186456
number of links ignored due to exceptions: 31
number of intra doc links ignored: 9
errors found: 4
NOTE: if you are adding or renaming a markdown file in a mdBook, don't forget to register the page in SUMMARY.md
found some broken links
Command `/usr/local/google/home/aliceryhl/rust/build/x86_64-unknown-linux-gnu/stage1-tools-bin/linkchecker /usr/local/google/home/aliceryhl/rust/build/x86_64-unknown-linux-gnu/doc` failed with exit code 1
Created at: src/bootstrap/src/core/build_steps/tool.rs:1627:23
Executed at: src/bootstrap/src/core/build_steps/test.rs:224:77
Command has failed. Rerun with -v to see more details.
Build completed unsuccessfully in 0:46:18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run ./x.py test and inspect the broken-link references in reference/print.html, reference/crates-and-source-files.html, and reference/types/never.html. Use src/bootstrap/src/core/build_steps/tool.rs and test.rs to understand the linkchecker entry point; done means the four Infallible links resolve and ./x.py test completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, documentation, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 66/100