Closed alexkazik closed 11 months ago
Yeah, it's actually intentional that we don't run cargo update
except for the scheduled
set of jobs — it ensures that all the jobs test the same dependency closure, and that updates are handled more explicitly. It also (at least in theory) better allows cache sharing between jobs. So I'd like to keep it this way :)
In my example I added the dependency
trybuild 1.0.85
while running on stable (1.73.0). And all tests work fine. The msrv check on github however does fail with:As it turns out:
once_cell 1.18.0
was added in the Cargo.lock, which is not compatible with the rust 1.58.1 (my msrv).Running a
cargo update
before cargo check does the trick, as it downgrades it:Or are you running locally the msrv compiler, if yes simply close this request. I'm happy to write a PR if this is wanted.
Edit: maybe it's not as good idea as I thought because it takes like 5 minutes to do the update (every run).