Skip to content
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

Many build fails #31

Open
craff opened this issue Feb 26, 2024 · 2 comments
Open

Many build fails #31

craff opened this issue Feb 26, 2024 · 2 comments

Comments

@craff
Copy link

craff commented Feb 26, 2024

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
Copy link
Author

craff commented Feb 26, 2024

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
Copy link
Author

craff commented Mar 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant