Update cargo submodule - #161789
Update cargo submodule#161789
Conversation
|
|
@bors r+ rollup=never p=1 |
This comment has been minimized.
This comment has been minimized.
Update cargo submodule 7 commits in e8cb624d5701824f46a2ec5873cfd59ee3d2f66c..94ba974179df2adb3c911fadf361f03b84aa8f14 2026-08-22 00:23:45 +0000 to 2026-08-25 18:16:11 +0000 - feat(diag): Stabilize cargo-lints (rust-lang/cargo#17298) - chore(deps): Update partial_ref to v0.3.4 (rust-lang/cargo#17392) - refactor: remove ad-hoc `subslice_range` (rust-lang/cargo#17390) - docs(changelog): move build-dir new layout to Changed (rust-lang/cargo#17387) - chore(deps): update msrv (1 version) to v1.98 (rust-lang/cargo#17386) - docs: Use mdbook admonitions (rust-lang/cargo#17384) - chore(ci): exclude resolver-tests from intra doc link checks (rust-lang/cargo#17385)
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 4b7a1b9 failed: CI. Failed job:
|
|
Fist blood! |
|
Okay so
|
The different cargo between bootstrap and opt-dist may become an annoying issue in the future whenever Cargo adds a new lint. |
|
Can we just allow all Cargo lints during the |
Hmm…, there is no environment variable can do that as of now except And if we suppress Cargo lints in opt-dist, we still anyway need to fix those whenever that nightly got promoted to beta, which is a bit better but still annoying for beta bump PR. How does rust-lang/rust deal with clippy lints in general? Does it apply only stable lints from nightly clippy? |
|
We only enable a small subset of Clippy lints, and bump those manually (which doesn't happen often). |
chore: fix cargo lints Fixes two cargo lint erros found during <rust-lang#161789 (comment)>. See each commit message respectively for details.
chore: fix cargo lints Fixes two cargo lint erros found during <rust-lang#161789 (comment)>. See each commit message respectively for details.
chore: fix cargo lints Fixes two cargo lint erros found during <rust-lang#161789 (comment)>. See each commit message respectively for details.
…ieyouxu rustdoc: fix lint `cargo::non_kebab_case_bins` ``` warning: binary `rustdoc_tool_binary` should have a kebab-case name | 1 | /checkout/obj/build/x86_64-unknown-linux-gnu/bootstrap-tools/.../rustdoc_tool_binary | ^^^^^^^^^^^^^^^^^^^ | = note: `cargo::non_kebab_case_bins` is set to `warn` by default help: to change the binary name to `rustdoc-tool-binary`, convert `bin.name` --> src/tools/rustdoc/Cargo.toml:10:8 | 10 - name = "rustdoc_tool_binary" 10 + name = "rustdoc-tool-binary" | warning: `rustdoc-tool` (manifest) generated 1 warning ``` See <https://triage.rust-lang.org/gha-logs/rust-lang/rust/98030530980#L2026-08-26T03:05:00.5389265Z-L2026-08-26T03:05:00.5392627Z> This was found in <rust-lang#161789>.
Rollup merge of #161842 - weihanglo:cargo-lints, r=jieyouxu chore: fix cargo lints Fixes two cargo lint erros found during <#161789 (comment)>. See each commit message respectively for details.
Rollup merge of #161843 - weihanglo:rustdoc-cargo-lints, r=jieyouxu rustdoc: fix lint `cargo::non_kebab_case_bins` ``` warning: binary `rustdoc_tool_binary` should have a kebab-case name | 1 | /checkout/obj/build/x86_64-unknown-linux-gnu/bootstrap-tools/.../rustdoc_tool_binary | ^^^^^^^^^^^^^^^^^^^ | = note: `cargo::non_kebab_case_bins` is set to `warn` by default help: to change the binary name to `rustdoc-tool-binary`, convert `bin.name` --> src/tools/rustdoc/Cargo.toml:10:8 | 10 - name = "rustdoc_tool_binary" 10 + name = "rustdoc-tool-binary" | warning: `rustdoc-tool` (manifest) generated 1 warning ``` See <https://triage.rust-lang.org/gha-logs/rust-lang/rust/98030530980#L2026-08-26T03:05:00.5389265Z-L2026-08-26T03:05:00.5392627Z> This was found in <#161789>.
This comment has been minimized.
This comment has been minimized.
3c7e104 to
d9cd2fe
Compare
This comment has been minimized.
This comment has been minimized.
d9cd2fe to
c800272
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors try jobs=dist-x86_64-linux |
This comment has been minimized.
This comment has been minimized.
Update cargo submodule try-job: dist-x86_64-linux
c800272 to
b3d2bc2
Compare
|
@bors r+ rollup=never p=1 |
This comment has been minimized.
This comment has been minimized.
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 fb9a338 (parent) -> 2e2b193 (this PR) Test differencesShow 33 test diffsStage 2
Additionally, 6 doctest diffs were found. These are ignored, as they are noisy. Job group index Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 2e2b193f8ada105f27608b7be81c293e0d7292cb --output-dir test-dashboardAnd 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 (2e2b193): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.1%, secondary 0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: missing data |
|
FWIW, this cargo submodule includes the cargo lints stabilization, which sets |
|
@rustbot label: +perf-regression-triaged |
View all comments
26 commits in e8cb624d5701824f46a2ec5873cfd59ee3d2f66c..b2e9d5f9db3fb1c454ab84f10c16508984a266e2
2026-08-22 00:23:45 +0000 to 2026-09-02 14:49:16 +0000
@rustbot merge/delegate(chore(triagebot): enable@rustbot merge/delegatecargo#17415)subslice_range(refactor: remove ad-hocsubslice_rangecargo#17390)