Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest update enforces 1.7.9 rust version, breaking build pipelines. #5087

Closed
2 tasks done
rikkigouda opened this issue Aug 24, 2023 · 1 comment
Closed
2 tasks done
Labels
C-bug Category: Updating dependencies

Comments

@rikkigouda
Copy link

Please complete the following tasks

Rust Version

1.69 (Dockerfile)

Clap Version

latest

Minimal reproducible code

Our pipelines have started breaking down due to the following error. After investigating, we found that clap crate has been updated enforcing newer rust version we do not use.

 #12 147.0 error: package `clap v4.4.0` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.69.0

Steps to reproduce the bug with the above code

Run cargo build against an existing rust project using 1.69 rust version.

Actual Behaviour

The build pipelines fail despite the fact that we have introduced no change.

Expected Behaviour

Build must stay green for projects relying on older rust versions (compatiblity).

Additional Context

We do not have clap in our toml file.

Debug Output

No response

@rikkigouda rikkigouda added the C-bug Category: Updating dependencies label Aug 24, 2023
@epage
Copy link
Member

epage commented Aug 24, 2023

Our MSRV policy is N-2 which this is in accordance with. In #3267, it was suggested to extend it but that was rejected.

I'm assuming you are not committing a lockfile. For projects that care about MSRV, I recommend you do. If you are concerned with cargo's policy, the cargo nightly documentation removes the discouragement to ignore lockfiles. I'm on mobile right now or else id provide the link.

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Updating dependencies
Projects
None yet
Development

No branches or pull requests

2 participants