Building from sources failed: failed to get `hyper` as a dependency of package `reqwest v0.11.11`
gtrrnr opened this issue · 3 comments
gtrrnr commented
Cargo version:
cargo 1.46.0
After doing git clone https://github.com/Sh1Yo/x8
(current commit: 5cd05be)
And trying to build it using cargo build --release
i get following error log:
cargo build --release
Updating crates.io index
Updating git repository `https://github.com/raw-http/http`
Updating git repository `https://github.com/raw-http/reqwest`
Updating git repository `https://github.com/raw-http/rust-url`
Updating git repository `https://github.com/raw-http/serde_urlencoded`
Updating git repository `https://github.com/raw-http/cookie_store`
Updating git repository `https://github.com/raw-http/h2`
Updating git repository `https://github.com/raw-http/http-body`
Updating git repository `https://github.com/raw-http/hyper`
error: failed to get `hyper` as a dependency of package `reqwest v0.11.11 (https://github.com/raw-http/reqwest#61fbb332)`
... which is depended on by `x8 v4.1.0 (/home/ffe4/x8)`
Caused by:
failed to load source for dependency `hyper`
Caused by:
Unable to update https://github.com/raw-http/hyper#9202aaae
Caused by:
object not found - no match for id (9202aaae7b2a7962113837769324cf5f546872a7); class=Odb (9); code=NotFound (-3)
Sh1Yo commented
It works fine for me. Your rust version looks too old. Can you update it and rebuild the tool?
gtrrnr commented
Seems like it was because rust/cargo package was too old.
Managed to compile it using cargo 1.66.1
Sh1Yo commented
I'm glad it helped.