Spurious `can't find crate for retina_filtergen`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
When compiling the retina project, sometimes I get a strange error saying error[E0463]: can't find crate for retina_filtergen. It doesn't happen every time, and when it happens, I have a workaround (I expand every macro imported from this crate and remove filtergen dependency, build the project once, and then restore the original state and it works until next cargo clean) so it seems it is a compiler/cargo bug.
I was not able to find exact reproducing instructions, but I have a machine which it reliably happens on it and I can post more logs and artifacts if it helps. I have no idea why it happens, but if I want to guess, I think compiler/linker fails to build the filtergen crate without a visible error (maybe due its C dependencies) so cargo can't find it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure in the retina project with cargo clean and a normal build, preserving compiler, linker, and Cargo logs. Compare builds involving the filtergen crate and its C dependencies; done means producing a reliable minimal reproduction or identifying a clear failure diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100