cargo-fuzz icon indicating copy to clipboard operation
cargo-fuzz copied to clipboard

"could not decode the manifest file" error

Open sfackler opened this issue 7 years ago • 1 comments

After upgrading to the newest published cargo-fuzz, I'm now getting this error when running cargo fuzz run:

error: could not decode the manifest file at "/Volumes/git/epoch2/soho/Cargo.toml"  caused by: redefinition of table `package` for key `package` at line 35

The Cargo.toml that it's complaining about isn't 35 lines long, but the soho/fuzz/Cargo.toml is. Are they being concatenated or something?

sfackler avatar Jun 21 '18 21:06 sfackler

Ah it looks like this happens if you fun cargo-fuzz in the fuzz subdirectory instead of the crate itself.

sfackler avatar Jun 22 '18 14:06 sfackler