Skip to content
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

use of unstable library feature 'error_in_core' #2429

Closed
sunliang711 opened this issue Nov 28, 2024 · 4 comments
Closed

use of unstable library feature 'error_in_core' #2429

sunliang711 opened this issue Nov 28, 2024 · 4 comments

Comments

@sunliang711
Copy link

Description

Steps to Reproduce

  1. git clone https://github.com/SeaQL/sea-orm
  2. cd sea-orm/examples/basic
  3. cargo run

Expected Behavior

program should be compiled successfully and run

Actual Behavior

compile with error: error[E0658]: use of unstable library feature 'error_in_core'
image

even when I create a hello world project ,and add sea-orm to cargo.toml, the project also report this error.
My rust version info:
cargo 1.78.0 (54d8815d0 2024-03-26)
rustc 1.78.0 (9b00956e5 2024-04-29)

Reproduces How Often

Workarounds

Reproducible Example

Versions

@tyt2y3
Copy link
Member

tyt2y3 commented Nov 28, 2024

oh, it's the MSRV of the idna crate, which I don't maintain. you can try updating your rustc to at least 1.80

@conradogarciaberrotaran

I had 1.80.0 and the error still persisted:

$ rustc --version
rustc 1.80.0 (051478957 2024-07-21)

After updating to 1.83 using rustup update, the issue was fixed.

rustc 1.83.0 (90b35a623 2024-11-26)

I would close the issue.

@tyt2y3
Copy link
Member

tyt2y3 commented Dec 1, 2024

I can confirm that the MSRV is 1.81

@tyt2y3 tyt2y3 closed this as completed Dec 1, 2024
@Fenex
Copy link

Fenex commented Dec 13, 2024

Sad news.

sea-orm 1.1.1 - is the last version that can be compiled by rustc 1.75.
rustc 1.75 - is the last version with prebuilt toolchain binaries can be running on Windows 7 (without special spells).

I post this comment to help others find out last version of sqlx to compile under win7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants