retro-httpaf-bench icon indicating copy to clipboard operation
retro-httpaf-bench copied to clipboard

Many build fails

Open craff opened this issue 1 year ago • 2 comments

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)

craff avatar Feb 26 '24 22:02 craff

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)`

craff avatar Feb 26 '24 22:02 craff

The cargo error disappeared. Probably a temporary network/server problem. I could compile all eio/multicore examples.

craff avatar Mar 03 '24 21:03 craff