Skip to content

Conversation

@Zalathar
Copy link
Contributor

@Zalathar Zalathar commented Oct 26, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Enselic and others added 4 commits October 25, 2025 11:05
…lathar

tests/debuginfo/closures.rs: Activate misspelled `cdb-check`

Split out from rust-lang#147799 because these seemingly simple corrections can turn out to be non-trivial. See rust-lang#147728 for example.
…ug-msg, r=Noratrieb,dianqk

Improve the ICE message for invalid nullary intrinsic calls

In rust-lang#148104, we found the panic message here rather confusing, and (if I'm reading the tea leaves right) that's because the intended audience for either side of the phrase is very different. I think this is more clear if/when this is encountered by users.

I expect this ICE to be hit in practice by people calling the `size_of` and `align_of` intrinsics, so it's now _kind of_ helpful for those users too.

The original effort to stop backends from needing to support nullary intrinsics added a note to all these const-only intrinsics, but when rust-lang#147793 ported two more the paragraph wasn't added. I've added it.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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. rollup A PR which is a rollup labels Oct 26, 2025
@Zalathar
Copy link
Contributor Author

Rollup of everything.

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Oct 26, 2025

📌 Commit 1bba204 has been approved by Zalathar

It is now in the queue for this repository.

@bors bors 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 Oct 26, 2025
@bors
Copy link
Collaborator

bors commented Oct 26, 2025

⌛ Testing commit 1bba204 with merge f7dc759...

bors added a commit that referenced this pull request Oct 26, 2025
Rollup of 2 pull requests

Successful merges:

 - #148097 (tests/debuginfo/closures.rs: Activate misspelled `cdb-check`)
 - #148118 (Improve the ICE message for invalid nullary intrinsic calls)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

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

---- [debuginfo-cdb] tests\debuginfo\closures.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\closures.rs` not found in debugger output. errors:
    (closures.rs:20) `simple_closure   [Type: closures::main::closure_env$5]`
the following subset of check directive(s) was found successfully:
    (closures.rs:10) `add_closure      [Type: closures::main::closure_env$0]`
    (closures.rs:11) `    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]`
    (closures.rs:13) `increment        [Type: closures::main::closure_env$1]`
    (closures.rs:14) `    [+0x000] _ref__count      : 0xc73beff454 : 2 [Type: int *]`
    (closures.rs:16) `consume_closure  [Type: closures::main::closure_env$2]`
    (closures.rs:17) `    [+0x000] x                : "" [Type: alloc::string::String]`
    (closures.rs:18) `    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]`
    (closures.rs:21) `    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]`
    (closures.rs:24) `first_closure    [Type: closures::main::closure_env$6]`
    (closures.rs:25) `    [+0x000] _ref__variable   : 0xc73beff578 : 1 [Type: int *]`
    (closures.rs:26) `    [+0x008] _ref__constant   : 0xc73beff57c : 2 [Type: int *]`
    (closures.rs:27) `    [+0x010] _ref__a_struct   : 0xc73beff580 [Type: closures::Struct *]`
    (closures.rs:28) `    [+0x018] _ref__struct_ref : 0xc73beff598 [Type: closures::Struct * *]`
    (closures.rs:29) `    [+0x020] _ref__owned_value : 0xc73beff5a0 [Type: int * *]`
    (closures.rs:32) `many_param_closure [Type: closures::main::closure_env$7]`
    (closures.rs:33) `    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]`
    (closures.rs:37) `generic_closure  [Type: closures::generic_func::closure_env$0<i32>]`
    (closures.rs:38) `    [+0x000] _ref__x          : 0xc73beff3c4 : 42 [Type: int *]`
    (closures.rs:41) `generic_closure  [Type: closures::generic_func::closure_env$0<ref$<str$> >]`
    (closures.rs:42) `    [+0x000] _ref__x          : 0xc73beff3b8 : "base_value" [Type: ref$<str$> *]`
    (closures.rs:45) `second_closure   [Type: closures::main::closure_env$8]`
    (closures.rs:46) `    [+0x000] _ref__variable   : 0xc73beff578 : 2 [Type: int *]`
    (closures.rs:47) `    [+0x008] _ref__constant   : 0xc73beff57c : 2 [Type: int *]`
    (closures.rs:48) `    [+0x010] _ref__a_struct   : 0xc73beff580 [Type: closures::Struct *]`
    (closures.rs:49) `    [+0x018] _ref__struct_ref : 0xc73beff598 [Type: closures::Struct * *]`
    (closures.rs:50) `    [+0x020] _ref__owned_value : 0xc73beff5a0 [Type: int * *]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage2\lib\rustlib\aarch64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\arm64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\a\rust\rust\build\aarch64-pc-windows-msvc\bootstrap-tools\aarch64-pc-windows-msvc\release\deps;C:\Program Files\Git\clangarm64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\citools\clang-rust\bin;C:\a\rust\rust\sccache;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.7.1\x64;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files (x86)\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\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.5\arm64\bin;C:\hostedtoolcache\windows\Python\3.12.10\arm64\Scripts;C:\hostedtoolcache\windows\Python\3.12.10\arm64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\21.0.8-9.0\aarch64\bin;C:\Program Files (x86)\ImageMagick-7.1.2-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\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;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:\Tools\Ninja;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.11\bin;C:\Program Files\LLVM\bin;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\clangarm64\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:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\arm64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\aarch64-pc-windows-msvc\\test\\debuginfo\\closures.cdb\\closures.debugger.script" "C:\\a\\rust\\rust\\build\\aarch64-pc-windows-msvc\\test\\debuginfo\\closures.cdb\\a.exe"
--- stdout -------------------------------

************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : true
   AllowNugetExeUpdate : true
   NonInteractiveNuget : true
   AllowNugetMSCredentialProviderInstall : true
   AllowParallelInitializationOfLocalRepositories : true

   EnableRedirectToV8JsProvider : false

   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.016 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 27

Microsoft (R) Windows Debugger Version 10.0.26100.1 ARM64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\debuginfo\closures.cdb\a.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
ModLoad: 00007ff6`d30e0000 00007ff6`d30ea000   a.exe   
ModLoad: 00007ffb`f89e0000 00007ffb`f8e0c000   ntdll.dll
ModLoad: 00007ffb`f8700000 00007ffb`f8868000   C:\Windows\System32\KERNEL32.DLL
ModLoad: 00007ffb`f42a0000 00007ffb`f4942000   C:\Windows\System32\KERNELBASE.dll
ModLoad: 00007ffb`f3730000 00007ffb`f3834000   C:\Windows\SYSTEM32\apphelp.dll
ModLoad: 00007ffb`f4b60000 00007ffb`f4d88000   C:\Windows\System32\ucrtbase.dll
ModLoad: 00007ffb`dca50000 00007ffb`dca84000   C:\Windows\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffb`88020000 00007ffb`88a1e000   C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage2\lib\rustlib\aarch64-pc-windows-msvc\lib\std-9454c5cbc17ee655.dll
ModLoad: 00007ffb`f5b30000 00007ffb`f5bf4000   C:\Windows\System32\WS2_32.dll
ModLoad: 00007ffb`f23b0000 00007ffb`f2400000   C:\Windows\SYSTEM32\USERENV.dll
ModLoad: 00007ffb`f7ae0000 00007ffb`f7ce3000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00007ffb`f3fe0000 00007ffb`f40c0000   C:\Windows\System32\bcryptprimitives.dll
(910.1d50): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x34:
00007ffb`f8b3beb4 d43e0000 brk         #0xF000
0:000> version
Windows 10 Version 26100 MP (4 procs) Free ARM 64-bit (AArch64)
Product: WinNt, suite: SingleUserTS
Edition build lab: 26100.1.arm64fre.ge_release.240331-1435
Build layer: DesktopEditions -> 26100.1.arm64fre.ge_release.240331-1435
Build layer: OnecoreUAP -> 26100.1.arm64fre.ge_release.240331-1435
Build layer: ShellCommon -> 26100.4656.arm64fre.ge_release_svc_im.250710-2016
Build layer: OSClient   -> 26100.4656.arm64fre.ge_release_svc_im.250710-2016
Debug session time: Sun Oct 26 11:12:34.268 2025 (UTC + 0:00)
System Uptime: 0 days 2:26:32.848
Process Uptime: 0 days 0:00:00.047
  Kernel time: 0 days 0:00:00.031
  User time: 0 days 0:00:00.000
Live user mode: <Local>

Microsoft (R) Windows Debugger Version 10.0.26100.1 ARM64
Copyright (c) Microsoft Corporation. All rights reserved.

command line: '"C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\cdb.exe" -lines -cf C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\debuginfo\closures.cdb\closures.debugger.script C:\a\rust\rust\build\aarch64-pc-windows-msvc\test\debuginfo\closures.cdb\a.exe'  Debugger Process 0x1738 
dbgeng:  image 10.0.26100.1, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\dbgeng.dll]
dbghelp: image 10.0.26100.4188, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\dbghelp.dll]
        DIA version: 33140
Extension DLL search Path:
    C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\WINXP;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\winext;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\winext\arcade;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\pri;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64;C:\Users\runneradmin\AppData\Local\Dbg\EngineExtensions;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64;C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage2\lib\rustlib\aarch64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\arm64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\HostARM64\arm64;C:\a\rust\rust\build\aarch64-pc-windows-msvc\bootstrap-tools\aarch64-pc-windows-msvc\release\deps;C:\Program Files\Git\clangarm64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\citools\clang-rust\bin;C:\a\rust\rust\sccache;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\3.7.1\x64;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files (x86)\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\usr\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.5\arm64\bin;C:\hostedtoolcache\windows\Python\3.12.10\arm64\Scripts;C:\hostedtoolcache\windows\Python\3.12.10\arm64;C:\hostedtoolcache\windows\Ruby\3.3.8\x64\bin;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\21.0.8-9.0\aarch64\bin;C:\Program Files (x86)\ImageMagick-7.1.2-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\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;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:\Tools\Ninja;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.11\bin;C:\Program Files\LLVM\bin;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\clangarm64\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:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
Extension DLL chain:
    dbghelp: image 10.0.26100.4188, API 10.0.6, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\dbghelp.dll]
    exts: image 10.0.26100.1, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\WINXP\exts.dll]
    uext: image 10.0.26100.1, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\winext\uext.dll]
    ntsdexts: image 10.0.26100.1, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\WINXP\ntsdexts.dll]
0:000> .nvlist
Loaded NatVis Files:
    <None Loaded>
0:000> bp `closures.rs:58`
*** WARNING: Unable to verify checksum for a.exe
Matched: a!closures::generic_func<i32>+0x20 (00007ff6`d30e25cc)
Matched: a!closures::generic_func<ref$<str$> >+0x24 (00007ff6`d30e261c)
Ambiguous symbol error at '`closures.rs:58`'
0:000> bp `closures.rs:117`
0:000> bp `closures.rs:127`
0:000> bp `closures.rs:135`
0:000> bp `closures.rs:147`
0:000> dx @$debuggerRootNamespace.Debugger.Settings.EngineInitialization.ResolveAmbiguousBreakpoints = true;
@$debuggerRootNamespace.Debugger.Settings.EngineInitialization.ResolveAmbiguousBreakpoints = true : true
0:000> bp `closures.rs:57`
*** WARNING: Unable to verify checksum for C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage2\lib\rustlib\aarch64-pc-windows-msvc\lib\std-9454c5cbc17ee655.dll
0:000> g
Result: 84
Closure with arg: 84
Result: 43
Breakpoint 0 hit
a!closures::main+0x18c:
00007ff6`d30e27d8 97ffff9c bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dx add_closure
add_closure      [Type: closures::main::closure_env$0]
    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]
0:000> dx increment
increment        [Type: closures::main::closure_env$1]
    [+0x000] _ref__count      : 0xc73beff454 : 2 [Type: int *]
0:000> dx consume_closure
consume_closure  [Type: closures::main::closure_env$2]
    [+0x000] x                : "" [Type: alloc::string::String]
    [+0x018] base_value       : 42 [Type: int]
0:000> dx simple_closure
simple_closure   [Type: closures::main::closure_env$5]
    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]
0:000> g
Breakpoint 1 hit
a!closures::main+0x1f0:
00007ff6`d30e283c 97ffff83 bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dx first_closure
first_closure    [Type: closures::main::closure_env$6]
    [+0x000] _ref__variable   : 0xc73beff578 : 1 [Type: int *]
    [+0x008] _ref__constant   : 0xc73beff57c : 2 [Type: int *]
    [+0x010] _ref__a_struct   : 0xc73beff580 [Type: closures::Struct *]
    [+0x018] _ref__struct_ref : 0xc73beff598 [Type: closures::Struct * *]
    [+0x020] _ref__owned_value : 0xc73beff5a0 [Type: int * *]
0:000> g
Breakpoint 2 hit
a!closures::main+0x20c:
00007ff6`d30e2858 97ffff7c bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dx many_param_closure
many_param_closure [Type: closures::main::closure_env$7]
    [+0x000] _ref__base_value : 0xc73beff450 : 42 [Type: int *]
0:000> g
Breakpoint 4 hit
a!closures::generic_func<i32>+0x20:
00007ff6`d30e25cc 9400001f bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dv
generic_closure = struct closures::generic_func::closure_env$0<i32>
              x = 0n42
0:000> dx generic_closure
generic_closure  [Type: closures::generic_func::closure_env$0<i32>]
    [+0x000] _ref__x          : 0xc73beff3c4 : 42 [Type: int *]
0:000> g
Breakpoint 5 hit
a!closures::generic_func<ref$<str$> >+0x24:
00007ff6`d30e261c 9400000b bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dx generic_closure
generic_closure  [Type: closures::generic_func::closure_env$0<ref$<str$> >]
    [+0x000] _ref__x          : 0xc73beff3b8 : "base_value" [Type: ref$<str$> *]
0:000> g
Breakpoint 3 hit
a!closures::main+0x2c4:
00007ff6`d30e2910 97ffff4e bl          a!closures::_zzz (00007ff6`d30e2648)
0:000> dx second_closure
second_closure   [Type: closures::main::closure_env$8]
    [+0x000] _ref__variable   : 0xc73beff578 : 2 [Type: int *]
    [+0x008] _ref__constant   : 0xc73beff57c : 2 [Type: int *]
    [+0x010] _ref__a_struct   : 0xc73beff580 [Type: closures::Struct *]
    [+0x018] _ref__struct_ref : 0xc73beff598 [Type: closures::Struct * *]
    [+0x020] _ref__owned_value : 0xc73beff5a0 [Type: int * *]
0:000> qq
quit:
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64\Visualizers\winrt.natvis'
------------------------------------------
stderr: none

---- [debuginfo-cdb] tests\debuginfo\closures.rs stdout end ----

---

Some tests failed in compiletest suite=debuginfo mode=debuginfo host=aarch64-pc-windows-msvc target=aarch64-pc-windows-msvc
Bootstrap failed while executing `test --stage 2 --skip=compiler --skip=src`
Build completed unsuccessfully in 1:18:22
make: *** [Makefile:112: ci-msvc-py] Error 1
  local time: Sun Oct 26 11:13:06 CUT 2025
  network time: Sun, 26 Oct 2025 11:13:07 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@bors
Copy link
Collaborator

bors commented Oct 26, 2025

💔 Test failed - checks-actions

@bors bors 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 Oct 26, 2025
@Zalathar Zalathar closed this Oct 26, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 26, 2025
@Zalathar Zalathar deleted the rollup-e0zlieo branch October 26, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants