-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compile error for release builds on nightly: overflow evaluating the requirement `<impl GeometryTrait<T = f64> #716
Comments
Can you test on latest main? (Or on 0.3.0-beta.2, which I released yesterday) Also, is there a reason why rust nightly would have different behavior here? I haven't seen this with the rust 1.81. |
Still an issue on geoarrow v0.3.0-beta.2, checked out from github main branch, same error. As to why the issue is only with nightly and only with release builds I dont know. It is possible that it is a compiler error, maybe we could get some insight on the Rust Zulip channel.
|
I mean that's a very reasonable thing to do. we mostly need this recursion because a geometry can contain geometry collections |
I dont think thats the case, because it compiles fine on stable and nightly + debug. It may be a regression in the nightly compiler, I linked this issue to the compiler issue to see if that is the case, after asking on the Zulip compiler channel. If you need me to test anything let me know. |
Ah, it does look similar to that compiler bug. I'll hold off on adding |
Hi Kyle,
There is a problem with a vanilla build of 0.2.0 on nightly ('nightly-aarch64-apple-darwin'),
on stable ('stable-aarch64-apple-darwin') it compiles fine.
I ran rustup update to try the latest nightly, so i can confirm its not just on one nightly.
Steps to reproduce
Cargo.toml
Compile Error
Environment
rustc -V
rustc 1.82.0-nightly (4074d4902 2024-08-23)
Mac Air M1
uname -a
Darwin apps4u 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64
Attached file
The file mentioned in the error report
geoarrow-1b938d32aa0c667b.long-type-6547768600814213466.txt
The text was updated successfully, but these errors were encountered: