-
Notifications
You must be signed in to change notification settings - Fork 0
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[E0658]: use of unstable library feature 'local_key_cell_methods' #3
Comments
Are you sure that you (and/or GitHub Actions) are on the latest stable Rust? My 'ran' crate now relies on Rust stable 1.73., as mentioned in its release notes (at the bottom of the Readme file). If you do locally |
I know that github is always messing around with their nodes and whatnot, so I use a third party Rust toolchain that has never let me down. For your information, here is my .yml file that passes my 'ran' crate tests on github actions with no problems: name: test
on: push
jobs:
build:
name: random
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --release -- --test-threads=1 --nocapture --color always
```
|
Thanks for your rapid response. I seem to be encountering an issue in the macos builds, and I'm not sure why that's the case. |
If you can not resolve it, you can always go back to ran v 1.1.2. The functionality is the same, the later versions are just even slimmer and faster, that is all. |
Thanks for the tip. I'll dive into the crux of the issue at a later date,
it seems to be related to the python tool chain I use, so I suspect you're
right in that it is out of date. I don't believe I use the ran crate
directly, I think it's a dependency of one of my dependencies.
Edit: I just made the connection that I use your excellent rstats crate!
|
In Rust semver, it is usually a good idea to specify the dependencies only by the first one or at most two digits of the version number, it will then upgrade the minor versions automatically. |
I'm still regularly hitting this hiccup, even just now: https://github.com/nyx-space/nyx/actions/runs/6952467949/job/18916580429 . Sometimes rerunning the build will fix the issue, but not always. I'm just kind of surprised about it. Do you have any tips on what I could do to avoid this issue? |
Like I said before, this will be caused by an old version of Rust < 1.73. |
I was able to specify the rust toolchain in the CI file: https://github.com/nyx-space/nyx/pull/255/files . |
Hi there,
It seems that one of my dependencies uses your library. Since just a few days ago, the build fails in CI on several WIP branches (nyx-space/nyx#246, nyx-space/nyx#244) on the latest stable rust.
Any idea how I could fix that issue?
Thanks
The text was updated successfully, but these errors were encountered: