You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A few rust_analyzer crates seem stuck on older versions #23713
Hello. This issue is about the rust-analyzer crates published on crates.io, not about direct use of rust_analyzer.
We use rust_analyzer as a library for the Rust support in CodeQL. We noticed that a few rust_analyzer crates (ra_ap_load-cargo, ra_ap_project_model, and ra_ap_toolchain) seem to be stuck on an older 0.0.358 version from October 12, despite the other crates having several releases beyond that.
This prevents us from updating to newer versions, due to dependency incompatibilities with the older versions.
An case it's useful, below is a blurp I got from having an agent look into the issue. It seems to indicate that there is some issue with the auto-publishing:
The crates.io auto-publishing workflow has failed on every weekly run from October 19 through November 23, 2026. Some crates are published before the workflow fails, leaving downstream consumers unable to upgrade to a consistent set of ra_ap_* crates.
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
The diagnostic points to the #[salsa::tracked(...)] attribute in src/variance.rs:37, with an unexpected argument of type Option<&interner::StoredVariancesOf>. It identifies variances_of_cycle_initial at line 104 as the function being called. Package verification consequently fails, preventing publication of ra_ap_hir_ty and the remaining dependent crates.
Yeah, our publish workflow has been failing for various reasons. I've been fixing them (#23448, #23449, #23595, #23646 and #23708) but it failed for new reasons each time.
I guess the last one might have fixed it.
I think we should introduce some publish simulation step which runs on each PR or merge, though it can't prevent the publish failure due to breaking changes from upstream
Activity
ShoyuVanilla commentedon Nov 24, 2026
Yeah, our publish workflow has been failing for various reasons. I've been fixing them (#23448, #23449, #23595, #23646 and #23708) but it failed for new reasons each time.
I guess the last one might have fixed it.
ShoyuVanilla commentedon Nov 24, 2026
I think we should introduce some publish simulation step which runs on each PR or merge, though it can't prevent the publish failure due to breaking changes from upstream
paldepind commentedon Nov 24, 2026
Thanks for the reply @ShoyuVanilla. Good to know that progress is being made on this :)
lnicola commentedon Nov 24, 2026
There's also #23535
[rust2cpg] update astgen to 0.28.7, with rust-analyzer at 0.0.358. (#…
lnicola commentedon Nov 30, 2026
Fixed in #23745, #23747, #23748 and #23749.