-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[beta] Prepare beta 1.42.0 #68595
[beta] Prepare beta 1.42.0 #68595
Conversation
@bors r+ p=1000 rollup=never |
📌 Commit f63699d has been approved by |
⌛ Testing commit f63699d with merge 9753ac1ae40ac1f7c364f215d7a412f618bff65f... |
💔 Test failed - checks-azure |
@pietroalbini Can you add #68586 to the PR so that we can avoid having to beta-backport it? |
@bors retry Let's handle beta backports the normal way. |
⌛ Testing commit f63699d with merge b5258f87fe64ba129a30537d34a0fd6e11e6c091... |
💔 Test failed - checks-azure |
It seems like to be blocked by toolstate (CI says |
Yep, I tried it locally before retrying but it passed :/ @rust-lang/wg-rustfmt do you have any idea on the cause of the failure? |
At a glance, there're warnings which are only shown here, like:
So, |
|
||
# We use a nightly rustfmt to format the source because it solves some bootstrapping | ||
# issues with use of new syntax in this repo. If you're looking at the beta/stable branch, this key should be omitted, | ||
# as we don't want to depend on rustfmt from nightly there. | ||
rustfmt: nightly-2019-12-18 | ||
#rustfmt: nightly-2019-12-18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really not sure but this may cause the failure here? (Yeah, the comment says it should be omitted though.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this should not be responsible. The rustfmt here is purely for x.py fmt, it doesn't affect testing at all (we build a rustfmt from scratch from that).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, didn't know that. So it shouldn't be the cause...
Failing rustfmt tests should've been ignored on beta: https://github.com/rust-lang/rustfmt/blob/cc56957656ff9b14168805104f901b19550cea07/rustfmt-core/rustfmt-config/src/lib.rs#L481 There were few changes to EDIT: Looking at #68019 it seems to me compiletest could previously use unstable features but that is no longer the case. |
Compiletest wasn't used for these tests AFAICT, they're just regular https://github.com/rust-lang/rustfmt/blob/1838235248bbde125bbc6c12fb493e1979088bb5/src/config/mod.rs#L477-L482 is the source for the failing test_valid_license_template_path test, which does not have the gate you noted? I think you are pointing at the wrong commit unless I'm missing something. rustfmt on beta is at rust-lang/rustfmt@1838235 We probably do need that annotation though... |
I have no idea which of the system tests are failing though, nor do I know how to find out. rustfmt doesn't appear to log anywhere which one actually failed, which is super unhelpful. It could be more missing gating on instability, though. cc @topecongiro |
Yeah, you are right.
|
Okay, I bumped the rustfmt submodule to include a commit which backports rust-lang/rustfmt@f82171a (my impression is that this fixes the test failures). I also confirmed Cargo is sufficiently recent that we should avoid the main infinite loop bug. @bors r+ p=100 |
📌 Commit 278984a has been approved by |
[beta] Prepare beta 1.42.0 r? @ghost
☀️ Test successful - checks-azure |
r? @ghost