mbview-rs icon indicating copy to clipboard operation
mbview-rs copied to clipboard

Does not build on macOS

Open tcurdt opened this issue 1 year ago • 3 comments
trafficstars

Description

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/tcurdt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.28/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
$ cargo update           
    Updating crates.io index
    Updating git repository `https://github.com/tauri-apps/plugins-workspace`
error: failed to select a version for the requirement `tauri-plugin-clipboard-manager = "^2.1.0-beta.5"`
candidate versions found which didn't match: 2.0.1
location searched: Git repository https://github.com/tauri-apps/plugins-workspace?branch=v2
required by package `MBTilesViewer v1.8.0 (/Users/tcurdt/Downloads/mbview-rs/src-tauri)`

Steps To Reproduce

git clone yarn install yarn dev

Expected behavior

For it to build

App Version

master

Operating System Version

macOS 15.0

Additional Information

No response

tcurdt avatar Nov 05 '24 15:11 tcurdt

@tcurdt what s your cargo/ rust version? it builds fine here but i have not update rust/cargo in quite some time

farfromrefug avatar Nov 05 '24 15:11 farfromrefug

I tried with

$ rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15) (Homebrew)
$ cargo --version
cargo 1.82.0

tcurdt avatar Nov 05 '24 16:11 tcurdt

@tcurdt I am on 1.72.0 so should be fine. Will try to update and see if I can reproduce. In fact the issue might be on tauri's side. Feels like they remove some cargo packages(and I already have then locally). Will need to update tauri, though updating tauri is never an easy task as they often make breaking changes

farfromrefug avatar Nov 05 '24 17:11 farfromrefug