paritytech / cachepot

cachepot is `sccache` with extra sec, which in turn is `ccache` with cloud storage
https://cachepot.cc
Apache License 2.0
171 stars 13 forks source link

cargo build fails with "cachepot: error: Timed out waiting for coordinator startup" #150

Closed claudiociardelli closed 2 years ago

claudiociardelli commented 2 years ago

I get this error when running cargo build --release

`error: failed to run "rustc" to learn about target-specific information

Caused by: process didn't exit successfully: "/home/toto/.cargo/bin/cachepot rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg" (exit status: 2) --- stderr cachepot: error: Timed out waiting for coordinator startup`

Xanewok commented 2 years ago

What's your environment and what package were you trying to compile?

Can you try running cachepot --stop-coordinator and re-running the compilation again?

digitalillusion commented 2 years ago

I had to reinstall after cachepot --stop-coordinator

cargo install --git https://github.com/paritytech/cachepot

then issue disappeared

Xanewok commented 2 years ago

That's good! Closing this, then