Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install when fetching from Cargo #266

Open
vibhoothi opened this issue Feb 17, 2021 · 1 comment
Open

Failed to install when fetching from Cargo #266

vibhoothi opened this issue Feb 17, 2021 · 1 comment

Comments

@vibhoothi
Copy link
Contributor

vibhoothi commented Feb 17, 2021

When we try to install av-metrics with the help of the command
cargo install av-metrics-tool
it fails to install, error log

/home/mindfreeze/.cargo/registry/src/github.com-1ecc6299db9ec823/av-metrics
-tool-0.7.0/src/main.rs:359:34
    |
359 |	  fn calculate_video_metric<D: Decoder>(
    |				       ^^^^^^^ not found in this scope
    |
help: consider importing one of these items
    |
1   | use av_metrics::video::decode::Decoder;
    |
1   | use crate::decode::Decoder;
    |

error[E0405]: cannot find trait `Decoder` in this scope

Full Error Log: https://paste.debian.net/plain/1185456

When we clone and build it works fine.

At the same time when we try to install like cargo install av-metrics alone, it does not work as mentioned in the readme, it is advised to have av-metrics-tool. So if we fix the confusion of having two av-metrics when we try to fix it will be better.
error: specified package av-metrics v0.6.2 has no binaries

@lu-zero
Copy link
Member

lu-zero commented Feb 17, 2021

We should fix the av-metrics-tool version requirements and publish an update. Potentially we could rework the crates differently but that can be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants