Hey, so we have the following problem:
cargo build in our repo with a Cargo.lock leads to the following output:
Updating git repository `https://github.com/paritytech/substrate`
Updating crates.io index
It tries to update the git commit, which leads to some other dependency problems.
Using cargo 1.46.0-nightly (fede83ccf 2020-07-02).
Doing the same with cargo 2020-06-26, it just starts building without updating the git commit.
I tracked it down to the following pr: #8364
If I revert this pr, it works.
TLDR: cargo now always updates the git commit using cargo build.
CC @alexcrichton as you have created the pr.
Hey, so we have the following problem:
cargo buildin our repo with aCargo.lockleads to the following output:It tries to update the git commit, which leads to some other dependency problems.
Using
cargo 1.46.0-nightly (fede83ccf 2020-07-02).Doing the same with cargo
2020-06-26, it just starts building without updating the git commit.I tracked it down to the following pr: #8364
If I revert this pr, it works.
TLDR: cargo now always updates the git commit using
cargo build.CC @alexcrichton as you have created the pr.