-
Notifications
You must be signed in to change notification settings - Fork 220
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
error: no matching version ^0.5.2
found for package dwrote
#31
Comments
The problem here is that dwrote was yanked. |
I used the current master commit, but the error is still present. With older commits it’s working, so I am fine with using them, no worries. I just wanted to mention that in some time in the future it would be nice to update the |
Hmm ok that seems weird. Maybe it is because it did some weird stuff because the lockfile wasn't tracked before. |
Right, yeah, it only builds when you copy the Cargo.lock file from this repo. Even if I have the lock file, you don't, so cargo ignores the lockfile from this repository (which is stupid IMO). The general problem with this is that crates.io allows anybody to yank crates even though that might break dependents (see rust-lang/cargo#5263). This is essentially, the npm-leftpad problem - because you don't have a lock file yet and you don't have the hashes of dwrote, you can't build the crate. I'll update servo, but of course this isn't a permanent solution and might happen again in the future, however solving this "properly" is out of my control. Please complain to cargo if this appears again. |
@fschutt I see the problem there, and I am aware that this is not really an issue with azul itself. Thanks for the clarification. That’s a really bad feature of crates.io... potentially very risky. Thank you all a lot for your fast responses on this, very appreciate it ! |
Description
I followed the steps for installing Azul mentioned in the wiki. When I try to build the initial "hello world" application with Azul as an dependency I get the following error:
My Cargo.toml file looks like this
Version / OS
Steps to Reproduce
Follow the installation steps in the wiki
Expected Behavior
Azul should build fine
Actual Behavior
Azul does not build with the error mentioned above
Additional Information
I looked in the dependencies and it seems that the servo WebRender project updated it's
dwrote
dependency to0.6.0
. (Commit in servo) I think it should be fine to change theservo/webrender
in Azul to the commit where thedwrote
dependency was updated.The text was updated successfully, but these errors were encountered: