mit-pdos / noria

Fast web applications through dynamic, partially-stateful dataflow
Apache License 2.0
4.97k stars 241 forks source link

Build fails because of tokio tower #154

Closed TrueDoctor closed 4 years ago

TrueDoctor commented 4 years ago

I've tried to build the noria server on multiple machines, but it always fails for the same reason:

cargo build --bin noria-server
    Updating git repository `https://github.com/crossbeam-rs/crossbeam.git`
    Updating git repository `https://github.com/kornelski/rust-ctrlc.git`
    Updating git repository `https://github.com/rust-lang/futures-rs.git`
    Updating git repository `https://github.com/sfackler/rust-openssl.git`
    Updating git repository `https://github.com/slog-rs/term.git`
    Updating git repository `https://github.com/tokio-rs/tokio.git`
    Updating git repository `https://github.com/tower-rs/tokio-tower.git`
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load source for a dependency on `tokio-tower`

Caused by:
  Unable to update https://github.com/tower-rs/tokio-tower.git?branch=no-box#cb1df166

Caused by:
  revspec 'cb1df166589f0dc3b4cbf3181956954b092497ca' not found; class=Reference (4); code=NotFound (-3)

system information: cargo 1.40.0 (bc8e4c8be 2019-11-22) rustup 1.21.1 (2020-01-25) rustc 1.42.0-nightly (3761dcd34 2020-01-28) archlinux; kernel 5.4.15

jonhoo commented 4 years ago

Interesting.. I know @jmbredenberg ran into this recently too. I recently pushed a big update of dependencies to master that seems to have fixed it for her. Do you still observe the problem after a git pull?

TrueDoctor commented 4 years ago

That seems to have fixed it :smiley: Thanks for the quick support!