Error when building in parallel: `sh: 1: cargo: not found`
probablykasper opened this issue · 5 comments
probablykasper commented
When running cross
in multiple instances at once, the following error shows up:
sh: 1: cargo: not found
If this is too difficult to fix, there could be an improved error, or a warning.
TarekkMA commented
I'm getting this error on GitHub action, I didn't run it in parallel
cessen commented
I'm getting this error just with a plain cross build
as well. Running NixOS. Seemingly can't use cross
because of this error.
Alexhuszagh commented
If you're running NixOS, then yes it should be a duplicate of #260, but I don't believe the original error is. I'll see if I can replicate this in parallel.
Alexhuszagh commented
I can't replicate this anymore, and cross
doesn't use global state and only calls cargo
and docker
which have good consistency mechanisms.