Skip to content

Rustdoc hangs with diesel #133616

Closed
Closed
@weiznich

Description

@weiznich

Code

diesel-rs/diesel@8939fce

cargo +nightly doc --manifest-path diesel/Cargo.toml --no-deps --no-default-features

I expected to see this happen: Documentation is build in ~5s

Instead, this happened: Rustdoc hangs indefinitely (e.g. https://github.com/diesel-rs/diesel/actions/runs/12069072552/job/33655550946 was canceled after ~6h)

Version it worked on

It most recently worked on: Rust 1.84 (current beta)

Version with regression

rustc --version --verbose:

rustc 1.85.0-nightly (dff3e7ccd 2024-11-26)
binary: rustc
commit-hash: dff3e7ccd4a18958c938136c4ccdc853fcc86194
commit-date: 2024-11-26
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.4

I've run cargo bisect-rustc to track down the PR that causes this and that points to #133242 (386a7c7), so cc @lcnr

@rustbot modify labels: +regression-from-beta-to-nightly -regression-untriaged +T-rustdoc

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.I-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.P-criticalCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-untriagedUntriaged performance or correctness regression.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions