Akylas / mbview-rs

MBTiles Viewer and inspector
Apache License 2.0
73 stars 3 forks source link

Does not build on macOS #9

Open tcurdt opened 2 days ago

tcurdt commented 2 days ago

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

farfromrefug commented 2 days ago

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

tcurdt commented 2 days ago

I tried with

$ rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15) (Homebrew)
$ cargo --version
cargo 1.82.0
farfromrefug commented 2 days ago

@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