-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to build v0.0.248 with rustc 1.67.0 #3039
Comments
I ran into a similar but different issue on x86_64 linux for both rust 1.67.0 and nightly error: `T` does not live long enough
--> crates/ruff_python_formatter/src/shared_traits.rs:36:9
|
36 | self.as_ref().map(AsFormat::format)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: could not compile `ruff_python_formatter` due to previous error
warning: build failed, waiting for other jobs to finish...
|
Hmm, it's probably not a new error, but might be a result of changing our default members. Can you try |
(Though of course we should fix those. I can take a look.) |
If it helps, this could have occurred at any point between 0.0.245 and 248. If you'd like, I can bisect. |
For my error, the regression happened at the 1.66.0 release nix shell fenix/6369e55b8ba49b896da496c06013d7cb0d1395c6#stable.minimalToolchain nixpkgs#gnumake -c cargo build works, but the same command fails on nix-community/fenix@d3eaf97 |
Thanks, taking a look now. We build on 1.65.0, I see the same issue as @figsoda on 1.66.0. |
I can't reproduce @winterqt's issue though. |
@charliermarsh On Linux, or macOS? |
macOS, Rust 1.67.0. Let me try a |
Still no luck, any ideas? |
Sorry, to be clear: aarch64 macOS or x86_64? |
Oh sorry, aarch64 :) |
|
Not a clue. Would it help if I got whatever size the type is now, though? |
Yeah sure. |
I get 32 as the size of This isn't an entirely vanilla rustc, we apply one patch to fix an ICE (rust-lang/rust#107688). Can you try to reproduce this on nightly? |
I somehow just hit this. I have no idea what changed, if anything. |
Oh, it was probably just always failing on release builds for that crate, but we never tried to build them since they weren't part of |
Forgive me if I'm being dumb, but I don't see |
We used to define it, but we removed it: #3006. So if you're just running |
(If you want to build Ruff for distribution, you should be running |
This is kind of a problem for distributions because many of them are using the |
Yeah this should be all fixed up -- I believe I fixed the issues in the non |
(If you still see errors on |
When building Ruff v0.0.248 with rustc 1.67.0, I receive the following compilation error:
The text was updated successfully, but these errors were encountered: