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

Cargo check fails with internal error #4188

Closed
matklad opened this issue Jun 18, 2017 · 5 comments
Closed

Cargo check fails with internal error #4188

matklad opened this issue Jun 18, 2017 · 5 comments
Labels
A-diagnostics Area: Error and warning messages generated by Cargo itself.

Comments

@matklad
Copy link
Member

matklad commented Jun 18, 2017

The error looks like this:

λ cargo check --all --verbose
error: dep-info not in an understood format: /home/matklad/projects/fall/target/debug/.fingerprint/fall_gen-1d7df0cac95e3081/dep-bin-gen-1d7df0cac95e3081

Removing .target directory fixes the error. I don't think I understand what caused the error originally.

@matklad matklad added the A-diagnostics Area: Error and warning messages generated by Cargo itself. label Jun 18, 2017
@alexcrichton
Copy link
Member

Do you have the original source code I could poke around with? I wonder if something got corrupted by accident...

@matklad
Copy link
Member Author

matklad commented Jun 19, 2017

No, I originally expected that this was due to upgrade from 1.17.0 to 1.18.0, so I deleted target and tried compiling with 17 and then switching to 18, but everything worked fine then, and I was unable to reproduce the error at all :(

@mrcnski
Copy link

mrcnski commented Feb 8, 2018

I just had the good luck to run into this. I was trying to build some changes I made to safe_authenticator.

❯ cargo test --verbose
error: dep-info not in an understood format: /Users/marcin/Dropbox/Work/maidsafe/safe_client_libs/target/debug/.fingerprint/safe_authenticator-151ddd9151afa849/dep-lib-safe_authenticator

The contents of the dep-lib-safe_authenticator file:

src/lib.rssrc/ffi/mod.rssrc/ffi/apps.rssrc/ffi/logging.rssrc/ffi/ipc.rssrc/access_container.rssrc/app_auth.rssrc/app_container.rssrc/config.rssrc/errors.rssrc/ipc.rssrc/revocation.rssrc/std_dirs.rssrc/test_utils.rs

@stale
Copy link

stale bot commented Sep 17, 2018

As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it.

I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect?

The team would be especially grateful if such a comment included details such as:

  • Is this still relevant?
  • If so, what is blocking it?
  • Is it known what could be done to help move this forward?

Thank you for contributing!

(The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.)

If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable!

@stale stale bot added the stale label Sep 17, 2018
@stale
Copy link

stale bot commented Oct 18, 2018

As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information!

@stale stale bot closed this as completed Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Error and warning messages generated by Cargo itself.
Projects
None yet
Development

No branches or pull requests

3 participants