-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
warning: spurious network error #13291
Comments
Could you check if you can resolve the hostname
You might also want to check any of the config under |
same or similar problem here cargo 1.46.0
Caused by: -no matter from which cloud provider, download always stops at around 12.x% |
I have got the same problem. I use Updating crates.io index
warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
error: failed to query replaced source registry `crates-io`
Caused by:
download of config.json failed
Caused by:
failed to download from `https://index.crates.io/config.json`
Caused by:
[6] Couldn't resolve host name (Could not resolve host: index.crates.io) |
For devcontainer, see #6513 (comment) for possible fixes. For cargo 1.46.0, that is not a supported version of Cargo. Please use the latest version and we can debug it. I am going to close this as the original author hasn't yet responded for a while. Please check #6513, which has different symptoms and solutions. Thank you. |
when I had this problem, I initially thought that something got corrupted in my rust global setup, so I removed rust and tried to install again, because nothing else helped. Then to my astonishment I saw I can't even download rust from the official website. That was something wrong with my network, not sure what suddenly happened, but using mobile hotspot resolved the issue 🤷♂ |
Problem
So running the below command to build a static version of Rav1e I get a spam error code.
cargo cinstall --prefix=/home/jman/tmp/ffmpeg-build-script/workspace --library-type=staticlib --crt-static --release
The error is
Steps
Possible Solution(s)
I had to run
cargo build --release
then I ran
cargo cinstall --prefix=/home/jman/tmp/ffmpeg-build-script/workspace --library-type=staticlib --crt-static --release
and it installed.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: