SeaQL / sea-orm

🐚 An async & dynamic ORM for Rust
https://www.sea-ql.org/SeaORM/
Apache License 2.0
7.44k stars 522 forks source link

use of unstable library feature 'error_in_core' #2429

Closed sunliang711 closed 22 hours ago

sunliang711 commented 4 days ago

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 commented 4 days ago

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 commented 1 day ago

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 commented 22 hours ago

I can confirm that the MSRV is 1.81