foresterre / cargo-msrv

🦀 Find the minimum supported Rust version (MSRV) for your project
https://foresterre.github.io/cargo-msrv
Apache License 2.0
873 stars 26 forks source link

Shared lib not found: `libssl.so.1.1: cannot open shared object file` #1007

Open alexpovel opened 2 weeks ago

alexpovel commented 2 weeks ago

Greetings!

cargo msrv started failing recently, with the exact error message reading:

/home/runner/.cargo/bin/cargo-msrv: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

in this GitHub Actions run. There is a good chance this error is unrelated to msrv itself:

The curious thing is that all other CI jobs remained successful, the msrv is the only failing one (well one other is failing but that's expected). That's why I'm opening an issue here.

Would you happen to have any pointers on how that could be? Perhaps an issue with used dependencies? I'd guess libssl would be used by other jobs running in CI as well (but have no data on this), which were all successful.

alexpovel commented 2 weeks ago

Alright, issue seems very similar to https://github.com/apollographql/router/issues/2623 , and sure enough actions now run on Ubuntu 24. Old run was on 22.04.5, recent and failed run was on 24.04.1.

alexpovel commented 2 weeks ago

Looks like the last stable release of 0.15.1 is quite old now, 2.5 years, and switching to the latest beta version of cargo-msrv 0.16.0-beta.25 fixes the issues. So probably some dependency bump in that time which helped.

Leaving this issue open for visibility, but it's fixed on my side!

foresterre commented 2 weeks ago

Hi, thanks for the report!

I'll have a look at this issue in the upcoming week.

Concerning 0.16: I'm planning a 0.16.0 release in the upcoming week or the week thereafter, depending on available time.

foresterre commented 4 days ago

Is still an issue with 0.16.x?