You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently running into issues trying to install Martin locally using cargo install.
error[E0308]: mismatched types
--> /home/chrism/.cargo/registry/src/index.crates.io-6f17d22bba15001f/martin-0.13.0/src/fonts/mod.rs:83:39
|
83 | if face.get_char_index(cp) != 0 {
| ----------------------- ^ expected `Result<NonZero<u32>, Error>`, found integer
| |
| expected because this is `std::result::Result<std::num::NonZero<u32>, pbf_font_tools::freetype::Error>`
|
= note: expected enum `std::result::Result<std::num::NonZero<u32>, pbf_font_tools::freetype::Error>`
found type `{integer}`
I've tested this on rustc 1.78.0 stable and nightly, and on Martin v0.13, 0.12, and 0.11 on a fresh Ubuntu 22.04 install (via cargo install --version=^0.11/12/13 martin), all of which are thowing the same error. This appears to be the same sort of error mode reported at huggingface/text-generation-inference#840 , although I don't believe Martin uses the tokenizers crate and I had trouble trying to find which dependency version might be the cause (maybe pbf_font_tools?).
Thanks for your consideration, and I can provide any add'l information, just let me know!
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently running into issues trying to install Martin locally using
cargo install
.I've tested this on
rustc 1.78.0
stable and nightly, and on Martin v0.13, 0.12, and 0.11 on a fresh Ubuntu 22.04 install (viacargo install --version=^0.11/12/13 martin
), all of which are thowing the same error. This appears to be the same sort of error mode reported at huggingface/text-generation-inference#840 , although I don't believe Martin uses thetokenizers
crate and I had trouble trying to find which dependency version might be the cause (maybepbf_font_tools
?).Thanks for your consideration, and I can provide any add'l information, just let me know!
The text was updated successfully, but these errors were encountered: