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

Build error: could not compile thiserror due to 2 previous errors #69

Closed
francis-du opened this issue Nov 9, 2022 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@francis-du
Copy link
Contributor

francis-du commented Nov 9, 2022

Describe the bug

Build rustc 1.65.0 (897e37553 2022-11-02)

image

To Reproduce

source venv/bin/activate

maturin develop
@francis-du francis-du added the bug Something isn't working label Nov 9, 2022
@francis-du francis-du changed the title Build error Build error: could not compile thiserror due to 2 previous errors Nov 9, 2022
@francis-du
Copy link
Contributor Author

It works on rustc 1.67.0-nightly (7eef946fc 2022-11-06)

@martin-g
Copy link
Member

With which version of Rust do you experience this error ?

I've experienced the same in apache_avro crate after building it with Rust 1.60 (MSRV) and then trying to build it with 1.65. A workaround for me is to use cargo clean before building with 1.65.
Using only 1.65 does not have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants