cargo doc
panicked at 'no entry found for key'
#9136
Labels
C-bug
Category: bug
Command-doc
regression-from-stable-to-nightly
Regression in nightly that previously worked in stable.
Problem
Cargo crashes when running
cargo doc --target x86_64-fuchsia
Expected behavior: doesn't crash and produces documentation 😄
Steps
cargo init example
cargo +nightly doc --target=x86_64-fuchsia
Produces:
Notes
Output of
cargo version
:rustup +nightly target add x86_64-fuchsia
is probably required to get it to actually work, but does not seem necessary to reproduce the bug.Also, it works fine on stable:
So this is a regression.
The original failure I saw did not involve rename imports, but I switched to rename imports to show that just having both versions of rand in the graph is enough to trigger the problem. The original example I saw depended on rand 0.6 directly and tempfile which brought in rand 0.7.
The text was updated successfully, but these errors were encountered: