Skip to content

Implement opt-in debugger discovery for GDB and LLDB in bootstrap#159455

Merged
rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
Kobzol:bootstrap-discover-lldb
Jul 25, 2026
Merged

Implement opt-in debugger discovery for GDB and LLDB in bootstrap#159455
rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
Kobzol:bootstrap-discover-lldb

Conversation

@Kobzol

@Kobzol Kobzol commented Jul 17, 2026

Copy link
Copy Markdown
Member

View all comments

GDB and LLDB is no longer automatically auto-discovered, you can opt into the previous behavior using build.gdb/lldb = "discover".

Note: this means that unless you opt into using a specific debugger, you won't run any debuginfo tests by default (except for cdb, which is still automatically detected).

r? @jieyouxu

@rustbot

rustbot commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

This PR modifies bootstrap.example.toml.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

This PR modifies src/bootstrap/src/core/config.

If appropriate, please update CONFIG_CHANGE_HISTORY in src/bootstrap/src/utils/change_tracker.rs.

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 17, 2026
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jul 17, 2026
@rustbot

rustbot commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

jieyouxu is currently at their maximum review capacity.
They may take a while to respond.

@Kobzol
Kobzol force-pushed the bootstrap-discover-lldb branch from c870dc1 to 2ad24e5 Compare July 17, 2026 15:44
@rust-log-analyzer

This comment has been minimized.

Comment thread src/bootstrap/src/core/debuggers/gdb.rs Outdated
jieyouxu
jieyouxu previously approved these changes Jul 21, 2026

@jieyouxu jieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, only one nit.

NB: rust-lang/compiler-team#1012 has now been accepted.

View changes since this review

Comment thread src/bootstrap/src/utils/change_tracker.rs
@jieyouxu
jieyouxu dismissed their stale review July 21, 2026 09:27

(we still have to fix this for CI, didn't mean for this to be approving)

@Kobzol

Kobzol commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

Well, I guess that for now we just enable discover on CI.

@Kobzol
Kobzol force-pushed the bootstrap-discover-lldb branch from 3348b96 to e4587c6 Compare July 21, 2026 11:09
@rustbot rustbot added A-CI Area: Our Github Actions CI T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jul 21, 2026
@Kobzol

Kobzol commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

@bors try jobs=aarch64-apple

@rustbot

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jul 21, 2026
Implement opt-in debugger discovery for GDB and LLDB in bootstrap


try-job: aarch64-apple
@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 8bbb362 (8bbb362ac19cb2d2936b8fb3f895a41f50ddbe59)
Base parent: cde3f8a (cde3f8aee5a30928872e2438e3f18238a3fa306c)

@rust-bors

This comment has been minimized.

@Kobzol
Kobzol force-pushed the bootstrap-discover-lldb branch from 0245046 to 333b2d0 Compare July 22, 2026 06:29
@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Kobzol
Kobzol force-pushed the bootstrap-discover-lldb branch from 333b2d0 to bee55cf Compare July 22, 2026 06:49
@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot 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 Jul 25, 2026
@rust-bors

rust-bors Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 2e892ff failed: CI. Failed job:

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@jieyouxu

Copy link
Copy Markdown
Member

@bors retry

@rust-bors rust-bors Bot 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 Jul 25, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jul 25, 2026
Implement opt-in debugger discovery for GDB and LLDB in bootstrap



GDB and LLDB is no longer automatically auto-discovered, you can opt into the previous behavior using `build.gdb/lldb = "discover"`.

Note: this means that unless you opt into using a specific debugger, you won't run any `debuginfo` tests by default (except for `cdb`, which is still automatically detected).

r? @jieyouxu
@rust-bors rust-bors Bot 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 Jul 25, 2026
@rust-bors

rust-bors Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 52396cf failed: CI. Failed job:

@JonathanBrouwer

Copy link
Copy Markdown
Contributor

@bors retry
@bors p=1000

@rust-bors rust-bors Bot 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 Jul 25, 2026
@rust-bors

This comment has been minimized.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 25, 2026
@rust-bors

rust-bors Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: jieyouxu
Duration: 3h 18m 56s
Pushing 008fa22 to main...

@rust-bors
rust-bors Bot merged commit 008fa22 into rust-lang:main Jul 25, 2026
14 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor
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 da86f4d (parent) -> 008fa22 (this PR)

Test differences

Show 177 test diffs

Stage 2

  • [debuginfo-gdb] tests/debuginfo/associated-types.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#maximally-steppable: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/basic-stepping.rs#opt-level-0: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/basic-types-globals.rs#no-lto: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/basic-types-metadata.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/basic-types.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/borrowed-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/borrowed-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/borrowed-tuple.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/borrowed-unique-basic.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/boxed-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/by-value-non-immediate-argument.rs: ignore (ignored when the GDB version is lower than 13.0) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/c-style-enum-in-composite.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/captured-fields-1.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/closures.rs: ignore (debugger is not cdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-external-attr.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-no-attr.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-static.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr-flag.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-attr.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/collapse-debuginfo-with-yes-flag.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/constant-debug-locs.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/constant-ordering-prologue.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/coroutine-objects.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/cross-crate-spans.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/cross-crate-type-uniquing.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/destructured-fn-argument.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/destructured-local.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/duration-type.rs: ignore (debugger is not cdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/empty-string.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/enum-thinlto.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/extern-c-fn.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/f16-natvis.rs: ignore (only executed when the target environment is msvc) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/fixed-sized-array.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/function-arg-initialization.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/function-arguments.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/function-names.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/function-prologue-stepping-regular.rs: ignore (debugger is gdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/generic-enum-with-different-disr-sizes.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/generic-functions-nested.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/generic-static-method-on-struct-and-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/generic-struct-style-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/generic-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/include_string.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/issue-13213.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/issue-57822.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/issue-7712.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/lexical-scope-in-for-loop.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/lexical-scope-in-match.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/lexical-scope-in-parameterless-closure.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/lexical-scope-in-unconditional-loop.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/lexical-scope-with-macro.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/macro-stepping.rs#opt-level-0: ignore (ignored when the GDB version is lower than 13.0) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/marker-types.rs: ignore (debugger is not cdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/method-on-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/method-on-trait.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/method-on-tuple-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/msvc-pretty-enums.rs: ignore (debugger is gdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/msvc-scalarpair-params.rs: ignore (debugger is not cdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/multi-byte-chars.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/multi-cgu.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/multiple-functions.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/no_mangle-info.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/numeric-types.rs: ignore (only executed when the pointer width is 64bit) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/opt/dead_refs.rs: ignore (ignored when the GDB version is lower than 13.0) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/option-like-enum.rs: ignore (ignored when the GDB version is lower than 13.0) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/packed-struct-with-destructor.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/packed-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/path.rs: ignore (debugger is gdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/pretty-huge-vec.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/pretty-std.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/pretty-uninitialized-vec.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/range-types.rs: ignore (debugger is not cdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/recursive-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/recursive-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/regression-bad-location-list-67992.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/result-types.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/rwlock-write.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/self-in-generic-default-method.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/shadowed-argument.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/should-fail.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/simple-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/struct-in-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/struct-in-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/struct-namespace.rs: ignore (debugger is gdb) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/struct-style-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/struct-with-destructor.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/thread-names.rs#macos: ignore (only executed when the operating system is macos) -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/tuple-in-struct.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/tuple-style-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/type-names.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/union-smoke.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/unique-enum.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/unit-type.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/unsized.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/var-captured-in-nested-closure.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/var-captured-in-sendable-closure.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/vec-slices.rs: pass -> ignore (gdb is not available) (J0)
  • [debuginfo-gdb] tests/debuginfo/zst-interferes-with-prologue.rs: pass -> ignore (gdb is not available) (J0)

(and 73 additional test diffs)

Additionally, 4 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 008fa22ce3f8d3c8dfaca2e6486043c2b21851eb --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-gnu: 1h 30m -> 2h 19m (+55.2%)
  2. i686-gnu-1: 1h 31m -> 2h 12m (+44.5%)
  3. dist-i686-msvc: 1h 24m -> 2h 2m (+44.4%)
  4. test-various: 1h 28m -> 2h 5m (+41.6%)
  5. x86_64-gnu-miri: 1h 4m -> 1h 30m (+40.9%)
  6. i686-gnu-2: 1h 7m -> 1h 35m (+39.8%)
  7. dist-i686-mingw: 1h 59m -> 2h 42m (+36.5%)
  8. pr-check-1: 21m 22s -> 29m 9s (+36.4%)
  9. x86_64-gnu-next-trait-solver-polonius: 52m 54s -> 34m 12s (-35.3%)
  10. x86_64-gnu-llvm-21-1: 38m 54s -> 51m 44s (+33.0%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@Kobzol
Kobzol deleted the bootstrap-discover-lldb branch July 25, 2026 20:40
@Kobzol

Kobzol commented Jul 25, 2026

Copy link
Copy Markdown
Member Author

Wut, why did dist-i586-gnu-i586-i686-musl run tests, let alone debuginfo tests.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (008fa22): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

Results (secondary 4.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
4.4% [2.3%, 6.4%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 489.287s -> 489.346s (0.01%)
Artifact size: 387.73 MiB -> 387.69 MiB (-0.01%)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  COMMIT_MESSAGE: cargo update 
##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- Cargo-lock (ID: 8625700899, Size: 49499, Expected Digest: sha256:e29e9b3ab5bf8c868a9f3b5890f2995724a05894fdc4474e52905994fec8f3b5)
Redirecting to blob download url: https://productionresultssa15.blob.core.windows.net/actions-results/8056e999-2588-4d38-8189-2362701fda59/workflow-job-run-cf268f32-c596-5b8f-a96f-39be1618500c/artifacts/858175980ba8726bab9f963fd06060d5199d874bbd735e523e2d990d354f8c0b.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2399) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is e29e9b3ab5bf8c868a9f3b5890f2995724a05894fdc4474e52905994fec8f3b5
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
---
  COMMIT_MESSAGE: cargo update 
##[endgroup]
Downloading single artifact
Preparing to download the following artifacts:
- cargo-updates (ID: 8625701055, Size: 3159, Expected Digest: sha256:0eda881cdc4fa09eff10b7d38ffbd7ea6a47d393b4f0b99d273277d7f55d5548)
Redirecting to blob download url: https://productionresultssa15.blob.core.windows.net/actions-results/8056e999-2588-4d38-8189-2362701fda59/workflow-job-run-cf268f32-c596-5b8f-a96f-39be1618500c/artifacts/ce9034d4568b3430f906da1368ae1cf3e14ef1542859eb2e8d635c0876371f53.zip
Starting download of artifact to: /home/runner/work/rust/rust
(node:2411) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
SHA256 digest of downloaded artifact is 0eda881cdc4fa09eff10b7d38ffbd7ea6a47d393b4f0b99d273277d7f55d5548
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully
##[group]Run echo "${COMMIT_MESSAGE}" > commit.txt
echo "${COMMIT_MESSAGE}" > commit.txt
cat cargo_update.log >> commit.txt

echo "${PR_MESSAGE}" > body.md
echo '```txt' >> body.md
cat cargo_update.log >> body.md
echo '```' >> body.md
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
  COMMIT_MESSAGE: cargo update 
##[endgroup]
##[group]Run git config user.name github-actions
git config user.name github-actions
git config user.email github-actions@github.com
git switch --force-create cargo_update
git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
git commit --no-verify --file=commit.txt
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---
dep-bumps
following is the output from `cargo update`:
  COMMIT_MESSAGE: cargo update 
##[endgroup]
remote: error: GH013: Repository rule violations found for refs/heads/cargo_update.        
remote: Review all repository rules at https://github.com/rust-lang/rust/rules?ref=refs%2Fheads%2Fcargo_update        
remote: 
remote: - Cannot update this protected ref.        
remote: 
remote: - Changes must be made through a pull request.        
remote: 
remote: - Cannot force-push to this branch        
remote: 
To https://github.com/rust-lang/rust
 ! [remote rejected]   cargo_update -> cargo_update (push declined due to repository rule violations)
error: failed to push some refs to 'https://github.com/rust-lang/rust'
##[error]Process completed with exit code 1.
Post job cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. 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.

7 participants