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

fix(bootstrap): rename exclude flag to skip 🐛 #114001

Merged
merged 1 commit into from
Aug 10, 2023
Merged

fix(bootstrap): rename exclude flag to skip 🐛 #114001

merged 1 commit into from
Aug 10, 2023

Conversation

meysam81
Copy link
Contributor

@meysam81 meysam81 commented Jul 24, 2023

fixes #111894

@rustbot
Copy link
Collaborator

rustbot commented Jul 24, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @clubby789 (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jul 24, 2023
@rust-log-analyzer

This comment has been minimized.

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jul 24, 2023
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@meysam81
Copy link
Contributor Author

@clubby789

Would you take a look at this PR when you get some time?

Regards.

@bors
Copy link
Contributor

bors commented Jul 29, 2023

☔ The latest upstream changes (presumably #114148) made this pull request unmergeable. Please resolve the merge conflicts.

@clubby789
Copy link
Contributor

Apologies for not getting round to this yet. When you're rebasing to fix the merge conflicts, would you mind squashing your commits into one?

@rustbot rustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustdoc-json Area: Rustdoc JSON backend A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic T-style Relevant to the style team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jul 30, 2023
@rustbot
Copy link
Collaborator

rustbot commented Jul 30, 2023

These commits modify compiler targets.
(See the Target Tier Policy.)

This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp.

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

Some changes might have occurred in exhaustiveness checking

cc @Nadrieril

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

Some changes occurred in abstract_const.rs

cc @BoxyUwU

The Miri subtree was changed

cc @rust-lang/miri

Some changes occurred in src/tools/cargo

cc @ehuss

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

rustc_error_messages was changed

cc @davidtwco, @compiler-errors, @JohnTitor, @TaKO8Ki

This PR changes Stable MIR

cc @oli-obk, @celinval, @spastorino

Some changes occurred in src/doc/style-guide

cc @rust-lang/style

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

Some changes occurred in src/librustdoc/clean/types.rs

cc @camelid

Some changes occurred in src/tools/rustfmt

cc @rust-lang/rustfmt

Some changes occurred in src/tools/rust-analyzer

cc @rust-lang/rust-analyzer

@meysam81
Copy link
Contributor Author

I wonder @clubby789, why contributors would need to squash their commits in a pull request when GitHub already gives you the option to do that upon merging (as shown in the screenshot below).
image

@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member

Merging using the GitHub interface means that if two PRs pass the tests individually but together break, you would be allowed to merge both and break the master branch instead of getting a test failure. There is an option to "require pull requests be up to date before merging" in GitHub but it is brutal to use even on repos much less active than this one.

So Rust uses bors: https://graydon2.dreamwidth.org/1597.html

@bors
Copy link
Contributor

bors commented Jul 31, 2023

☔ The latest upstream changes (presumably #114126) made this pull request unmergeable. Please resolve the merge conflicts.

@rust-log-analyzer

This comment has been minimized.

@clubby789
Copy link
Contributor

I think it would be a good idea to alias exclude to skip to not break existing workflows, but otherwise lgtm

@meysam81
Copy link
Contributor Author

@clubby789
I searched through the directories recursively for all occurrences.
Unless there's a use for it outside this repository (maybe in a submodule).

@clubby789
Copy link
Contributor

I mean for downstream users, i.e. developers/distros

@bors
Copy link
Contributor

bors commented Jul 31, 2023

☔ The latest upstream changes (presumably #113592) made this pull request unmergeable. Please resolve the merge conflicts.

@joshtriplett
Copy link
Member

AFAICT this got mislabeled as T-style (and other things) because it appeared to touch a bunch of files that it no longer touches.

@joshtriplett joshtriplett removed the T-style Relevant to the style team, which will review and decide on the PR/issue. label Aug 2, 2023
@bors
Copy link
Contributor

bors commented Aug 5, 2023

⌛ Testing commit 74022cec712e25257a9303a55ebde53f11634138 with merge a4e1c091f15040db57b63680d73e08fd7083eea6...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 5, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 5, 2023
@meysam81
Copy link
Contributor Author

meysam81 commented Aug 6, 2023

@bors try

@bors
Copy link
Contributor

bors commented Aug 6, 2023

@meysam81: 🔑 Insufficient privileges: not in try users

@meysam81
Copy link
Contributor Author

meysam81 commented Aug 6, 2023

The failing test is passing locally, as seen in the snippet below. What should I do to reproduce/rerun this? @clubby789

$ time x test tests/run-pass-valgrind/cleanup-auto-borrow-obj.rs

...truncated

Testing stage1 compiletest suite=run-pass-valgrind mode=run-pass-valgrind (x86_64-unknown-linux-gnu)                   
                                                                                                                       
running 1 tests                                                                                                        
.                                                                                                                      
                                                                                                                       
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 16 filtered out; finished in 69.17ms                       
                                                                                                                       
Build completed successfully in 0:01:52                                                                                
                                                                                                                       
real    1m52.257s                                                                                                      
user    7m37.223s                                                                                                      
sys     0m54.704s                                                                                                      

@lnicola
Copy link
Member

lnicola commented Aug 6, 2023

@bors try

@bors
Copy link
Contributor

bors commented Aug 6, 2023

⌛ Trying commit 0b16456 with merge 04e28cdeb4242f58e7993862065f7ebc0e8fca4f...

@bors
Copy link
Contributor

bors commented Aug 6, 2023

☀️ Try build successful - checks-actions
Build commit: 04e28cdeb4242f58e7993862065f7ebc0e8fca4f (04e28cdeb4242f58e7993862065f7ebc0e8fca4f)

@klensy
Copy link
Contributor

klensy commented Aug 6, 2023

This is spurious error. no need to fix anything, failed with Connection reset by peer (os error 104)', src/tools/remote-test-client/src/main.rs:310:9

@meysam81
Copy link
Contributor Author

meysam81 commented Aug 6, 2023

Alright then, would someone pls approve this before another mishappen occurs pls 🙏

@lnicola
Copy link
Member

lnicola commented Aug 6, 2023

@meysam81 I have bors rights, but I don't normally merge PRs here, so let's wait for clubby789.

@meysam81
Copy link
Contributor Author

meysam81 commented Aug 9, 2023

@clubby789
any update on this?

@clubby789
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Aug 9, 2023

📌 Commit 0b16456 has been approved by clubby789

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 9, 2023
@bors
Copy link
Contributor

bors commented Aug 10, 2023

⌛ Testing commit 0b16456 with merge abc910b...

@bors
Copy link
Contributor

bors commented Aug 10, 2023

☀️ Test successful - checks-actions
Approved by: clubby789
Pushing abc910b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 10, 2023
@bors bors merged commit abc910b into rust-lang:master Aug 10, 2023
@rustbot rustbot added this to the 1.73.0 milestone Aug 10, 2023
@meysam81 meysam81 deleted the issue-111894-fix branch August 10, 2023 07:16
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (abc910b): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.1% [-1.1%, -1.1%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -1.1% [-1.1%, -1.1%] 1

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 633.485s -> 632.664s (-0.13%)

@lcnr lcnr removed the WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustdoc-json Area: Rustdoc JSON backend A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bootstrap: make --exclude consistent with --skip in libtest