Skip to content

The requested resource does not exist #103

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

Closed
rushmorem opened this issue Feb 7, 2017 · 3 comments · Fixed by #131
Closed

The requested resource does not exist #103

rushmorem opened this issue Feb 7, 2017 · 3 comments · Fixed by #131

Comments

@rushmorem
Copy link

For some reason, some crates on docs.rs are coming up with this error message. This used to be a mystery to me but now even one of my own crates is returning this error for the latest version. Right now docs for v0.0.6-alpha2 are running into this error while those for v0.0.6-alpha1 and below are fine.

@onur
Copy link
Member

onur commented Feb 7, 2017

@rushmorem looks like v0.0.6-alpha2 failed to build. Some package also failed with same error message. I am not sure what is causing this. Maybe you can help, did you change any dependency in new version?

@rushmorem
Copy link
Author

I had a hunch this might be the problem. This log confirms that. The thing is reql-io is an implementation detail for reql . It depends on reql for some datatypes. However, to make it easier for users, reql also depends on reql-io to reexport it. Cargo doesn't seem to have a problem with this. However, thanks to this issue, I'm now working on a better design which should work on docs.rs.

I'm going to leave this issue open in case someone wants to try and fix this. @onur If docs.rs is working as intended here, feel free to close this issue.

@onur
Copy link
Member

onur commented Feb 7, 2017

I believe docs.rs is working as intended. I tried to run example code in README:

extern crate reql;

use reql::r;

fn main() {
    r.connection().connect().expect("Failed to connect to the database server");
}

with reql = "0.0.6-alpha2" dependency I am getting same error:

$ cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: cyclic package dependency: package `reql v0.0.6-alpha2` depends on itself

And v0.0.6-alpha3 is working fine. Docs.rs should build this package without any issue (it's in queue right now).

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

Successfully merging a pull request may close this issue.

2 participants