Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABI checks: add support for some tier3 arches, warn on others. #133029

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

veluca93
Copy link
Contributor

@veluca93 veluca93 commented Nov 14, 2024

@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. labels Nov 14, 2024
"sparc" | "sparc64" => SPARC_FEATURES_FOR_CORRECT_VECTOR_ABI,
"hexagon" => HEXAGON_FEATURES_FOR_CORRECT_VECTOR_ABI,
"mips" | "mips32r6" | "mips64" | "mips64r6" => MIPS_FEATURES_FOR_CORRECT_VECTOR_ABI,
"bpf" => &[], // no vector ABI
Copy link
Member

Choose a reason for hiding this comment

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

specifically, it only has ten 64-bit GPRs (and a frame pointer which is read-only and may not be scratched).

Copy link
Member

@workingjubilee workingjubilee Nov 16, 2024

Choose a reason for hiding this comment

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

LLVM apparently generates a somewhat arbitrary on-stack ABI if presented with 6+ arguments (or crashes, depending on version?)

@@ -598,7 +598,12 @@ const S390X_FEATURES_FOR_CORRECT_VECTOR_ABI: &'static [(u64, &'static str)] = &[
const RISCV_FEATURES_FOR_CORRECT_VECTOR_ABI: &'static [(u64, &'static str)] =
&[/*(64, "zvl64b"), */ (128, "v")];
// Always warn on SPARC, as the necessary target features cannot be enabled in Rust at the moment.
const SPARC_FEATURES_FOR_CORRECT_VECTOR_ABI: &'static [(u64, &'static str)] = &[/*(128, "vis")*/];
const SPARC_FEATURES_FOR_CORRECT_VECTOR_ABI: &'static [(u64, &'static str)] = &[/*(64, "vis")*/];
Copy link
Member

Choose a reason for hiding this comment

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

Based on #131800 (comment) the situation is actually even weirder than what is described here, but it seems like we can cross that bridge when we come to it, still. The main purpose here of the comment was always to leave something to hit during grepping the codebase.

@workingjubilee
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Nov 16, 2024

📌 Commit 3d3b515 has been approved by workingjubilee

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 Nov 16, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 16, 2024
…jubilee

ABI checks: add support for some tier3 arches, warn on others.

Followup to
- rust-lang#132842
- rust-lang#132173
- rust-lang#131800

r? `@workingjubilee`
@bors
Copy link
Contributor

bors commented Nov 16, 2024

⌛ Testing commit 3d3b515 with merge f0eb1a5...

@rust-log-analyzer
Copy link
Collaborator

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

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

---- [debuginfo-cdb] tests\debuginfo\numeric-types.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\numeric-types.rs` not found in debugger output. errors:
    (numeric-types.rs:61) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i8>]`
    (numeric-types.rs:65) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i16>]`
    (numeric-types.rs:69) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i32>]`
    (numeric-types.rs:73) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i64>]`
    (numeric-types.rs:77) `w_i128           [Type: core::num::wrapping::Wrapping<i128>]`
    (numeric-types.rs:78) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<i128>]`
    (numeric-types.rs:82) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<isize>]`
    (numeric-types.rs:86) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u8>]`
    (numeric-types.rs:90) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u16>]`
    (numeric-types.rs:94) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u32>]`
    (numeric-types.rs:98) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u64>]`
    (numeric-types.rs:102) `w_u128           [Type: core::num::wrapping::Wrapping<u128>]`
    (numeric-types.rs:103) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<u128>]`
    (numeric-types.rs:107) `    [<Raw View>]     [Type: core::num::wrapping::Wrapping<usize>]`
    (numeric-types.rs:111) `    [<Raw View>]     [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:115) `    [<Raw View>]     [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:119) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI8]`
    (numeric-types.rs:123) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI16]`
    (numeric-types.rs:127) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI32]`
    (numeric-types.rs:131) `    [<Raw View>]     [Type: core::sync::atomic::AtomicI64]`
    (numeric-types.rs:135) `    [<Raw View>]     [Type: core::sync::atomic::AtomicIsize]`
    (numeric-types.rs:139) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU8]`
    (numeric-types.rs:143) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU16]`
    (numeric-types.rs:147) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU32]`
    (numeric-types.rs:151) `    [<Raw View>]     [Type: core::sync::atomic::AtomicU64]`
    (numeric-types.rs:155) `    [<Raw View>]     [Type: core::sync::atomic::AtomicUsize]`
the following subset of check directive(s) was found successfully:
    (numeric-types.rs:12) `nz_i8            : 11 [Type: core::num::nonzero::NonZero<i8>]`
    (numeric-types.rs:13) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i8>]`
    (numeric-types.rs:16) `nz_i16           : 22 [Type: core::num::nonzero::NonZero<i16>]`
    (numeric-types.rs:17) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i16>]`
    (numeric-types.rs:20) `nz_i32           : 33 [Type: core::num::nonzero::NonZero<i32>]`
    (numeric-types.rs:21) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i32>]`
    (numeric-types.rs:24) `nz_i64           : 44 [Type: core::num::nonzero::NonZero<i64>]`
    (numeric-types.rs:25) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i64>]`
    (numeric-types.rs:29) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<i128>]`
    (numeric-types.rs:32) `nz_isize         : 66 [Type: core::num::nonzero::NonZero<isize>]`
    (numeric-types.rs:33) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<isize>]`
    (numeric-types.rs:36) `nz_u8            : 0x4d [Type: core::num::nonzero::NonZero<u8>]`
    (numeric-types.rs:37) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u8>]`
    (numeric-types.rs:40) `nz_u16           : 0x58 [Type: core::num::nonzero::NonZero<u16>]`
    (numeric-types.rs:41) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u16>]`
    (numeric-types.rs:44) `nz_u32           : 0x63 [Type: core::num::nonzero::NonZero<u32>]`
    (numeric-types.rs:45) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u32>]`
    (numeric-types.rs:48) `nz_u64           : 0x64 [Type: core::num::nonzero::NonZero<u64>]`
    (numeric-types.rs:49) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u64>]`
    (numeric-types.rs:53) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<u128>]`
    (numeric-types.rs:56) `nz_usize         : 0x7a [Type: core::num::nonzero::NonZero<usize>]`
    (numeric-types.rs:57) `    [<Raw View>]     [Type: core::num::nonzero::NonZero<usize>]`
    (numeric-types.rs:60) `w_i8             : 10 [Type: core::num::wrapping::Wrapping<i8>]`
    (numeric-types.rs:64) `w_i16            : 20 [Type: core::num::wrapping::Wrapping<i16>]`
    (numeric-types.rs:68) `w_i32            : 30 [Type: core::num::wrapping::Wrapping<i32>]`
    (numeric-types.rs:72) `w_i64            : 40 [Type: core::num::wrapping::Wrapping<i64>]`
    (numeric-types.rs:81) `w_isize          : 60 [Type: core::num::wrapping::Wrapping<isize>]`
    (numeric-types.rs:85) `w_u8             : 0x46 [Type: core::num::wrapping::Wrapping<u8>]`
    (numeric-types.rs:89) `w_u16            : 0x50 [Type: core::num::wrapping::Wrapping<u16>]`
    (numeric-types.rs:93) `w_u32            : 0x5a [Type: core::num::wrapping::Wrapping<u32>]`
    (numeric-types.rs:97) `w_u64            : 0x64 [Type: core::num::wrapping::Wrapping<u64>]`
    (numeric-types.rs:106) `w_usize          : 0x78 [Type: core::num::wrapping::Wrapping<usize>]`
    (numeric-types.rs:110) `a_bool_t         : true [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:114) `a_bool_f         : false [Type: core::sync::atomic::AtomicBool]`
    (numeric-types.rs:118) `a_i8             : 2 [Type: core::sync::atomic::AtomicI8]`
    (numeric-types.rs:122) `a_i16            : 4 [Type: core::sync::atomic::AtomicI16]`
    (numeric-types.rs:126) `a_i32            : 8 [Type: core::sync::atomic::AtomicI32]`
    (numeric-types.rs:130) `a_i64            : 16 [Type: core::sync::atomic::AtomicI64]`
    (numeric-types.rs:134) `a_isize          : 32 [Type: core::sync::atomic::AtomicIsize]`
    (numeric-types.rs:138) `a_u8             : 0x40 [Type: core::sync::atomic::AtomicU8]`
    (numeric-types.rs:142) `a_u16            : 0x80 [Type: core::sync::atomic::AtomicU16]`
    (numeric-types.rs:146) `a_u32            : 0x100 [Type: core::sync::atomic::AtomicU32]`
    (numeric-types.rs:150) `a_u64            : 0x200 [Type: core::sync::atomic::AtomicU64]`
    (numeric-types.rs:154) `a_usize          : 0x400 [Type: core::sync::atomic::AtomicUsize]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;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.1.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.432-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.8.7\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;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\numeric-types.cdb\\numeric-types.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\numeric-types.cdb\\a.exe"


************* 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.031 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 29
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


CommandLine: C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\a.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
+------------------------------------------------------------------------+
| This target supports Hardware-enforced Stack Protection. A HW based    |
| This target supports Hardware-enforced Stack Protection. A HW based    |
| "Shadow Stack" may be available to assist in debugging and analysis.   |
| See aka.ms/userhsp for more info.                                      |
|                                                                        |
| dps @ssp                                                               |
+------------------------------------------------------------------------+


ModLoad: 00007ff7`b8670000 00007ff7`b8678000   a.exe   
ModLoad: 00007ffb`9d740000 00007ffb`9d941000   ntdll.dll
ModLoad: 00007ffb`9d020000 00007ffb`9d0de000   C:\Windows\System32\KERNEL32.DLL
ModLoad: 00007ffb`9b0b0000 00007ffb`9b420000   C:\Windows\System32\KERNELBASE.dll
ModLoad: 00007ffb`991f0000 00007ffb`99281000   C:\Windows\SYSTEM32\apphelp.dll
ModLoad: 00007ffb`9b4e0000 00007ffb`9b5f0000   C:\Windows\System32\ucrtbase.dll
ModLoad: 00007ffb`8de10000 00007ffb`8de2e000   C:\Windows\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffb`824f0000 00007ffb`82e5c000   C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib\std-86f5533baccc1b93.dll
ModLoad: 00007ffb`9c7e0000 00007ffb`9c851000   C:\Windows\System32\WS2_32.dll
ModLoad: 00007ffb`9a2c0000 00007ffb`9a2ee000   C:\Windows\SYSTEM32\USERENV.dll
ModLoad: 00007ffb`9c450000 00007ffb`9c56e000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00007ffb`9b5f0000 00007ffb`9b66f000   C:\Windows\System32\bcryptprimitives.dll
(1218.1600): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ffb`9d814464 cc              int     3
0:000> version
Windows 10 Version 20348 MP (8 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
Edition build lab: 20348.1.amd64fre.fe_release.210507-1500
Build layer: DesktopEditions -> 20348.1.amd64fre.fe_release.210507-1500
Build layer: OnecoreUAP -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Build layer: ShellCommon -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Debug session time: Sat Nov 16 11:22:11.434 2024 (UTC + 0:00)
System Uptime: 0 days 0:55:31.770
Process Uptime: 0 days 0:00:00.045
  Kernel time: 0 days 0:00:00.015
  User time: 0 days 0:00:00.000
Live user mode: <Local>
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


command line: '"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe" -lines -cf C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\numeric-types.debugger.script C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\numeric-types.cdb\a.exe'  Debugger Process 0x1840 
dbgeng:  image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbgeng.dll]
dbghelp: image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
        DIA version: 33140
Extension DLL search Path:
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\arcade;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\pri;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\Users\runneradmin\AppData\Local\Dbg\EngineExtensions;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;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.1.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.432-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.8.7\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;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl
Extension DLL chain:
    dbghelp: image 10.0.26100.2161, API 10.0.6, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
    exts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\exts.dll]
    uext: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\uext.dll]
    ntsdexts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\ntsdexts.dll]
0:000> .nvlist
Loaded NatVis Files:
    <None Loaded>
0:000> bp `numeric-types.rs:287`
*** WARNING: Unable to verify checksum for a.exe
0:000>  g
Breakpoint 0 hit
a!numeric_types::main+0x596:
00007ff7`b86718d6 e815000000      call    a!numeric_types::zzz (00007ff7`b86718f0)
0:000>  dx nz_i8
nz_i8            : 11 [Type: core::num::nonzero::NonZero<i8>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i8>]
0:000>  dx nz_i16
nz_i16           : 22 [Type: core::num::nonzero::NonZero<i16>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i16>]
0:000>  dx nz_i32
nz_i32           : 33 [Type: core::num::nonzero::NonZero<i32>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i32>]
0:000>  dx nz_i64
nz_i64           : 44 [Type: core::num::nonzero::NonZero<i64>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i64>]
0:000>  dx nz_i128
nz_i128          : 55 [Type: core::num::nonzero::NonZero<i128>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<i128>]
0:000>  dx nz_isize
nz_isize         : 66 [Type: core::num::nonzero::NonZero<isize>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<isize>]
0:000>  dx nz_u8
nz_u8            : 0x4d [Type: core::num::nonzero::NonZero<u8>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u8>]
0:000>  dx nz_u16
nz_u16           : 0x58 [Type: core::num::nonzero::NonZero<u16>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u16>]
0:000>  dx nz_u32
nz_u32           : 0x63 [Type: core::num::nonzero::NonZero<u32>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u32>]
0:000>  dx nz_u64
nz_u64           : 0x64 [Type: core::num::nonzero::NonZero<u64>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u64>]
0:000>  dx nz_u128
nz_u128          : 111 [Type: core::num::nonzero::NonZero<u128>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<u128>]
0:000>  dx nz_usize
nz_usize         : 0x7a [Type: core::num::nonzero::NonZero<usize>]
    [<Raw View>]     [Type: core::num::nonzero::NonZero<usize>]
0:000>  dx w_i8
w_i8             : 10 [Type: core::num::wrapping::Wrapping<i8>]
    [+0x000] __0              : 10 [Type: char]
0:000>  dx w_i16
w_i16            : 20 [Type: core::num::wrapping::Wrapping<i16>]
    [+0x000] __0              : 20 [Type: short]
0:000>  dx w_i32
w_i32            : 30 [Type: core::num::wrapping::Wrapping<i32>]
    [+0x000] __0              : 30 [Type: int]
0:000>  dx w_i64
w_i64            : 40 [Type: core::num::wrapping::Wrapping<i64>]
    [+0x000] __0              : 40 [Type: __int64]
0:000>  dx w_i128
w_i128           : 50 [Type: core::num::wrapping::Wrapping<i128>]
    [+0x000] __0              : 50 [Type: i128]
0:000>  dx w_isize
w_isize          : 60 [Type: core::num::wrapping::Wrapping<isize>]
    [+0x000] __0              : 60 [Type: __int64]
0:000>  dx w_u8
w_u8             : 0x46 [Type: core::num::wrapping::Wrapping<u8>]
    [+0x000] __0              : 0x46 [Type: unsigned char]
0:000>  dx w_u16
w_u16            : 0x50 [Type: core::num::wrapping::Wrapping<u16>]
    [+0x000] __0              : 0x50 [Type: unsigned short]
0:000>  dx w_u32
w_u32            : 0x5a [Type: core::num::wrapping::Wrapping<u32>]
    [+0x000] __0              : 0x5a [Type: unsigned int]
0:000>  dx w_u64
w_u64            : 0x64 [Type: core::num::wrapping::Wrapping<u64>]
    [+0x000] __0              : 0x64 [Type: unsigned __int64]
0:000>  dx w_u128
w_u128           : 110 [Type: core::num::wrapping::Wrapping<u128>]
    [+0x000] __0              : 110 [Type: u128]
0:000>  dx w_usize
w_usize          : 0x78 [Type: core::num::wrapping::Wrapping<usize>]
    [+0x000] __0              : 0x78 [Type: unsigned __int64]
0:000>  dx a_bool_t
a_bool_t         : true [Type: core::sync::atomic::AtomicBool]
    [+0x000] v                : 0x1 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_bool_f
a_bool_f         : false [Type: core::sync::atomic::AtomicBool]
    [+0x000] v                : 0x0 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_i8
a_i8             : 2 [Type: core::sync::atomic::AtomicI8]
    [+0x000] v                : 2 [Type: core::cell::UnsafeCell<i8>]
0:000>  dx a_i16
a_i16            : 4 [Type: core::sync::atomic::AtomicI16]
    [+0x000] v                : 4 [Type: core::cell::UnsafeCell<i16>]
0:000>  dx a_i32
a_i32            : 8 [Type: core::sync::atomic::AtomicI32]
    [+0x000] v                : 8 [Type: core::cell::UnsafeCell<i32>]
0:000>  dx a_i64
a_i64            : 16 [Type: core::sync::atomic::AtomicI64]
    [+0x000] v                : 16 [Type: core::cell::UnsafeCell<i64>]
0:000>  dx a_isize
a_isize          : 32 [Type: core::sync::atomic::AtomicIsize]
    [+0x000] v                : 32 [Type: core::cell::UnsafeCell<isize>]
0:000>  dx a_u8
a_u8             : 0x40 [Type: core::sync::atomic::AtomicU8]
    [+0x000] v                : 0x40 [Type: core::cell::UnsafeCell<u8>]
0:000>  dx a_u16
a_u16            : 0x80 [Type: core::sync::atomic::AtomicU16]
    [+0x000] v                : 0x80 [Type: core::cell::UnsafeCell<u16>]
0:000>  dx a_u32
a_u32            : 0x100 [Type: core::sync::atomic::AtomicU32]
    [+0x000] v                : 0x100 [Type: core::cell::UnsafeCell<u32>]
0:000>  dx a_u64
a_u64            : 0x200 [Type: core::sync::atomic::AtomicU64]
    [+0x000] v                : 0x200 [Type: core::cell::UnsafeCell<u64>]
0:000>  dx a_usize
a_usize          : 0x400 [Type: core::sync::atomic::AtomicUsize]
    [+0x000] v                : 0x400 [Type: core::cell::UnsafeCell<usize>]
0:000> qq
quit:
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
stderr: none


---- [debuginfo-cdb] tests\debuginfo\range-types.rs stdout ----
---- [debuginfo-cdb] tests\debuginfo\range-types.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\range-types.rs` not found in debugger output. errors:
    (range-types.rs:13) `    [<Raw View>]     [Type: core::ops::range::Range<i32>]`
    (range-types.rs:17) `    [<Raw View>]     [Type: core::ops::range::RangeFrom<i32>]`
    (range-types.rs:21) `    [<Raw View>]     [Type: core::ops::range::RangeInclusive<i32>]`
    (range-types.rs:25) `    [<Raw View>]     [Type: core::ops::range::RangeTo<i32>]`
    (range-types.rs:29) `    [<Raw View>]     [Type: core::ops::range::RangeToInclusive<i32>]`
the following subset of check directive(s) was found successfully:
    (range-types.rs:12) `r1,d             : (3..5) [Type: core::ops::range::Range<i32>]`
    (range-types.rs:16) `r2,d             : (2..) [Type: core::ops::range::RangeFrom<i32>]`
    (range-types.rs:20) `r3,d             : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]`
    (range-types.rs:24) `r4,d             : (..10) [Type: core::ops::range::RangeTo<i32>]`
    (range-types.rs:28) `r5,d             : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]`
    (range-types.rs:32) `r6,d             [Type: core::ops::range::RangeFull]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;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.1.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.432-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.8.7\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;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\range-types.cdb\\range-types.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\range-types.cdb\\a.exe"


************* 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.031 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 29
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


CommandLine: C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\a.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
+------------------------------------------------------------------------+
| This target supports Hardware-enforced Stack Protection. A HW based    |
| This target supports Hardware-enforced Stack Protection. A HW based    |
| "Shadow Stack" may be available to assist in debugging and analysis.   |
| See aka.ms/userhsp for more info.                                      |
|                                                                        |
| dps @ssp                                                               |
+------------------------------------------------------------------------+


ModLoad: 00007ff6`b60c0000 00007ff6`b60c7000   a.exe   
ModLoad: 00007ffb`9d740000 00007ffb`9d941000   ntdll.dll
ModLoad: 00007ffb`9d020000 00007ffb`9d0de000   C:\Windows\System32\KERNEL32.DLL
ModLoad: 00007ffb`9b0b0000 00007ffb`9b420000   C:\Windows\System32\KERNELBASE.dll
ModLoad: 00007ffb`991f0000 00007ffb`99281000   C:\Windows\SYSTEM32\apphelp.dll
ModLoad: 00007ffb`9b4e0000 00007ffb`9b5f0000   C:\Windows\System32\ucrtbase.dll
ModLoad: 00007ffb`8de10000 00007ffb`8de2e000   C:\Windows\SYSTEM32\VCRUNTIME140.dll
ModLoad: 00007ffb`824f0000 00007ffb`82e5c000   C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib\std-86f5533baccc1b93.dll
ModLoad: 00007ffb`9c7e0000 00007ffb`9c851000   C:\Windows\System32\WS2_32.dll
ModLoad: 00007ffb`9a2c0000 00007ffb`9a2ee000   C:\Windows\SYSTEM32\USERENV.dll
ModLoad: 00007ffb`9c450000 00007ffb`9c56e000   C:\Windows\System32\RPCRT4.dll
ModLoad: 00007ffb`9b5f0000 00007ffb`9b66f000   C:\Windows\System32\bcryptprimitives.dll
(408.99c): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00007ffb`9d814464 cc              int     3
0:000> version
Windows 10 Version 20348 MP (8 procs) Free x64
Product: Server, suite: TerminalServer DataCenter SingleUserTS
Edition build lab: 20348.1.amd64fre.fe_release.210507-1500
Build layer: DesktopEditions -> 20348.1.amd64fre.fe_release.210507-1500
Build layer: OnecoreUAP -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Build layer: ShellCommon -> 20348.2849.amd64fre.fe_release_svc_prod1.241101-1732
Debug session time: Sat Nov 16 11:22:12.310 2024 (UTC + 0:00)
System Uptime: 0 days 0:55:32.645
Process Uptime: 0 days 0:00:00.076
  Kernel time: 0 days 0:00:00.000
  User time: 0 days 0:00:00.015
Live user mode: <Local>
Microsoft (R) Windows Debugger Version 10.0.26100.2161 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


command line: '"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe" -lines -cf C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\range-types.debugger.script C:\a\rust\rust\build\x86_64-pc-windows-msvc\test\debuginfo\range-types.cdb\a.exe'  Debugger Process 0x1EF4 
dbgeng:  image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbgeng.dll]
dbghelp: image 10.0.26100.2161, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
        DIA version: 33140
Extension DLL search Path:
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\arcade;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\pri;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\Users\runneradmin\AppData\Local\Dbg\EngineExtensions;C:\Program Files (x86)\Windows Kits\10\Debuggers\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;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.1.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.432-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.8.7\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;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl
Extension DLL chain:
    dbghelp: image 10.0.26100.2161, API 10.0.6, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll]
    exts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\exts.dll]
    uext: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\uext.dll]
    ntsdexts: image 10.0.26100.2161, API 1.0.0, 
        [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\ntsdexts.dll]
0:000> .nvlist
Loaded NatVis Files:
    <None Loaded>
0:000> bp `range-types.rs:46`
*** WARNING: Unable to verify checksum for a.exe
0:000>  g
Breakpoint 0 hit
a!range_types::main+0x41:
00007ff6`b60c11a1 e80a000000      call    a!range_types::zzz (00007ff6`b60c11b0)
0:000>  dx r1,d
r1,d             : (3..5) [Type: core::ops::range::Range<i32>]
    [+0x000] start            : 3 [Type: int]
    [+0x004] end              : 5 [Type: int]
0:000>  dx r2,d
r2,d             : (2..) [Type: core::ops::range::RangeFrom<i32>]
    [+0x000] start            : 2 [Type: int]
0:000>  dx r3,d
r3,d             : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]
    [+0x000] start            : 1 [Type: int]
    [+0x004] end              : 4 [Type: int]
    [+0x008] exhausted        : false [Type: bool]
0:000>  dx r4,d
r4,d             : (..10) [Type: core::ops::range::RangeTo<i32>]
    [+0x000] end              : 10 [Type: int]
0:000>  dx r5,d
r5,d             : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]
    [+0x000] end              : 3 [Type: int]
0:000>  dx r6,d
r6,d             [Type: core::ops::range::RangeFull]
0:000> qq
quit:
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\Visualizers\winrt.natvis'
stderr: none


---- [debuginfo-cdb] tests\debuginfo\unit-type.rs stdout ----
---- [debuginfo-cdb] tests\debuginfo\unit-type.rs stdout ----

error: check directive(s) from `C:\a\rust\rust\tests\debuginfo\unit-type.rs` not found in debugger output. errors:
    (unit-type.rs:29) ` _ref             : 0x[...] : () [Type: tuple$<> *]`
    (unit-type.rs:32) ` _ptr             : 0x[...] : () [Type: tuple$<> *]`
    (unit-type.rs:35) ` _local           : () [Type: tuple$<>]`
    (unit-type.rs:40) `     [+0x[...]] _unit            : () [Type: tuple$<>]`
the following subset of check directive(s) was found successfully:
    (unit-type.rs:26) `Breakpoint 0 hit`
    (unit-type.rs:38) `_field,d         [Type: unit_type::_TypeContainingUnitField]`
    (unit-type.rs:39) `    [+0x008] _a               : 123 [Type: unsigned int]`
    (unit-type.rs:41) `    [+0x000] _b               : 456 [Type: unsigned __int64]`
    (unit-type.rs:45) `((__int64 *)_ptr),x : 0x2f32bff820 : 0x1122334455667788 [Type: __int64 *]`
    (unit-type.rs:46) `    0x1122334455667788 [Type: __int64]`
status: exit code: 0
command: PATH="C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0-bootstrap-tools\x86_64-pc-windows-msvc\release\deps;C:\a\rust\rust\build\x86_64-pc-windows-msvc\stage0\bin;C:\Program Files\PowerShell\7;C:\a\_temp\msys64\mingw64\bin;C:\a\_temp\msys64\usr\local\bin;C:\a\_temp\msys64\usr\bin;C:\a\_temp\msys64\usr\bin;C:\a\rust\rust\ninja;C:\a\rust\rust\sccache;C:\a\_temp\setup-msys2;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.1.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.432-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.8.7\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;C:\a\_temp\msys64\usr\bin\site_perl;C:\a\_temp\msys64\usr\bin\vendor_perl;C:\a\_temp\msys64\usr\bin\core_perl" "C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe" "-lines" "-cf" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\unit-type.cdb\\unit-type.debugger.script" "C:\\a\\rust\\rust\\build\\x86_64-pc-windows-msvc\\test\\debuginfo\\unit-type.cdb\\a.exe"


************* 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.031 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 29
---
test result: FAILED. 156 passed; 3 failed; 3 ignored; 0 measured; 0 filtered out; finished in 17.16s

Some tests failed in compiletest suite=debuginfo mode=debuginfo host=x86_64-pc-windows-msvc target=x86_64-pc-windows-msvc
Build completed unsuccessfully in 0:47:09
make: *** [Makefile:106: ci-msvc-ps1] Error 1
  network time: Sat, 16 Nov 2024 11:22:18 GMT
##[error]Process completed with exit code 2.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@bors
Copy link
Contributor

bors commented Nov 16, 2024

💔 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 Nov 16, 2024
@weihanglo weihanglo mentioned this pull request Nov 16, 2024
@jieyouxu
Copy link
Member

@bors retry

@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 Nov 16, 2024
@jieyouxu jieyouxu added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. CI-spurious-fail-msvc CI spurious failure: target env msvc 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 16, 2024
@jieyouxu jieyouxu removed the CI-spurious-fail-msvc CI spurious failure: target env msvc label Nov 16, 2024
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 17, 2024
…ngjubilee

ABI checks: add support for some tier3 arches, warn on others.

Followup to
- rust-lang#132842
- rust-lang#132173
- rust-lang#131800

r? `@workingjubilee`
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
Rollup of 8 pull requests

Successful merges:

 - rust-lang#131717 (Stabilize `const_atomic_from_ptr`)
 - rust-lang#132449 (mark is_val_statically_known intrinsic as stably const-callable)
 - rust-lang#132569 (rustdoc search: allow queries to end in an empty path segment)
 - rust-lang#133029 (ABI checks: add support for some tier3 arches, warn on others.)
 - rust-lang#133093 (Let chains tests)
 - rust-lang#133097 (Opt out TaKO8Ki from review rotation for now)
 - rust-lang#133116 (stabilize const_ptr_is_null)
 - rust-lang#133126 (alloc: fix `String`'s doc)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
Rollup of 6 pull requests

Successful merges:

 - rust-lang#133029 (ABI checks: add support for some tier3 arches, warn on others.)
 - rust-lang#133051 (Increase accuracy of `if` condition misparse suggestion)
 - rust-lang#133060 (Trim whitespace in RemoveLet primary span)
 - rust-lang#133093 (Let chains tests)
 - rust-lang#133116 (stabilize const_ptr_is_null)
 - rust-lang#133126 (alloc: fix `String`'s doc)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2d9690d into rust-lang:master Nov 17, 2024
6 of 7 checks passed
@rustbot rustbot added this to the 1.84.0 milestone Nov 17, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 17, 2024
Rollup merge of rust-lang#133029 - veluca93:abi-checks-tier3, r=workingjubilee

ABI checks: add support for some tier3 arches, warn on others.

Followup to
- rust-lang#132842
- rust-lang#132173
- rust-lang#131800

r? ``@workingjubilee``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler 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