Skip to content
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

Published version does not appear on docs.rs #1941

Closed
zh217 opened this issue Dec 1, 2022 · 9 comments
Closed

Published version does not appear on docs.rs #1941

zh217 opened this issue Dec 1, 2022 · 9 comments

Comments

@zh217
Copy link

zh217 commented Dec 1, 2022

This is the published version on crates.io: https://crates.io/crates/cozo/0.2.1

It seems that docs.rs did not build docs for it: https://docs.rs/crate/cozo/latest/builds

Neither the queue nor the failures page has anything related to this version.

@zh217
Copy link
Author

zh217 commented Dec 1, 2022

Looks like a similar issue to #1912

@syphar
Copy link
Member

syphar commented Dec 1, 2022

yeah, it's probably that issue.

We merged a bigger fix around this just now: #1935, will be deployed soon.
Until then I'll manually queue your build.

@syphar
Copy link
Member

syphar commented Dec 1, 2022

closing this as (kind of) duplicate to #1912

@syphar syphar closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2022
@zh217
Copy link
Author

zh217 commented Dec 2, 2022

It's now in the queue, but it has a very low priority, is very far from the head of the queue, and hasn't really progressed after many hours (even dropped a few places). Doesn't look like it is going to complete in days.

Is this the expected behaviour?

@syphar
Copy link
Member

syphar commented Dec 2, 2022

Is this the expected behaviour?

In short: no, it's not :)

We currently have only limited build capacity, which is a problem especially when owners with many crates (like swc_ and azure_, and some others) release many releases at once. Right now even worse, all the swc_ crates were released 13 times.

We're working on this on multiple angles to fix this, but not nothing deployed yet.

I increased the priority for your rebuild, should be done soon.

@zh217
Copy link
Author

zh217 commented Dec 2, 2022

Thanks for the hard work!

The build disappears again. On further investigation, it seems the published crate is flawed due to a problem in a script on my side. But leaving no traces of any errors on docs.rs is a bit baffling.

I will publish a new version soon to see if the problem persists.

@syphar
Copy link
Member

syphar commented Dec 2, 2022

The build disappears again. On further investigation, it seems the published crate is flawed due to a problem in a script on my side. But leaving no traces of any errors on docs.rs is a bit baffling.

what was the error in your crate? there are some error cases we need to fix: #1849

I will publish a new version soon to see if the problem persists.

it looks like the version was built now?

@zh217
Copy link
Author

zh217 commented Dec 2, 2022

The new version was successfully built.

Basically the build script on my machine somehow got --no-verify added to it, and at the same time the crate specifies a dependency with an exact version that was incompatible with the version specification of an upstream crate. So version resolution fails. I guess this error occurred too early for docs.rs to pick up.

@syphar
Copy link
Member

syphar commented Dec 2, 2022

I guess this error occurred too early for docs.rs to pick up.

To be clear, it should be shown, silently failing builds are confusing behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants