Closed Antioxidantcoco closed 4 years ago
Hi @Antioxidantcoco - this is probably happening because you're getting a different version of the rust-htslib
crate. This can happen if you delete / edit the Cargo.lock
file (possibly by running cargo update
). If you revert the Cargo.lock
file, it should build.
Thank you @pmarks, I just tried to delete the entire source file and download from release page again, after I run cargo test --release, I could not compile the new source file. The error goes as following:
error: failed to get `rust-htslib` as a dependency of package `vartrix v1.1.14 (/Users/xxxx/vartrix-1.1.16)`
Caused by:
failed to load source for dependency `rust-htslib`
Caused by:
Unable to update https://github.com/rust-bio/rust-htslib.git?rev=37533bded4692a78cfe080378a09209b95dc3cca#37533bde
Caused by:
failed to update submodule `htslib`
Caused by:
failed to fetch submodule `htslib` from https://github.com/rust-bio/htslib.git
Caused by:
failed to authenticate when downloading repository
attempted to find username/password via git's `credential.helper` support, but failed
Caused by:
failed to acquire username/password from local configuration
In my gitconfig, it also have username and password inside
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = xxx
email = xxx
[credential]
helper = manager
[credentail]
useHttpPath = true
Hi, I'm on a Mac OS machine and after download all dependencies and compile vartrix, I get the following error, I hope to have some guidance error[E0308]: mismatched types --> src/main.rs:587:34