Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Rollup of 7 pull requests - #139536

Merged
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald
Apr 9, 2025
Merged

Rollup of 7 pull requests#139536
bors merged 20 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-j6goald

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

lcnrand others added 20 commits April 7, 2025 12:19
we already track this info in the `definitions` field
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior.
Also, do not lose diagnostics with an empty message.
This catches some silly notes emitted by rustc, which should ideally be fixed
This also fixes markdown rendering
….kind()`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
rm `RegionInferenceContext::var_infos`
we already track this info in the `definitions` field
r? types
…obk,jieyouxu
compiletest: Stricter parsing for diagnostic kinds
Non-controversial parts of rust-lang#139427 not requiring many changes in the test suite.
r? ``@jieyouxu``
Update books
## rust-lang/reference
12 commits in e95ebdfee02514d93f79ec92ae310a804e87f01f..46435cd4eba11b66acaa42c01da5c80ad88aee4b
2025-04-07 14:21:21 UTC to 2025-03-25 20:13:17 UTC
- Update book.toml fix the authors field (rust-lang/reference#1780)
- Update precedence table for borrow operators (rust-lang/reference#1776)
- Add the ability for rules to be specified in link definitions (rust-lang/reference#1775)
- Rework trait parameter patterns (rust-lang/reference#1771)
- Fix header rules (rust-lang/reference#1770)
- Add test wrappers (rust-lang/reference#1774)
- Update tools to Rust 2024 (rust-lang/reference#1773)
- Define byte (rust-lang/reference#1772)
- Fix CSS for new footnote style (rust-lang/reference#1777)
- do not reference LLVM in our definition of UB (rust-lang/reference#1750)
- Tweak reference for precise capturing in traits (rust-lang/reference#1769)
- Add edition admonitions (rust-lang/reference#1764)
## rust-lang/rust-by-example
2 commits in 6f69823c28ae8d929d6c815181c73d3e99ef16d3..0d7964d5b22cf920237ef1282d869564b4883b88
2025-04-07 11:19:31 UTC to 2025-03-29 02:25:52 UTC
- Rename count to index for clarity (rust-lang/rust-by-example#1920)
- Fixing grammar in panic section (rust-lang/rust-by-example#1916)
document panic behavior of Vec::resize and Vec::resize_with
This adds panic documentation to ´Vec::resize´ and ´Vec::resize_with´. Fixesrust-lang#117437.
…rflow, r=lcnr
Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types
This fixes several spicy non-trivial recursive opaque definitions inferred from HIR typeck, ensuring that they don't cause stack overflows in exhaustiveness code, which currently reveals opaques manually in a way that is not overflow aware (as opposed to something like the normalizer folders).
These should eventually be outright rejected, but today (some) non-trivial recursive opaque definitions are accepted, and changing that requires an FCP, so for now just make sure we don't stack overflow :^)
Fixesrust-lang#139402
r? lcnr
clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`
Closesrust-lang#139359
r? `@lcnr`
@rustbotrustbot added A-compiletest Area: The compiletest test runner 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

  • These commits modify submodules.

@rustbotrustbot added the rollup A PR which is a rollup label Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 1cbf8b5 has been approved by matthiaskrgr

It is now in the queue for this repository.

@borsbors 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 Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge b258537...

bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 8, 2025
…iaskrgr
Rollup of 7 pull requests
Successful merges:
- rust-lang#139476 (rm `RegionInferenceContext::var_infos`)
- rust-lang#139485 (compiletest: Stricter parsing for diagnostic kinds)
- rust-lang#139491 (Update books)
- rust-lang#139500 (document panic behavior of Vec::resize and Vec::resize_with)
- rust-lang#139501 (Fix stack overflow in exhaustiveness due to recursive HIR opaque hidden types)
- rust-lang#139504 (add missing word in doc comment)
- rust-lang#139509 (clean: remove Deref<Target=RegionKind> impl for Region and use `.kind()`)
r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-mingw-1 failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:
---- [assembly] tests\assembly\targets\targets-macho.rs#aarch64_apple_tvos stdout ----
error in revision `aarch64_apple_tvos`: auxiliary build of "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" failed to compile: status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.3.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.21.13\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\hostedtoolcache\windows\Ruby\3.0.7\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.442-6\x64\bin;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\auxiliary\\minicore.rs" "-Zthreads=1" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=C:\\Users\\runneradmin\\.cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=D:\\a\\rust\\rust\\vendor" "--sysroot" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2" "--cfg" "aarch64_apple_tvos" "--check-cfg" "cfg(test,FALSE,aarch64_apple_darwin,aarch64_apple_ios,aarch64_apple_ios_macabi,aarch64_apple_ios_sim,aarch64_apple_tvos,aarch64_apple_tvos_sim,arm64e_apple_tvos,aarch64_apple_watchos,aarch64_apple_watchos_sim,arm64_32_apple_watchos,aarch64_apple_visionos,aarch64_apple_visionos_sim,arm64e_apple_darwin,arm64e_apple_ios,armv7k_apple_watchos,armv7s_apple_ios,i386_apple_ios,i686_apple_darwin,x86_64_apple_darwin,x86_64_apple_ios,x86_64_apple_ios_macabi,x86_64_apple_tvos,x86_64_apple_watchos_sim,x86_64h_apple_darwin)" "-O" "-Cdebug-assertions=no" "-C" "prefer-dynamic" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\assembly\\targets\\targets-macho.aarch64_apple_tvos\\libminicore.rlib" "-A" "unused" "-A" "internal_features" "-Crpath" "-Cdebuginfo=0" "--target" "aarch64-apple-tvos" "-Cpanic=abort" "--crate-type" "rlib" "-Cpanic=abort"
stdout: none
--- stderr -------------------------------
error: couldn't create a temp dir: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcECAiCb"
error: aborting due to 1 previous error
------------------------------------------
---
test result: FAILED. 494 passed; 1 failed; 43 ignored; 0 measured; 0 filtered out; finished in 24.06s
Some tests failed in compiletest suite=assembly mode=assembly host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 1:37:23
make: *** [Makefile:124: ci-mingw-x] Error 1
local time: Tue Apr 8 20:59:26 CUT 2025
network time: Tue, 08 Apr 2025 20:59:27 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Apr 8, 2025
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors retry

@borsbors 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 Apr 8, 2025
@matthiaskrgrmatthiaskrgr added CI-spurious-fail-msvc CI spurious failure: target env msvc CI-spurious-fail-mingw CI spurious failure: target env mingw and removed CI-spurious-fail-msvc CI spurious failure: target env msvc labels Apr 8, 2025
@bors

bors commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 1cbf8b5 with merge de5b8a4...

@bors

bors commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing de5b8a4 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Apr 9, 2025
@bors
bors merged commit de5b8a4 into rust-lang:masterApr 9, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 9, 2025
@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 d4f880f (parent) -> de5b8a4 (this PR)

Test differences

Show 142 test diffs

Stage 1

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J0)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/impl-trait/recursive-in-exhaustiveness.rs#next: [missing] -> pass (J1)

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

Job group index

  • J0: x86_64-gnu-llvm-19-3
  • J1: aarch64-apple, aarch64-gnu, arm-android, armhf-gnu, dist-i586-gnu-i586-i686-musl, i686-gnu-1, i686-gnu-nopt-1, i686-msvc-1, test-various, x86_64-apple-2, x86_64-gnu, x86_64-gnu-llvm-19-1, x86_64-gnu-llvm-19-2, x86_64-gnu-nopt, x86_64-gnu-stable, x86_64-mingw-1, x86_64-msvc-1

Job duration changes

  1. x86_64-apple-2: 3880.2s -> 5557.9s (43.2%)
  2. dist-x86_64-apple: 9468.0s -> 11839.2s (25.0%)
  3. dist-s390x-linux: 5371.1s -> 6276.4s (16.9%)
  4. x86_64-gnu-aux: 6052.4s -> 6504.5s (7.5%)
  5. x86_64-apple-1: 8293.0s -> 8732.9s (5.3%)
  6. dist-android: 2540.5s -> 2655.5s (4.5%)
  7. x86_64-msvc-1: 8600.3s -> 8936.3s (3.9%)
  8. x86_64-msvc-ext2: 5820.3s -> 6045.0s (3.9%)
  9. dist-aarch64-msvc: 8391.7s -> 8707.6s (3.8%)
  10. dist-i586-gnu-i586-i686-musl: 5173.5s -> 5365.7s (3.7%)
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.

@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#139476rm RegionInferenceContext::var_infosf0f43929a0bc91cae7e4a6ab0ed02b85d3fc1e57 (link)
#139485compiletest: Stricter parsing for diagnostic kindsee0632043069bbf6dd791501a579f8a728698f7f (link)
#139491Update booksc3f3e68afe4fa031eb2b434ae8a79075b678f5d6 (link)
#139500document panic behavior of Vec::resize and Vec::resize_with9cb3732f8faef45beba8778d7e8370805edb0a47 (link)
#139501Fix stack overflow in exhaustiveness due to recursive HIR o…38e7ee23825e8e60e2fdaee3b16b253f6baa1c57 (link)
#139504add missing word in doc comment5dc90f81e8bdfa5e2a4d546b0aa60239503f5677 (link)
#139509clean: remove Deref<Target=RegionKind> impl for Region and …9ecbcfed6bb8d31a9c6c800bd5523f045da65a3e (link)

previous master: d4f880f8ce

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (de5b8a4): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 2.7%, secondary -4.0%)

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.

meanrangecount
Regressions ❌
(primary)
3.4%[2.1%, 7.2%]6
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.6%[-1.6%, -1.6%]1
Improvements ✅
(secondary)
-4.0%[-4.0%, -4.0%]1
All ❌✅ (primary)2.7%[-1.6%, 7.2%]7

Cycles

Results (secondary -2.0%)

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.1%, 2.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-3.4%[-6.3%, -1.8%]3
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 780.796s -> 778.068s (-0.35%)
Artifact size: 366.15 MiB -> 366.11 MiB (-0.01%)

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

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcCI-spurious-fail-mingwCI spurious failure: target env mingwmerged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@matthiaskrgr@rustbot@bors@rust-log-analyzer@rust-timer@lcnr@petrochenkov@jogru0@compiler-errors@tshepang@xizheyin