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
error[E0554]: #![feature]
may not be used on the stable release channel
#51
Comments
The only other cases I've seen of this ended up being due to the build.rs script not getting rerun when it should. A Alternatively, if you're able to reproduce the conditions under which the target directory gets into this state, or if you have any other info about your build configuration, please post it, as it may help identify the underlying cause. |
hmm, interestingly rust-lang/crates.io#5471 worked fine locally and on CI, so maybe you're right and it is buildscript related 🤔 |
I've ran into this too after upgrading env_logger to 0.10 |
Ran into the same error when updating from I was able to reproduce the error by rolling Error message just in case:
Something of note is that |
just to add to that datapoint, I'm using IntelliJ with the Rust plugin, so maybe that is indeed related |
@sunfishcode Maybe you could make a release of I have cleared my |
This io-lifetimes crate no longer needs this rustc_attrs code. On Rust versions where io_safety is stabilized, we use the version in std (which uses rustc_attrs internally). On Rust versions where it's not, rustc_attrs isn't available to user code anyway, since it's not a stable language feature. This might fix #51.
@kornelski That's a good idea; I've now posted #53 which renames the cfg variable. I also noticed that I can actually remove all the |
* Remove use of `rustc_attrs`, which is no longer needed. This io-lifetimes crate no longer needs this rustc_attrs code. On Rust versions where io_safety is stabilized, we use the version in std (which uses rustc_attrs internally). On Rust versions where it's not, rustc_attrs isn't available to user code anyway, since it's not a stable language feature. This might fix #51. * Rename `io_lifetimes_use_std` to `io_safety_is_in_std`. This may also help fix #51.
#53 is now released in 1.0.2. |
I haven't heard any further reports off this error. And the line of code that generates the error message is no longer in the tree, so if the problem somehow does persst, it'll at least have a different error message, so I'll close this issue now. If anyone encounters any problems, please file a new issue! |
through
clap -> terminal_size -> rustix -> io-lifetimes
we are using this crate in the crates.io codebase. rust-lang/crates.io#5436 had updated the lockfile, causing us to upgrade from v0.7.4 to 0.7.5.rustix
was also updated from v0.35.12 to v0.35.13 at the same time.after this update I'm no longer able to compile the codebase locally on macOS:
note that on CI and the production servers the codebase compiles and runs fine for some reason. any clue what might be causing this?
The text was updated successfully, but these errors were encountered: