retro-httpaf-bench
retro-httpaf-bench copied to clipboard
Many build fails
Those based on debian 11 can be fixed by RUN apt-get update, which I am including in my PR #30.
But I could not fix rust-hyper build:
Step 5/6 : RUN cargo build --release
---> Running in 4d5ff5bf30d8
Updating crates.io index
error: failed to get `tokio-core` as a dependency of package `rust-hyper v0.1.0 (/src)`
Caused by:
failed to load source for dependency `tokio-core`
Caused by:
Unable to update registry `crates-io`
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
network failure seems to have happened
if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
Caused by:
SSL error: unknown error; class=Ssl (16)
Running cargo build manually I have a stranger error around 20% of download:
warning: spurious network error (2 tries remaining): http parser error: stream ended at an unexpected time; class=Http (34)
error: failed to get `tokio-core` as a dependency of package `rust-hyper v0.1.0 (/home/raffalli/Programming/retro-httpaf-bench/rust-hyper)`
The cargo error disappeared. Probably a temporary network/server problem. I could compile all eio/multicore examples.