Repository navigation
Update cargo submodule - #163881
Update cargo submodule#163881
Conversation
|
6f20235 to
01febd5
Compare
|
@bors r+ rollup=never p=1 |
This comment has been minimized.
This comment has been minimized.
Update cargo submodule 11 commits in f3865b2a4d1acc5276f6b3c67d0e057f4dab3928..45c3aacf0e8dabdcdb6b7b518db100061d6367a7 2026-09-29 19:58:08 +0000 to 2026-10-06 16:29:08 +0000 - feat(pkgid-spec): Builtin package spec parsing and formatting (rust-lang/cargo#17539) - feat(hints): support minimum optimization levels (rust-lang/cargo#17368) - Use trusted publishing for Cargo crates (rust-lang/cargo#17426) - feat(trim-paths): stabilize `profile.trim-paths` (rust-lang/cargo#17488) - fix(pkgid): avoid panic on malformed protocol URLs (rust-lang/cargo#17548) - fix(git)!: Default to net.git-fetch-with-cli if git is present (rust-lang/cargo#17329) - Improved testsuite file permissions cleanup (rust-lang/cargo#17547) - docs(guide): Give an example of checking for stale lockfile (rust-lang/cargo#17546) - Add new peak memory table to cargo timings enabled via `-Zmem-stats` (rust-lang/cargo#17531) - docs(changlog): Update 1.100.0 to reflect a beta backport (rust-lang/cargo#17542) - feat(lint): Making the lint name a terminal hyperlink to docs (rust-lang/cargo#17538)
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #163881. |
This comment has been minimized.
This comment has been minimized.
Update cargo submodule 11 commits in f3865b2a4d1acc5276f6b3c67d0e057f4dab3928..45c3aacf0e8dabdcdb6b7b518db100061d6367a7 2026-09-29 19:58:08 +0000 to 2026-10-06 16:29:08 +0000 - feat(pkgid-spec): Builtin package spec parsing and formatting (rust-lang/cargo#17539) - feat(hints): support minimum optimization levels (rust-lang/cargo#17368) - Use trusted publishing for Cargo crates (rust-lang/cargo#17426) - feat(trim-paths): stabilize `profile.trim-paths` (rust-lang/cargo#17488) - fix(pkgid): avoid panic on malformed protocol URLs (rust-lang/cargo#17548) - fix(git)!: Default to net.git-fetch-with-cli if git is present (rust-lang/cargo#17329) - Improved testsuite file permissions cleanup (rust-lang/cargo#17547) - docs(guide): Give an example of checking for stale lockfile (rust-lang/cargo#17546) - Add new peak memory table to cargo timings enabled via `-Zmem-stats` (rust-lang/cargo#17531) - docs(changlog): Update 1.100.0 to reflect a beta backport (rust-lang/cargo#17542) - feat(lint): Making the lint name a terminal hyperlink to docs (rust-lang/cargo#17538)
|
It got stuck on the same jobs twice in a row, which may indicate a problem with the PR @bors r- |
|
This pull request was unapproved. Auto build was cancelled due to unapproval. Cancelled workflows: |
This comment has been minimized.
This comment has been minimized.
Update cargo submodule try-job: test-aarch64-gnu try-job: test-x86_64-gnu-aux
|
Stuck again. Something bad in Cargo? |
|
Yeah I think is is somehow caused by the PR, but I can't even see which test is stuck, this is so confusing |
|
LLM helped find it. It was caused by ssh CLI hanging. I am preparing a Cargo PR. Thanks Jonathan! |
01febd5 to
f61c7a6
Compare
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=test-aarch64-gnu,test-x86_64-gnu-aux |
Update cargo submodule try-job: test-aarch64-gnu try-job: test-x86_64-gnu-aux
This comment has been minimized.
This comment has been minimized.
|
@bors try cancel Ah, the fix commit hasn't yet included 😞 I thought it were. Sorry. |
|
Try build cancelled. Cancelled workflows: Hint: if you want to run another try build, you do not need to manually cancel the previous one. Just run |
f61c7a6 to
5e08891
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. |
|
Now it is really there @bors try jobs=test-aarch64-gnu,test-x86_64-gnu-aux |
Update cargo submodule try-job: test-aarch64-gnu try-job: test-x86_64-gnu-aux
This comment has been minimized.
This comment has been minimized.
### What does this PR try to resolve? rust-lang/rust#163881 (comment) Git CLI shelled out to ssh binary, but in bootstrap dist's docker image there was no ssh client, so it hung. This PR fixes a variety of tests we overlooked when changing the default. ### How to test and review this PR? 🤖 LLM disclosure: Bad tests were discovered by LLM, and changes were made by hands.
|
@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 36aeef3 (parent) -> 42cfc04 (this PR) Test differencesShow 23 test diffsStage 2
Additionally, 3 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 42cfc04deaa723bc21611f3f9d7c8651be6300df --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 (42cfc04): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 0.5%, secondary 1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -1.1%, secondary 5.0%)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: 490.639s -> 489.959s (-0.14%) |
…, r=Urgau debugger: stabilize trim-paths unremap file loading ## Stabilization report ### What is stabilized With trim-paths `object` scope and debuginfo on, Cargo writes `<artifact>.trim-paths.json`[^1] beside each final artifact. This "unremap" file, maps the remapped paths back to local ones. The file format and remapping rules are stabilized as part of FCP on Cargo side: rust-lang/cargo#17488 This stabilizes debugger script changes: `rust-gdb` and `rust-lldb` by default load `{gdb,lldb}_trim_paths.py`, which read the unremap files and apply them through GDB `substitute-path` or LLDB `target.source-map` to set up source file path substitutions. Note that we already apply an unremap for `/rustc/$RUSTC_COMMIT_HASH` paths, so it wouldn't be a new capability per se, just an extension of it. ### What changes * After stabilization, set `RUST_{GDB,LLDB}_TRIM_PATHS=0` to opt out. Before, it required `RUST_{GDB,LLDB}_TRIM_PATHS=unstable` to enable. * After stabilization, both scripts are shipped on all channels. Before, they were shipped only on nightly. ### Why we don't want to stabilize * This makes debugger scripts relying on Cargo-specific file format, inversing the dependency relation. * There is no integration test for them. (and debugger scripts actually don't have many tests) ### Docs See Cargo's the "Unremap files" section: <https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#unremap-files>. > The unremap file is in JSON format: > > * `v` carries the format version. > * `rust_version` and `workspace_root` are file-level metadata, namely the toolchain version and the workspace root. > * `remaps` is an array of records. Each record maps a sanitized path prefix in the artifact (`from`) back to the local path it replaced (`to`), ordered by the `from` prefix. Note that this follows the debugger substitution direction, which is the inverse of `--remap-path-prefix`. > > An example of the unremap file: > > ```json > { > "v": 1, > "rust_version": "1.96.0-nightly", > "workspace_root": "/home/me/app", > "remaps": [ > { "from": ".", "to": "/home/me/app" }, > { "from": "/cargo/build-dir", "to": "/home/me/app/target" }, > { "from": "/cargo/registry/6f17d22d3f0a95d1", "to": "/home/me/.cargo/registry/src/index.crates.io-6f17d22d3f0a95d1" }, > { "from": "/rustc/abc123", "to": "/home/me/.rustup/toolchains/nightly/lib/rustlib/src/rust" } > ] > } > ``` > > Since it is meant to be a debugging aid, it includes absolute paths of your system, so there is no artifact privacy guarantee. You might want to exclude `*.trim-paths.json` files when distributing artifacts. --- Should be shipped after <rust-lang#163881> (or along with that)
…, r=Urgau debugger: stabilize trim-paths unremap file loading ## Stabilization report ### What is stabilized With trim-paths `object` scope and debuginfo on, Cargo writes `<artifact>.trim-paths.json`[^1] beside each final artifact. This "unremap" file, maps the remapped paths back to local ones. The file format and remapping rules are stabilized as part of FCP on Cargo side: rust-lang/cargo#17488 This stabilizes debugger script changes: `rust-gdb` and `rust-lldb` by default load `{gdb,lldb}_trim_paths.py`, which read the unremap files and apply them through GDB `substitute-path` or LLDB `target.source-map` to set up source file path substitutions. Note that we already apply an unremap for `/rustc/$RUSTC_COMMIT_HASH` paths, so it wouldn't be a new capability per se, just an extension of it. ### What changes * After stabilization, set `RUST_{GDB,LLDB}_TRIM_PATHS=0` to opt out. Before, it required `RUST_{GDB,LLDB}_TRIM_PATHS=unstable` to enable. * After stabilization, both scripts are shipped on all channels. Before, they were shipped only on nightly. ### Why we don't want to stabilize * This makes debugger scripts relying on Cargo-specific file format, inversing the dependency relation. * There is no integration test for them. (and debugger scripts actually don't have many tests) ### Docs See Cargo's the "Unremap files" section: <https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#unremap-files>. > The unremap file is in JSON format: > > * `v` carries the format version. > * `rust_version` and `workspace_root` are file-level metadata, namely the toolchain version and the workspace root. > * `remaps` is an array of records. Each record maps a sanitized path prefix in the artifact (`from`) back to the local path it replaced (`to`), ordered by the `from` prefix. Note that this follows the debugger substitution direction, which is the inverse of `--remap-path-prefix`. > > An example of the unremap file: > > ```json > { > "v": 1, > "rust_version": "1.96.0-nightly", > "workspace_root": "/home/me/app", > "remaps": [ > { "from": ".", "to": "/home/me/app" }, > { "from": "/cargo/build-dir", "to": "/home/me/app/target" }, > { "from": "/cargo/registry/6f17d22d3f0a95d1", "to": "/home/me/.cargo/registry/src/index.crates.io-6f17d22d3f0a95d1" }, > { "from": "/rustc/abc123", "to": "/home/me/.rustup/toolchains/nightly/lib/rustlib/src/rust" } > ] > } > ``` > > Since it is meant to be a debugging aid, it includes absolute paths of your system, so there is no artifact privacy guarantee. You might want to exclude `*.trim-paths.json` files when distributing artifacts. --- Should be shipped after <rust-lang#163881> (or along with that)
Rollup merge of #163910 - weihanglo:trim-paths-stabilization, r=Urgau debugger: stabilize trim-paths unremap file loading ## Stabilization report ### What is stabilized With trim-paths `object` scope and debuginfo on, Cargo writes `<artifact>.trim-paths.json`[^1] beside each final artifact. This "unremap" file, maps the remapped paths back to local ones. The file format and remapping rules are stabilized as part of FCP on Cargo side: rust-lang/cargo#17488 This stabilizes debugger script changes: `rust-gdb` and `rust-lldb` by default load `{gdb,lldb}_trim_paths.py`, which read the unremap files and apply them through GDB `substitute-path` or LLDB `target.source-map` to set up source file path substitutions. Note that we already apply an unremap for `/rustc/$RUSTC_COMMIT_HASH` paths, so it wouldn't be a new capability per se, just an extension of it. ### What changes * After stabilization, set `RUST_{GDB,LLDB}_TRIM_PATHS=0` to opt out. Before, it required `RUST_{GDB,LLDB}_TRIM_PATHS=unstable` to enable. * After stabilization, both scripts are shipped on all channels. Before, they were shipped only on nightly. ### Why we don't want to stabilize * This makes debugger scripts relying on Cargo-specific file format, inversing the dependency relation. * There is no integration test for them. (and debugger scripts actually don't have many tests) ### Docs See Cargo's the "Unremap files" section: <https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#unremap-files>. > The unremap file is in JSON format: > > * `v` carries the format version. > * `rust_version` and `workspace_root` are file-level metadata, namely the toolchain version and the workspace root. > * `remaps` is an array of records. Each record maps a sanitized path prefix in the artifact (`from`) back to the local path it replaced (`to`), ordered by the `from` prefix. Note that this follows the debugger substitution direction, which is the inverse of `--remap-path-prefix`. > > An example of the unremap file: > > ```json > { > "v": 1, > "rust_version": "1.96.0-nightly", > "workspace_root": "/home/me/app", > "remaps": [ > { "from": ".", "to": "/home/me/app" }, > { "from": "/cargo/build-dir", "to": "/home/me/app/target" }, > { "from": "/cargo/registry/6f17d22d3f0a95d1", "to": "/home/me/.cargo/registry/src/index.crates.io-6f17d22d3f0a95d1" }, > { "from": "/rustc/abc123", "to": "/home/me/.rustup/toolchains/nightly/lib/rustlib/src/rust" } > ] > } > ``` > > Since it is meant to be a debugging aid, it includes absolute paths of your system, so there is no artifact privacy guarantee. You might want to exclude `*.trim-paths.json` files when distributing artifacts. --- Should be shipped after <#163881> (or along with that)
View all comments
15 commits in f3865b2a4d1acc5276f6b3c67d0e057f4dab3928..29c5daa1afc262323364e039bb70c83372cc702c
2026-09-29 19:58:08 +0000 to 2026-10-07 22:13:48 +0000
profile.trim-paths(feat(trim-paths): stabilizeprofile.trim-pathscargo#17488)-Zmem-stats(Add new peak memory table to cargo timings enabled via-Zmem-statscargo#17531)