We use Kani in zerocopy, and pass --package zerocopy in CI. However, on our 0.7 branch, we are encountering this failure:
error: There are multiple `zerocopy` packages in your project, and the specification `zerocopy` is ambiguous.
Please re-run this command with one of the following specifications:
path+file:///home/runner/work/zerocopy/zerocopy#0.7.35
registry+https://github.com/rust-lang/crates.io-index#zerocopy@0.7.35
error: Failed to execute cargo (exit status: 101). Found 0 compilation errors.
This seems to be due to Kani having a transitive dependency on zerocopy 0.7. However, Kani does not support passing either suggested syntax as an argument to the --package flag. If Kani supported --package path+file:///home/runner/work/zerocopy/zerocopy#0.7.35, it would allow us to fix this failure.
We use Kani in zerocopy, and pass
--package zerocopyin CI. However, on our 0.7 branch, we are encountering this failure:This seems to be due to Kani having a transitive dependency on zerocopy 0.7. However, Kani does not support passing either suggested syntax as an argument to the
--packageflag. If Kani supported--package path+file:///home/runner/work/zerocopy/zerocopy#0.7.35, it would allow us to fix this failure.