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

Errror while building crate 'rusvid_core' in release build #103

Closed
LetsMelon opened this issue May 7, 2023 · 0 comments · Fixed by #110
Closed

Errror while building crate 'rusvid_core' in release build #103

LetsMelon opened this issue May 7, 2023 · 0 comments · Fixed by #110
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@LetsMelon
Copy link
Owner

LetsMelon commented May 7, 2023

Error when compiling with 1.71.0-nightly (569b648b5 2023-05-05):

Compiling geo v0.24.1
error[E0275]: overflow evaluating the requirement `[closure@/Users/$user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/geo-0.24.1/src/algorithm/map_coords.rs:855:69: 855:72]: Fn<(geo_types::Coord<T>,)>`
  |
  = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`geo`)
  = note: required for `&[closure@map_coords.rs:855:69]` to implement `Fn<(geo_types::Coord<T>,)>`
  = note: the full type name has been written to '/Users/$user/Documents/Programming/rusvid/target/release/deps/geo-27a27af44f7385b3.long-type-12617991455342098991.txt'
  = note: 128 redundant requirements hidden
  = note: required for `&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&...` to implement `Fn<(geo_types::Coord<T>,)>`
  = note: the full type name has been written to '/Users/$user/Documents/Programming/rusvid/target/release/deps/geo-27a27af44f7385b3.long-type-1315908437659779592.txt'

For more information about this error, try `rustc --explain E0275`.
error: could not compile `geo` (lib) due to previous error

Quick fix because geo already approved a fix georust/geo#1012:

geo = { git = "https://github.com/georust/geo.git" }

Solution:

Wait until geo releases a new version.

Related geo issue: georust/geo#1010

@LetsMelon LetsMelon added bug Something isn't working dependencies Pull requests that update a dependency file labels May 7, 2023
@LetsMelon LetsMelon self-assigned this May 7, 2023
@LetsMelon LetsMelon linked a pull request May 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant