Closed HenrikBengtsson closed 3 years ago
Thanks. Not sure how I can improve this error message... or perhaps we should automatically run cargo update
for the user?
I don't know if there's anything that can be done. I don't know Rust but if there's something like C++11, C++14, ... for Rust and that's the underlying problem here, maybe a similar "hint" in SystemRequirements:
. The fact that you report on the cargo
version is great - it was what eventually led me on the right path.
I think there's a risk that an automatic cargo/Rust update could do more damage than it helps, e.g. if updating R packages updates your Rust toolchain it might not be noticed until weeks later and it can be really hard to troubleshoot.
Just sharing in case someone else runs into the same problem and for search engines to pick it up. I will close immediately since there's no problem with gifski per se.
Problem
Solution (update cargo)
It might not be obvious from the error message that this problem is because the Rust toolchain is too old;
I rarely use Rust myself so I forgot that I installed Rust manually quite a while ago and instead incorrectly assumed that
sudo apt dist-upgrade
on my Ubuntu 18.04 machine kept it up-to-date, so it took me a while before I realized it was out-dated. To update, do:Result