I always run rust-analyzer in a bwrap sandbox with network disabled; when I add crates I manually run cargo fetch outside the sandbox, and it had been working great. Recently I found calling tracing::info!
triggers errors from rust-analyzer, saying "unresolved macro line" --- I guess it may be complaining about std::line!
. I tried running rust-analyzer outside my sandbox once, and it appears to have downloaded something I'm not sure, and then those errors are gone, even with sandbox on again. The projects builds, so I must have all dependencies, so are there extra crates I need to fetch for rust-analyzer?
EDIT I looked for mtime=today in my ~/.cargo
, seems these crates were added today:
- compiler_builtins-0.1.123
- proc-macro2-1.0.89
- syn-2.0.85
- rand_xorshift-0.3.0
- cc-1.0.99
- pin-project-lite-0.2.15
Is compiler_builtins
than one? This does not appear in tracing
's dependency tree, however.