Skip to content

Unable to build/download rinex-cli #47

@protogeezer

Description

@protogeezer

All three attempts to obtain rinex-cli described on the website failed. If more detail would be helpful, please let me know.

Stephen

(1) there were no compiled versions of rinex-cli in the release portal

===================================================
(2) build from sources

(base) sjbespa@mbp-et gnsstools-rinex-cli % cargo install --all-features --path .
Installing rinex-cli v0.13.0 (/Users/sjbespa/work/tools/gnsstools-rinex-cli)
Updating crates.io index
Updating git repository https://github.com/nav-solutions/cggtts
Updating git submodule https://github.com/nav-solutions/data
Updating git repository ssh://git@github.com/nav-solutions/gnss-qc.git
error: failed to compile rinex-cli v0.13.0 (/Users/sjbespa/work/tools/gnsstools-rinex-cli), intermediate artifacts can be found at /Users/sjbespa/work/tools/gnsstools-rinex-cli/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Caused by:
failed to get gnss-qc as a dependency of package rinex-cli v0.13.0 (/Users/sjbespa/work/tools/gnsstools-rinex-cli)

Caused by:
failed to load source for dependency gnss-qc

Caused by:
Unable to update ssh://git@github.com/nav-solutions/gnss-qc.git?rev=8265828ee4c6ed1cfc6a3782962156a6858aea15

Caused by:
failed to clone into: /Users/sjbespa/.cargo/git/db/gnss-qc-19bdff61b590c37a

Caused by:
revision 8265828ee4c6ed1cfc6a3782962156a6858aea15 not found

Caused by:
failed to authenticate when downloading repository

  • attempted ssh-agent authentication, but no usernames succeeded: git

if the git CLI succeeds then net.git-fetch-with-cli may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
no authentication methods succeeded

====================================================
(3) Install from sources...

(base) sjbespa@mbp-et rinex-cli % cargo install rinex-cli
Updating crates.io index
Installing rinex-cli v0.12.1
Updating crates.io index
Locking 510 packages to latest compatible versions
Adding anise v0.5.4 (available: v0.9.5)
Adding generic-array v0.14.7 (available: v0.14.9)
Adding gnss-qc v0.0.2 (available: v0.4.0)
Adding gnss-rtk v0.7.6 (available: v0.8.0)
Adding itertools v0.13.0 (available: v0.14.0)
Adding maud v0.26.0 (available: v0.27.0)
Adding plotly v0.9.1 (available: v0.14.1)
Adding rinex v0.17.0-alpha-3 (available: v0.17.1)
Adding sp3 v1.1.0-alpha-2 (available: v1.4.1)
Adding thiserror v1.0.69 (available: v2.0.18)
Compiling proc-macro2 v1.0.106
...
Compiling git2 v0.20.4
Compiling nyx-space v2.3.0
Compiling gnss-rtk v0.7.6
error[E0308]: arguments to this method are incorrect
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gnss-rtk-0.7.6/src/navigation/mod.rs:141:25
|
141 | match cd[i].matrix_contribution(cfg, j, &mut y, &mut g, apriori) {
| ^^^^^^^^^^^^^^^^^^^
|
note: expected Matrix<f64, Const<8>, Const<1>, ...>, found a different Matrix<f64, Const<8>, Const<1>, ...>
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gnss-rtk-0.7.6/src/navigation/mod.rs:141:53
|
141 | match cd[i].matrix_contribution(cfg, j, &mut y, &mut g, apriori) {
| ^^^^^^
note: there are multiple different versions of crate nalgebra in the dependency graph
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.34.1/src/base/matrix.rs:178:1
|
178 | pub struct Matrix<T, R, C, S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type
|
::: /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.2/src/base/matrix.rs:174:1
|
174 | pub struct Matrix<T, R, C, S> {
| ----------------------------- this is the found type
= help: you can use cargo tree to explore your dependency tree
note: expected Matrix<f64, Const<8>, Const<8>, ...>, found a different Matrix<f64, Const<8>, Const<8>, ...>
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gnss-rtk-0.7.6/src/navigation/mod.rs:141:61
|
141 | match cd[i].matrix_contribution(cfg, j, &mut y, &mut g, apriori) {
| ^^^^^^
note: there are multiple different versions of crate nalgebra in the dependency graph
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.34.1/src/base/matrix.rs:178:1
|
178 | pub struct Matrix<T, R, C, S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type
|
::: /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.2/src/base/matrix.rs:174:1
|
174 | pub struct Matrix<T, R, C, S> {
| ----------------------------- this is the found type
= help: you can use cargo tree to explore your dependency tree
note: method defined here
--> /Users/sjbespa/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gnss-rtk-0.7.6/src/candidate.rs:308:19
|
308 | pub(crate) fn matrix_contribution(
| ^^^^^^^^^^^^^^^^^^^
...
312 | y: &mut OVector<f64, U8>,
| ------------------------
313 | g: &mut OMatrix<f64, U8, U8>,
| ----------------------------

For more information about this error, try rustc --explain E0308.
error: could not compile gnss-rtk (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile rinex-cli v0.12.1, intermediate artifacts can be found at /var/folders/3q/y5s7cdm97cv3ytyt8m5y3b9c0000gn/T/cargo-installebUvzF.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
(base) sjbespa@mbp-et rinex-cli %

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions