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

Issue building from source on Mac OSX #63

Open
imetandy opened this issue Sep 2, 2024 · 2 comments
Open

Issue building from source on Mac OSX #63

imetandy opened this issue Sep 2, 2024 · 2 comments

Comments

@imetandy
Copy link

imetandy commented Sep 2, 2024

Hi,

When trying to build from source for Mac OS, I receive the following error during compilation:

error[E0282]: type annotations needed for Box<_> --> /Users/andrew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9 | 83 | let items = format_items | ^^^^^ ... 86 | Ok(items.into()) | ---- type must be known at this point | help: consider giving items an explicit type, where the placeholders _ are specified | 83 | let items: Box<_> = format_items | ++++++++

This appears to be the time crate, but I don't see it directly referenced in cargo.toml so assume its something else importing this.

Release version: v1.4.1
I am Running on an M1 Pro mac, Sonoma 14.5.
Rust version: 1.80.1

@martinber
Copy link
Owner

Looks like some libraries are not supported by the latest versions of rust. I recommend installing an older version of rust using rustup. Sorry, I tried upgrading all packages and seems like I will have to submit a PR to satellite-rs in order to fix this

@imetandy
Copy link
Author

imetandy commented Sep 7, 2024

No problem at all, will try this out.

Thank you for all your work on this, it's been really interesting diving through your documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants