-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Problem
Today I got this warning:
warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-postgres v0.7.4
note: to see what the problems were, use the option--future-incompat-report, or runcargo report future-incompatibilities --id 1
and my immediate reaction was: wtf? I thought Rust didn't make breaking changes like that, and that these sorts of changes were gated on editions.
Of course, I didn't even see the second line about seeing the report at first. And when I did, I assumed -- since Rust makes these changes so infrequently -- that "id 1" was like a globally unique ID, and not just the first one made on my system.
I was also surprised that there was no URL or something to click for greater context about the whole thing.
Proposed Solution
I don't know, I just wanted to share that I had a pretty visceral reaction to what turned out to be approximately nothing I needed to worry about.
- Maybe making the message say "a future edition" instead of "a future version".
- Maybe making the "note" part of the initial log message would help.
Notes
I always feel really safe in my investment into Rust as a platform to build my software on. It's basically never let me down. This warning made me wonder if I was going to be disappointed for the first time in this way. It turns out I don't think I will be, but I was kind of shaken there for a second.
Thank you for having such an amazing ecosystem where this kind of "bug report" / "feature request" is even plausibly relevant, the bar is really high.