-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
(fix) Bump remove_dir_all to 0.8.2 #42
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like remove_dir_all doesn't really follow semver, there were no breaking changes between 0.6.1 and 0.8.0 that I can find. So a pure bump without changing any code should be fine.
CI is failing. |
a9c8d72
to
ef92d9e
Compare
Cargo build succeeded locally, but the test fails with not finding version 0.8.0 of remove_dir_all. Trying with 0.8.2. |
ef92d9e
to
4f2e7ae
Compare
I think you have a typo? You added a |
4f2e7ae
to
411f3a5
Compare
Yep, fixed 🤦 |
Still failing. :| |
Hm. Seems like the part that's failing is the test running cargo with rust nightly and |
There are also unrelated clippy errors (I guess because we are using a new enough clippy) which will just be fixed with |
Running the nightly toolchain locally with ¹ edit: followed by |
Attempt here #43 |
Nightly is only used to generate the minimal-versions lockfile, the tests themselves run with the Minimum Supported Rust Version (1.56). Maybe remove_dir_all 0.8.0 requires a newer MSRV? |
@barathrm, I merged your other PR, please rebase this on top of that so clippy is fixed. :) |
Old version has a listed security vuln.
878afd6
to
34bc024
Compare
I think @Xiretza is right. We can update the min rust version for all I care. I didn't even remember we set one. |
You're right, I can reproduce the issue locally by manually using 1.56.0. Gonna try bumping to something newer. |
0bd8356
to
df2cb4d
Compare
Not sure why the minimal versions workflow fails on openssl now... can't reproduce that locally, and the docker does have libssl-dev installed. |
No idea. :| |
Wild guess: the container image has updated/changed at some point and now contains an incompatible openssl version? |
Hm, maybe. Or the versions selected by rust nightly's -Z minimal-versions aren't compatible with the docker's openssl? Seems like the workflow uses ubuntu-latest, which I assume is the default github ubuntu latest docker. |
Those shouldn't have changed since the last time CI ran (successfully).
It's probably that then - ubuntu-latest always points at the latest release, which can and will change. Looks like it updated to openssl 3.x, which isn't supported by openssl-sys 0.9.55: https://stackoverflow.com/questions/67346713/wsl-ubuntu-cargo-rust-openssl-environment-variables-not-set |
Should we just bump openssl-sys? |
6f6a596
to
e01a5a6
Compare
1.63.0 is low enough to be in debian sid, but new enough to have remove_all_dir 0.8.2.
Also bump cc, required to build newer openssl-sys.
e01a5a6
to
da12fd6
Compare
Well then. bumped openssl-sys, openssl and cc. Had to bump cc to be able to build the newer openssl-sys, as mentioned in the commit msg. Tests pass. |
Old version has a listed security vuln.
Fixes