cargo: cargo build says "Build failed, waiting for other jobs to finish..." and then never finishes.

When a dependency build fails, cargo can hang at the: Build failed, waiting for other jobs to finish… message.

Some context:

Cargo version is: e268c1378677e903313b053cbabf97fad463b113 auto merge of #169 : cburgdorf/cargo/name_clean, r=alexcrichton

I was trying to cargo build: https://github.com/Coeuvre/rust-2048.git on windows. I’m not sure if the actual reason for the failure is relevant at all and haven’t looked into it (nor do I know how to debug it.) Let me know if you’d like me to dig more.

$ cargo build
unused manifest key: package.readme
   Compiling gl v0.0.1 (https://github.com/bjz/gl-rs)
   Compiling piston v0.0.0 (https://github.com/pistondevelopers/piston/)
   Compiling image v0.0.0 (https://github.com/PistonDevelopers/rust-image)
   Compiling sdl2 v0.0.1 (https://github.com/AngryLawyer/rust-sdl2)
   Compiling graphics v0.0.0 (https://github.com/pistondevelopers/rust-graphics)
Build failed, waiting for other jobs to finish...

The issue is that it hangs here and never returns. I gave it 30 minutes before I killed the process.

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

install sudo apt-get install libssl-dev

RPI 4 - Bookworm Server V12 64 bit cargo 1.77.2

cargo install cargo-generate

warning: build failed, waiting for other jobs to finish… error: failed to compile cargo-generate v0.20.0, intermediate artifacts can be found at /tmp/cargo-installg2JwCE.

sudo apt-get install libssl-dev cargo install cargo-generate

Solved Problem -ty