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

pnpm tauri dev - error. #18

Open
SacrilegeWasTaken opened this issue Jul 29, 2024 · 2 comments
Open

pnpm tauri dev - error. #18

SacrilegeWasTaken opened this issue Jul 29, 2024 · 2 comments

Comments

@SacrilegeWasTaken
Copy link

Hello, can you help me with that issue?

   Compiling toml_edit v0.20.2
error[E0282]: type annotations needed for `Box<_>`
  --> /Users/leonidlevchishin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/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
   |              ++++++++

   Compiling string_cache v0.8.7
   Compiling url v2.5.0
   Compiling tokio v1.37.0
   Compiling cargo-platform v0.1.8
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
 ELIFECYCLE  Command failed with exit code 

I tried to change .cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs as compiler said, but it causing new errors

@Brendonovich
Copy link
Collaborator

Run cargo update -p time, time 0.3.34 has trouble compiling with rust 1.80.0

@SacrilegeWasTaken
Copy link
Author

SacrilegeWasTaken commented Jul 29, 2024

Run cargo update -p time, time 0.3.34 has trouble compiling with rust 1.80.0

I tried, but it doesn't help much :( The same issue appears. I ran cargo update -p time inside the src-tauri directory.

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