Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rls no longer builds after rust-lang/rust#91539 #91543

Closed
rust-highfive opened this issue Dec 5, 2021 · 13 comments · Fixed by #92935
Closed

rls no longer builds after rust-lang/rust#91539 #91543

rust-highfive opened this issue Dec 5, 2021 · 13 comments · Fixed by #92935
Assignees
Labels
C-bug Category: This is a bug.
Milestone

Comments

@rust-highfive
Copy link
Collaborator

Hello, this is your friendly neighborhood mergebot.
After merging PR #91539, I observed that the tool rls no longer builds.
A follow-up PR to the repository https://github.com/rust-lang/rls is needed to fix the fallout.

cc @matthiaskrgr, do you think you would have time to do the follow-up work?
If so, that would be great!

@rust-highfive rust-highfive added A-rls C-bug Category: This is a bug. labels Dec 5, 2021
@matthiaskrgr
Copy link
Member

This might be due to #91355
rustc-ap-rustc_span v722.0.0 no longer builds:

error[E0635]: unknown feature `thread_local_const_init`
  --> /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rustc-ap-rustc_span-722.0.0/src/lib.rs:23:12
   |
23 | #![feature(thread_local_const_init)]
   |            ^^^^^^^^^^^^^^^^^^^^^^^

We need a new version I think.
The last published version of https://crates.io/crates/rustc-ap-rustc_span is 5 months old already 🤔
@alexcrichton Can you please check why there are no new rustc-ap versions being published?

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Dec 6, 2021
Update Clippy

Since RLS is now already broken rust-lang#91543 , we shouldn't be blocked by it anymore. I plan to do the RLS update once new rustc-ap packages are released.

r? `@Manishearth`
bors added a commit to rust-lang-ci/rust that referenced this issue Dec 7, 2021
Update Clippy

Since RLS is now already broken rust-lang#91543 , we shouldn't be blocked by it anymore. I plan to do the RLS update once new rustc-ap packages are released.

r? `@Manishearth`
@calebcartwright
Copy link
Member

alexcrichton Can you please check why there are no new rustc-ap versions being published?

https://github.com/alexcrichton/rustc-auto-publish/actions/workflows/main.yml

This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days. Enable this workflow to resume scheduled runs.

TIL scheduled GitHub Action Workflows apparently require regular activity in the repository to keep going 👀

@alexcrichton
Copy link
Member

I didn't realize anyone was still using those crates so I disabled the action, I believe it was broken anyway. Does rustfmt and/or other crates still use those crates.io packages? If so I can try to find time to restart the action.

@flip1995
Copy link
Member

Racer still uses those crates. And RLS depends on Racer. So without those crates compiling racer with the latest nightly isn't possible, which makes compiling RLS impossible and therefore blocks the sync of RLS back to rust-lang/rust.

@flip1995
Copy link
Member

Would it maybe be an option to make racer depend on rustc-dev to compile instead of publishing AP crates?

@calebcartwright
Copy link
Member

Does rustfmt and/or other crates still use those crates.io packages?

We stopped using them in rustfmt a while ago and I can't imagine a scenario where we'd switch back.

Agreed on racer, which AIUI is the last true direct consumer of those crates. However, it's also in maintenance mode and those crates only get bumped in racer when a racer consumer needs them to be bumped.

@alexcrichton
Copy link
Member

Ah ok. In that case if this is purely for something in maintenance mode I think my own personal tenure in maintaining these crates is over with, so I would prefer to hand over the reins to someone else. Would someone be willing to volunteer to take over these crates?

@Mark-Simulacrum
Copy link
Member

@alexcrichton let's sync up on #t-infra on Zulip -- I think it makes sense to move these crates into infra control/publication.

@flip1995
Copy link
Member

flip1995 commented Dec 13, 2021

Let's wait if Racer can move over to rustc-dev racer-rust/racer#1174. If so, there shouldn't be a need to keep maintaining rustc-ap crates at all. Looking at the dependents on crates.io, there really is only racer, the rustc-ap crates themselves and rustfmt-nightly (which by now uses rustc-dev).

@calebcartwright
Copy link
Member

#88867 has some relevant considerations as well. One way or another I think the AP crates need to be accounted for as per the accepted RFC, though it certainly would be a simpler story if they no longer need to be updated/published

@alexcrichton
Copy link
Member

Happy to coordinate as necessary, just let me know!

@ThatAnonyG
Copy link

Over a month now. Is this gonna be fixed?

@mati865
Copy link
Contributor

mati865 commented Jan 13, 2022

@ThatAnonyG it's blocked on racer-rust/racer#1174

@bors bors closed this as completed in 1fbd6ae Jan 17, 2022
calebcartwright referenced this issue in rust-lang/rustfmt Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants