-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Do not deny warnings in "fast" try builds #140786
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
Conversation
@bors try (This should not fail) |
…r=<try> Do not deny warnings in "fast" try builds When we do the classic ``@bors` try` build without specifying `try-job` in the PR description, we want to get a compiler toolchain for perf./crater/local experimentation as fast as possible. We don't run any tests in that case, so it seems reasonable to also ignore warnings. Fixes: rust-lang#140753
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
9d6d892
to
09d13a0
Compare
@bors try |
…r=<try> Do not deny warnings in "fast" try builds When we do the classic ``@bors` try` build without specifying `try-job` in the PR description, we want to get a compiler toolchain for perf./crater/local experimentation as fast as possible. We don't run any tests in that case, so it seems reasonable to also ignore warnings. Fixes: rust-lang#140753
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
09d13a0
to
ed792d4
Compare
@bors try |
…r=<try> Do not deny warnings in "fast" try builds When we do the classic ``@bors` try` build without specifying `try-job` in the PR description, we want to get a compiler toolchain for perf./crater/local experimentation as fast as possible. We don't run any tests in that case, so it seems reasonable to also ignore warnings. Fixes: rust-lang#140753
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Ok, the try build succeeded even with an unused variable. Now trying a full try build, which should fail. @bors try |
ed792d4
to
082777e
Compare
Good, seems to work fine, on a full try build warnings are still denied. |
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in src/tools/opt-dist cc @Kobzol |
@rustbot ready |
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.
Looks good. Can you also document this "specialness" of default try job in the rustc-dev-guide? I imagine someone will definitely run into this some day and become very confused :D
r=me otherwise
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
Good point, added a mention there. Let me know if you find it OK. |
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 think this is worth trying, and wording looks good. Thanks!
@bors r+ rollup |
Actually, since this modifies CI itself |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing fe348cd (parent) -> 50aa041 (this PR) Test differencesNo test diffs found Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 50aa04180709189a03dde5fd1c05751b2625ed37 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (50aa041): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary 0.6%, secondary -3.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary -0.3%, secondary 2.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 771.734s -> 772.168s (0.06%) |
When we do the classic
@bors try
build without specifyingtry-job
in the PR description, we want to get a compiler toolchain for perf./crater/local experimentation as fast as possible. We don't run any tests in that case, so it seems reasonable to also ignore warnings.Fixes: #140753
r? @jieyouxu
try-job: dist-x86_64-linux