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

[Bug]: "No such file or directory" confusing error message #2

Closed
vepain opened this issue Jan 4, 2023 · 3 comments
Closed

[Bug]: "No such file or directory" confusing error message #2

vepain opened this issue Jan 4, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@vepain
Copy link

vepain commented Jan 4, 2023

What happened?

Running coverage works but not generating the report.

(coverage directory is created at the root, and profraw files are in each subdirectories)

=== running coverage ===

// test here

ok.
=== generating report ===
Error: No such file or directory (os error 2)

What type of Operating System?

Linux

Steps to produce this issue.

@vepain vepain added the bug Something isn't working label Jan 4, 2023
@PierreNeumann
Copy link

PierreNeumann commented Feb 7, 2023

Hi @vepain,
I got the same error because grcov was not installed.
try:
cargo install grcov

@RampedIndent
Copy link

can confirm the above fixed the error for me

RampedIndent added a commit to RampedIndent/xtaskops that referenced this issue Feb 10, 2023
I have written an error message to inform the user to install grcov if the coverage task fails, this should mitigate jondot#2
@vepain
Copy link
Author

vepain commented Feb 14, 2023

Thank you, I close this issue.

@vepain vepain closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants