-
Notifications
You must be signed in to change notification settings - Fork 212
Panic in path_for_latest
#552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That makes sense actually ... a renamed crate that fails to build in the latest version would cause this I think. Now to find a renamed crate that fails to build ^^ |
What I've come up with so far: WITH ever_failed AS (
SELECT releases.id as release_id, build_status, name, target_name
FROM crates INNER JOIN releases ON crates.id = releases.crate_id
WHERE name != target_name AND NOT build_status AND is_library
)
SELECT name, target_name
FROM ever_failed
-- at least 1 success and 1 failure
GROUP BY name, target_name
HAVING SUM(build_status::int) != COUNT(release_id); |
Well, my guess seems to be wrong. I tried |
Got it! There's a |
This is coming from https://github.com/rust-lang/docs.rs/blob/master/src/web/rustdoc.rs#L312.
Somehow, there's a case where
req_path
has amodule
that's not the same astarget_name
, but also not a target. Maybe a renamed crate?This is all the information I have from the logs:
backtrace
The text was updated successfully, but these errors were encountered: