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

[bug] Can't build Tauri CLI with Rust 1.80 #10406

Closed
mrguiman opened this issue Jul 29, 2024 · 0 comments
Closed

[bug] Can't build Tauri CLI with Rust 1.80 #10406

mrguiman opened this issue Jul 29, 2024 · 0 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@mrguiman
Copy link
Contributor

Describe the bug

After upgrade to Rust 1.80, building tauri cli fails.

See
time-rs/time#693.

Working on a pull request with a lock update

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.5.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 22.0.0
    - npm: 10.5.1

[-] Packages
    - tauri [RUST]: no manifest (unknown lockfile)
    - tauri-build [RUST]: no manifest (unknown lockfile)
    - wry [RUST]: no manifest (unknown lockfile)
    - tao [RUST]: no manifest (unknown lockfile)
    - tauri-cli [RUST]: 2.0.0-beta.20
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.20

Stack trace

~/code/tauri/tooling/cli ❖  cargo build                                                                                                                                   dev
   Compiling time v0.3.34
   Compiling tauri-cli v2.0.0-beta.22 (/Users/gman/code/tauri/tooling/cli)
error[E0282]: type annotations needed for `Box<_>`
  --> /Users/gman/.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
   |              ++++++++

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants