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

Rollup of 8 pull requests #137710

Merged
merged 23 commits into from
Feb 28, 2025
Merged

Rollup of 8 pull requests #137710

merged 23 commits into from
Feb 28, 2025

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

pitaj and others added 23 commits February 19, 2025 23:04
There is a time window during which the OS can terminate a thread before stdlib
can retreive its `Packet`. Currently the `Thread::join` panics with no message
in such an event, which makes debugging difficult; fixes rust-lang#124466.
…ic build dir

- Introduce and use `--build-{root,test-suite-root}` over
  `--build-base`.
- A few minor cleanups.
thin_vec.as_ptr() goes through the Deref impl of ThinVec, which will
not allow access to any memory as we did call set_len(0) first.
- Remove dead link to `rustc_attr` crate.
- Add link to `rustc_attr_parsing` crate.
- Split up first paragraph so it looks better at crate-level summary
`AssocOp::AssignOp` contains a `BinOpToken`. `ExprKind::AssignOp`
contains a `BinOpKind`. Given that `AssocOp` is basically a cut-down
version of `ExprKind`, it makes sense to make `AssocOp` more like
`ExprKind`. Especially given that `AssocOp` and `BinOpKind` use semantic
operation names (e.g. `Mul`, `Div`), but `BinOpToken` uses syntactic
names (e.g. `Star`, `Slash`).

This results in more concise code, and removes the need for various
conversions. (Note that the removed functions `hirbinop2assignop` and
`astbinop2assignop` are semantically identical, because `hir::BinOp` is
just a synonum for `ast::BinOp`!)

The only downside to this is that it allows the possibility of some
nonsensical combinations, such as `AssocOp::AssignOp(BinOpKind::Lt)`.
But `ExprKind::AssignOp` already has that problem. The problem can be
fixed for both types in the future with some effort, by introducing an
`AssignOpKind` type.
It mirrors `ExprKind::Binary`, and contains a `BinOpKind`. This makes
`AssocOp` more like `ExprKind`. Note that the variants removed from
`AssocOp` are all named differently to `BinOpToken`, e.g. `Multiply`
instead of `Mul`, so that's an inconsistency removed.

The commit adds `precedence` and `fixity` methods to `BinOpKind`, and
calls them from the corresponding methods in `AssocOp`. This avoids the
need to create an `AssocOp` from a `BinOpKind` in a bunch of places, and
`AssocOp::from_ast_binop` is removed.

`AssocOp::to_ast_binop` is also no longer needed.

Overall things are shorter and nicer.
It makes `AssocOp` more similar to `ExprKind` and makes things a little
simpler. And the semantic names make more sense here than the syntactic
names.
To match `ExprKind::Cast`, and because a semantic name makes more sense
here than a syntactic name.
[`compiletest`-related cleanups 4/7] Make the distinction between root build directory vs test suite specific build directory in compiletest less confusing

Reference for overall changes: rust-lang#136437
Part **4** of **7** of the *`compiletest`-related cleanups* PR series.

### Summary

- Remove `--build-base` compiletest flag, and introduce `--build-{root,test-suite-root}` flags instead. `--build-base` previously actually is test suite specific build directory, not the root `build/` directory.
- Feed the root build directory directly from bootstrap to compiletest via `--build-root` instead of doing multiple layers of parent unwrapping[^parent] based on the test suite specific build directory.
- Remove a redundant `to_path_buf()`.

[^parent]: Please do not unwrap the parents.

r? bootstrap
Fix UB in ThinVec::flat_map_in_place

`thin_vec.as_ptr()` goes through the `Deref` impl of `ThinVec`, which will not allow access to any memory as we did call `set_len(0)` first.

Found in the process of investigating rust-lang#135870.
…o, r=compiler-errors

require trait impls to have matching const stabilities as the traits

This resolves rust-lang/project-const-traits#5 by implementing the suggested solution in the given thread

r? ``@RalfJung``
cc ``@rust-lang/project-const-traits``
…-ExprKind, r=spastorino

Make `AssocOp` more like `ExprKind`

This is step 1 of [MCP 831](rust-lang/compiler-team#831).

r? ``@estebank``
…ct, r=ibraheemdev

add `IntoBounds::intersect` and `RangeBounds::is_empty`

- ACP: rust-lang/libs-team#539
- Tracking issue for `is_empty`: rust-lang#137300
- Tracking issue for `IntoBounds`: rust-lang#136903
…oli-obk

Reuse machinery from `tail_expr_drop_order` for `if_let_rescope`

Namely, it defines its own `extract_component_with_significant_dtor` which is a bit more accurate than `Ty::has_significant_drop`, since it has a hard-coded list of types from the ecosystem which are opted out of the lint.[^a]

Also, since we extract the dtors themselves, adopt the same *label* we use in `tail_expr_drop_order` to point out the destructor impl. This makes it much clear what's actually being dropped, so it should be clearer to know when it's a false positive.

This conflicts with rust-lang#137444, but I will rebase whichever lands first.

[^a]: Side-note, it's kinda a shame that now there are two functions that presumably do the same thing. But this isn't my circus, nor are these my monkeys.
…ubilee

Return unexpected termination error instead of panicing in `Thread::join`

There is a time window during which the OS can terminate a thread before stdlib can retreive its `Packet`. Currently the `Thread::join` panics with no message in such an event, which makes debugging difficult; fixes rust-lang#124466.
…1, r=jdonszelmann

Spruce up `AttributeKind` docs

- Remove dead link to `rustc_attr` crate.
- Add link to `rustc_attr_parsing` crate.
- Split up first paragraph so it looks better at crate-level summary

r? `@jdonszelmann`
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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. labels Feb 27, 2025
@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 27, 2025
@bors
Copy link
Contributor

bors commented Feb 27, 2025

⌛ Testing commit 89a202d with merge 8346456...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 27, 2025
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#136542 ([`compiletest`-related cleanups 4/7] Make the distinction between root build directory vs test suite specific build directory in compiletest less confusing)
 - rust-lang#136579 (Fix UB in ThinVec::flat_map_in_place)
 - rust-lang#136688 (require trait impls to have matching const stabilities as the traits)
 - rust-lang#136846 (Make `AssocOp` more like `ExprKind`)
 - rust-lang#137304 (add `IntoBounds::intersect` and `RangeBounds::is_empty`)
 - rust-lang#137455 (Reuse machinery from `tail_expr_drop_order` for `if_let_rescope`)
 - rust-lang#137480 (Return unexpected termination error instead of panicing in `Thread::join`)
 - rust-lang#137694 (Spruce up `AttributeKind` docs)

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

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

Click to see the possible cause of the failure (guessed by this bot)
warning: [email protected]: In file included from llvm-wrapper/PassWrapper.cpp:1:
warning: [email protected]: In file included from llvm-wrapper\LLVMWrapper.h:7:
warning: [email protected]: In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/Support/raw_ostream.h:16:
warning: [email protected]: In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/ADT/SmallVector.h:18:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\algorithm:10:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\__msvc_heap_algorithms.hpp:11:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\xutility:15:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\cwchar:12:
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,13): error: unknown type name '__m128i'
warning: [email protected]:   294 |             __m128i V2 = _mm_set1_epi16((short)_C);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,26): error: use of undeclared identifier '_mm_set1_epi16'
warning: [email protected]:   294 |             __m128i V2 = _mm_set1_epi16((short)_C);
warning: [email protected]:       |                          ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,17): error: unknown type name '__m128i'
warning: [email protected]:   298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
warning: [email protected]:       |                 ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,47): error: use of undeclared identifier '__m128i'
warning: [email protected]:   298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
warning: [email protected]:       |                                               ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,17): error: unknown type name '__m128i'
warning: [email protected]:   313 |                 __m128i V1 = _mm_loadu_si64(S);
warning: [email protected]:       |                 ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,30): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   313 |                 __m128i V1 = _mm_loadu_si64(S);
warning: [email protected]:       |                              ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,13): error: unknown type name '__m128i'
warning: [email protected]:   418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,43): error: use of undeclared identifier '__m128i'
warning: [email protected]:   418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
warning: [email protected]:       |                                           ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,13): error: unknown type name '__m128i'
warning: [email protected]:   419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,43): error: use of undeclared identifier '__m128i'
warning: [email protected]:   419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
warning: [email protected]:       |                                           ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,13): error: unknown type name '__m128i'
warning: [email protected]:   436 |             __m128i V1 = _mm_loadu_si64(S1);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,26): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   436 |             __m128i V1 = _mm_loadu_si64(S1);
warning: [email protected]:       |                          ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,13): error: unknown type name '__m128i'
warning: [email protected]:   437 |             __m128i V2 = _mm_loadu_si64(S2);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,26): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   437 |             __m128i V2 = _mm_loadu_si64(S2);
warning: [email protected]: 14 errors generated.
error: failed to run custom build command for `rustc_llvm v0.0.0 (D:\a\rust\rust\compiler\rustc_llvm)`

Caused by:
Caused by:
  process didn't exit successfully: `D:\a\rust\rust\build\i686-pc-windows-msvc\stage0-rustc\release\build\rustc_llvm-3340b85b19977e1c\build-script-build` (exit code: 1)
  --- stdout
  cargo:rustc-check-cfg=cfg(llvm_component,values("ipo"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitreader"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitwriter"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("linker"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("asmparser"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("lto"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("coverage"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("instrumentation"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("x86"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("arm"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("aarch64"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("amdgpu"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("avr"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("loongarch"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("m68k"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("csky"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("mips"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("powerpc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("systemz"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("jsbackend"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("webassembly"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("msp430"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("sparc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("nvptx"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("hexagon"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("riscv"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("xtensa"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bpf"))
  cargo:rerun-if-env-changed=RUST_CHECK
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH_VAR
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH
  cargo:rerun-if-env-changed=LLVM_CONFIG
  cargo:rerun-if-changed=D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\bin\llvm-config.exe
  cargo:rustc-cfg=llvm_component="aarch64"
  cargo:rustc-cfg=llvm_component="amdgpu"
  cargo:rustc-cfg=llvm_component="arm"
  cargo:rustc-cfg=llvm_component="asmparser"
  cargo:rustc-cfg=llvm_component="avr"
  cargo:rustc-cfg=llvm_component="bitreader"
  cargo:rustc-cfg=llvm_component="bitwriter"
  cargo:rustc-cfg=llvm_component="bpf"
  cargo:rustc-cfg=llvm_component="coverage"
  cargo:rustc-cfg=llvm_component="csky"
  cargo:rustc-cfg=llvm_component="hexagon"
  cargo:rustc-cfg=llvm_component="instrumentation"
  cargo:rustc-cfg=llvm_component="ipo"
  cargo:rustc-cfg=llvm_component="linker"
  cargo:rustc-cfg=llvm_component="loongarch"
  cargo:rustc-cfg=llvm_component="lto"
  cargo:rustc-cfg=llvm_component="m68k"
  cargo:rustc-cfg=llvm_component="mips"
  cargo:rustc-cfg=llvm_component="msp430"
  cargo:rustc-cfg=llvm_component="nvptx"
  cargo:rustc-cfg=llvm_component="powerpc"
  cargo:rustc-cfg=llvm_component="riscv"
  cargo:rustc-cfg=llvm_component="sparc"
  cargo:rustc-cfg=llvm_component="systemz"
  cargo:rustc-cfg=llvm_component="webassembly"
  cargo:rustc-cfg=llvm_component="x86"
  cargo:rustc-cfg=llvm_component="xtensa"
  cargo:rerun-if-env-changed=LLVM_ENZYME
  cargo:rerun-if-env-changed=LLVM_RUSTLLVM
  cargo:rerun-if-env-changed=LLVM_ASSERTIONS
  cargo:rerun-if-changed=llvm-wrapper\SymbolWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\SuppressLLVMWarnings.h
  cargo:rerun-if-changed=llvm-wrapper\RustWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\README
  cargo:rerun-if-changed=llvm-wrapper\PassWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\LLVMWrapper.h
  cargo:rerun-if-changed=llvm-wrapper\Linker.cpp
  cargo:rerun-if-changed=llvm-wrapper\CoverageMappingWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\ArchiveWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\.editorconfig
  OUT_DIR = Some(D:\a\rust\rust\build\i686-pc-windows-msvc\stage0-rustc\i686-pc-windows-msvc\release\build\rustc_llvm-ebdc380be79e4699\out)
  TARGET = Some(i686-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  VCINSTALLDIR = None
  cargo:rerun-if-env-changed=VSTEL_MSBuildProjectFullPath
  VSTEL_MSBuildProjectFullPath = None
  cargo:rerun-if-env-changed=VSCMD_ARG_VCVARS_SPECTRE
  VSCMD_ARG_VCVARS_SPECTRE = None
  cargo:rerun-if-env-changed=WindowsSdkDir
  WindowsSdkDir = None
  cargo:rerun-if-env-changed=WindowsSDKVersion
  WindowsSDKVersion = None
  cargo:rerun-if-env-changed=LIB
  LIB = None
  PATH = Some(C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;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\usr\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)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  HOST = Some(i686-pc-windows-msvc)
  cargo:rerun-if-env-changed=CXX_i686-pc-windows-msvc
  CXX_i686-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CXX_i686_pc_windows_msvc
  CXX_i686_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CXX
  cargo:rerun-if-env-changed=CXX
  CXX = Some(D:/a/rust/rust/citools/clang-rust/bin/clang-cl.exe)
  RUSTC_WRAPPER = Some(D:\a\rust\rust\build\bootstrap\debug\rustc)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(crt-static,fxsr,sse,sse2,x87)
  cargo:rerun-if-env-changed=CXXFLAGS_i686-pc-windows-msvc
  CXXFLAGS_i686-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CXXFLAGS_i686_pc_windows_msvc
  CXXFLAGS_i686_pc_windows_msvc = None
  CXXFLAGS_i686_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  CARGO_ENCODED_RUSTFLAGS = Some(--cfg=bootstrap--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)--check-cfg=cfg(llvm_enzyme)-Zmacro-backtrace-Csplit-debuginfo=packed-Ctarget-feature=+crt-static-Wrustc::internal-Drustc::symbol_intern_string_literal-Wkeyword_idents_2024-Wunsafe_op_in_unsafe_fn-Alinker-messages-Zon-broken-pipe=kill)
  cargo:warning=In file included from llvm-wrapper/PassWrapper.cpp:1:
  cargo:warning=In file included from llvm-wrapper\LLVMWrapper.h:7:
  cargo:warning=In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/Support/raw_ostream.h:16:
  cargo:warning=In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/ADT/SmallVector.h:18:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\algorithm:10:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\__msvc_heap_algorithms.hpp:11:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\xutility:15:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\cwchar:12:
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,13): error: unknown type name '__m128i'
  cargo:warning=  294 |             __m128i V2 = _mm_set1_epi16((short)_C);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,26): error: use of undeclared identifier '_mm_set1_epi16'
  cargo:warning=  294 |             __m128i V2 = _mm_set1_epi16((short)_C);
  cargo:warning=      |                          ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,17): error: unknown type name '__m128i'
  cargo:warning=  298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
  cargo:warning=      |                 ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,47): error: use of undeclared identifier '__m128i'
  cargo:warning=  298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
  cargo:warning=      |                                               ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,17): error: unknown type name '__m128i'
  cargo:warning=  313 |                 __m128i V1 = _mm_loadu_si64(S);
  cargo:warning=      |                 ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,30): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  313 |                 __m128i V1 = _mm_loadu_si64(S);
  cargo:warning=      |                              ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,13): error: unknown type name '__m128i'
  cargo:warning=  418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,43): error: use of undeclared identifier '__m128i'
  cargo:warning=  418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
  cargo:warning=      |                                           ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,13): error: unknown type name '__m128i'
  cargo:warning=  419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,43): error: use of undeclared identifier '__m128i'
  cargo:warning=  419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
  cargo:warning=      |                                           ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,13): error: unknown type name '__m128i'
  cargo:warning=  436 |             __m128i V1 = _mm_loadu_si64(S1);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,26): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  436 |             __m128i V1 = _mm_loadu_si64(S1);
  cargo:warning=      |                          ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,13): error: unknown type name '__m128i'
  cargo:warning=  437 |             __m128i V2 = _mm_loadu_si64(S2);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,26): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  437 |             __m128i V2 = _mm_loadu_si64(S2);
  cargo:warning=      |                          ^
  cargo:warning=14 errors generated.
  --- stderr



  error occurred in cc-rs: Command "D:/a/rust/rust/citools/clang-rust/bin/clang-cl.exe" "-nologo" "-MT" "-O2" "-Brepro" "-m32" "-arch:IA32" "-ID:\\a\\rust\\rust\\build\\i686-pc-windows-msvc\\llvm\\include" "-std:c++17" "/EHs-c-" "/GR-" "-D_GLIBCXX_ASSERTIONS" "-D_LARGEFILE_SOURCE" "-D_FILE_OFFSET_BITS=64" "-D_CRT_SECURE_NO_DEPRECATE" "-D_CRT_SECURE_NO_WARNINGS" "-D_CRT_NONSTDC_NO_DEPRECATE" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_SCL_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_WARNINGS" "-DUNICODE" "-D_UNICODE" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DLLVM_COMPONENT_AARCH64" "-DLLVM_COMPONENT_AMDGPU" "-DLLVM_COMPONENT_ARM" "-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_AVR" "-DLLVM_COMPONENT_BITREADER" "-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_BPF" "-DLLVM_COMPONENT_COVERAGE" "-DLLVM_COMPONENT_CSKY" "-DLLVM_COMPONENT_HEXAGON" "-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_LOONGARCH" "-DLLVM_COMPONENT_LTO" "-DLLVM_COMPONENT_M68K" "-DLLVM_COMPONENT_MIPS" "-DLLVM_COMPONENT_MSP430" "-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_POWERPC" "-DLLVM_COMPONENT_RISCV" "-DLLVM_COMPONENT_SPARC" "-DLLVM_COMPONENT_SYSTEMZ" "-DLLVM_COMPONENT_WEBASSEMBLY" "-DLLVM_COMPONENT_X86" "-DLLVM_COMPONENT_XTENSA" "-DLLVM_RUSTLLVM" "-FoD:\\a\\rust\\rust\\build\\i686-pc-windows-msvc\\stage0-rustc\\i686-pc-windows-msvc\\release\\build\\rustc_llvm-ebdc380be79e4699\\out\\ef10e86dc40538c1-PassWrapper.o" "-c" "--" "llvm-wrapper/PassWrapper.cpp" with args clang-cl.exe did not execute successfully (status code exit code: 1).

warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] rustc_ty_utils test:false 59.656
[RUSTC-TIMING] rustc_lint test:false 102.780
[RUSTC-TIMING] rustc_lint test:false 102.780
[RUSTC-TIMING] rustc_trait_selection test:false 198.032
Build completed unsuccessfully in 0:22:02
make: *** [Makefile:111: ci-msvc-py] Error 1
  network time: Thu, 27 Feb 2025 10:06:22 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 Feb 27, 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 Feb 27, 2025
@matthiaskrgr
Copy link
Member Author

oh nvm its spurious

@matthiaskrgr matthiaskrgr reopened this Feb 27, 2025
@matthiaskrgr
Copy link
Member Author

@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 Feb 27, 2025
@bors
Copy link
Contributor

bors commented Feb 27, 2025

⌛ Testing commit 89a202d with merge b4657c0...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 27, 2025
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#136542 ([`compiletest`-related cleanups 4/7] Make the distinction between root build directory vs test suite specific build directory in compiletest less confusing)
 - rust-lang#136579 (Fix UB in ThinVec::flat_map_in_place)
 - rust-lang#136688 (require trait impls to have matching const stabilities as the traits)
 - rust-lang#136846 (Make `AssocOp` more like `ExprKind`)
 - rust-lang#137304 (add `IntoBounds::intersect` and `RangeBounds::is_empty`)
 - rust-lang#137455 (Reuse machinery from `tail_expr_drop_order` for `if_let_rescope`)
 - rust-lang#137480 (Return unexpected termination error instead of panicing in `Thread::join`)
 - rust-lang#137694 (Spruce up `AttributeKind` docs)

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

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

Click to see the possible cause of the failure (guessed by this bot)
warning: [email protected]: In file included from llvm-wrapper/PassWrapper.cpp:1:
warning: [email protected]: In file included from llvm-wrapper\LLVMWrapper.h:7:
warning: [email protected]: In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/Support/raw_ostream.h:16:
warning: [email protected]: In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/ADT/SmallVector.h:18:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\algorithm:10:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\__msvc_heap_algorithms.hpp:11:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\xutility:15:
warning: [email protected]: In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\cwchar:12:
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,13): error: unknown type name '__m128i'
warning: [email protected]:   294 |             __m128i V2 = _mm_set1_epi16((short)_C);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,26): error: use of undeclared identifier '_mm_set1_epi16'
warning: [email protected]:   294 |             __m128i V2 = _mm_set1_epi16((short)_C);
warning: [email protected]:       |                          ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,17): error: unknown type name '__m128i'
warning: [email protected]:   298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
warning: [email protected]:       |                 ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,47): error: use of undeclared identifier '__m128i'
warning: [email protected]:   298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
warning: [email protected]:       |                                               ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,17): error: unknown type name '__m128i'
warning: [email protected]:   313 |                 __m128i V1 = _mm_loadu_si64(S);
warning: [email protected]:       |                 ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,30): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   313 |                 __m128i V1 = _mm_loadu_si64(S);
warning: [email protected]:       |                              ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,13): error: unknown type name '__m128i'
warning: [email protected]:   418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,43): error: use of undeclared identifier '__m128i'
warning: [email protected]:   418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
warning: [email protected]:       |                                           ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,13): error: unknown type name '__m128i'
warning: [email protected]:   419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,43): error: use of undeclared identifier '__m128i'
warning: [email protected]:   419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
warning: [email protected]:       |                                           ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,13): error: unknown type name '__m128i'
warning: [email protected]:   436 |             __m128i V1 = _mm_loadu_si64(S1);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,26): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   436 |             __m128i V1 = _mm_loadu_si64(S1);
warning: [email protected]:       |                          ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,13): error: unknown type name '__m128i'
warning: [email protected]:   437 |             __m128i V2 = _mm_loadu_si64(S2);
warning: [email protected]:       |             ^
warning: [email protected]: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,26): error: use of undeclared identifier '_mm_loadu_si64'
warning: [email protected]:   437 |             __m128i V2 = _mm_loadu_si64(S2);
warning: [email protected]: 14 errors generated.
error: failed to run custom build command for `rustc_llvm v0.0.0 (D:\a\rust\rust\compiler\rustc_llvm)`

Caused by:
Caused by:
  process didn't exit successfully: `D:\a\rust\rust\build\i686-pc-windows-msvc\stage0-rustc\release\build\rustc_llvm-3340b85b19977e1c\build-script-build` (exit code: 1)
  --- stdout
  cargo:rustc-check-cfg=cfg(llvm_component,values("ipo"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitreader"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bitwriter"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("linker"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("asmparser"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("lto"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("coverage"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("instrumentation"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("x86"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("arm"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("aarch64"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("amdgpu"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("avr"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("loongarch"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("m68k"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("csky"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("mips"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("powerpc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("systemz"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("jsbackend"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("webassembly"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("msp430"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("sparc"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("nvptx"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("hexagon"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("riscv"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("xtensa"))
  cargo:rustc-check-cfg=cfg(llvm_component,values("bpf"))
  cargo:rerun-if-env-changed=RUST_CHECK
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH_VAR
  cargo:rerun-if-env-changed=REAL_LIBRARY_PATH
  cargo:rerun-if-env-changed=LLVM_CONFIG
  cargo:rerun-if-changed=D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\bin\llvm-config.exe
  cargo:rustc-cfg=llvm_component="aarch64"
  cargo:rustc-cfg=llvm_component="amdgpu"
  cargo:rustc-cfg=llvm_component="arm"
  cargo:rustc-cfg=llvm_component="asmparser"
  cargo:rustc-cfg=llvm_component="avr"
  cargo:rustc-cfg=llvm_component="bitreader"
  cargo:rustc-cfg=llvm_component="bitwriter"
  cargo:rustc-cfg=llvm_component="bpf"
  cargo:rustc-cfg=llvm_component="coverage"
  cargo:rustc-cfg=llvm_component="csky"
  cargo:rustc-cfg=llvm_component="hexagon"
  cargo:rustc-cfg=llvm_component="instrumentation"
  cargo:rustc-cfg=llvm_component="ipo"
  cargo:rustc-cfg=llvm_component="linker"
  cargo:rustc-cfg=llvm_component="loongarch"
  cargo:rustc-cfg=llvm_component="lto"
  cargo:rustc-cfg=llvm_component="m68k"
  cargo:rustc-cfg=llvm_component="mips"
  cargo:rustc-cfg=llvm_component="msp430"
  cargo:rustc-cfg=llvm_component="nvptx"
  cargo:rustc-cfg=llvm_component="powerpc"
  cargo:rustc-cfg=llvm_component="riscv"
  cargo:rustc-cfg=llvm_component="sparc"
  cargo:rustc-cfg=llvm_component="systemz"
  cargo:rustc-cfg=llvm_component="webassembly"
  cargo:rustc-cfg=llvm_component="x86"
  cargo:rustc-cfg=llvm_component="xtensa"
  cargo:rerun-if-env-changed=LLVM_ENZYME
  cargo:rerun-if-env-changed=LLVM_RUSTLLVM
  cargo:rerun-if-env-changed=LLVM_ASSERTIONS
  cargo:rerun-if-changed=llvm-wrapper\SymbolWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\SuppressLLVMWarnings.h
  cargo:rerun-if-changed=llvm-wrapper\RustWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\README
  cargo:rerun-if-changed=llvm-wrapper\PassWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\LLVMWrapper.h
  cargo:rerun-if-changed=llvm-wrapper\Linker.cpp
  cargo:rerun-if-changed=llvm-wrapper\CoverageMappingWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\ArchiveWrapper.cpp
  cargo:rerun-if-changed=llvm-wrapper\.editorconfig
  OUT_DIR = Some(D:\a\rust\rust\build\i686-pc-windows-msvc\stage0-rustc\i686-pc-windows-msvc\release\build\rustc_llvm-ebdc380be79e4699\out)
  TARGET = Some(i686-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  VCINSTALLDIR = None
  cargo:rerun-if-env-changed=VSTEL_MSBuildProjectFullPath
  VSTEL_MSBuildProjectFullPath = None
  cargo:rerun-if-env-changed=VSCMD_ARG_VCVARS_SPECTRE
  VSCMD_ARG_VCVARS_SPECTRE = None
  cargo:rerun-if-env-changed=WindowsSdkDir
  WindowsSdkDir = None
  cargo:rerun-if-env-changed=WindowsSDKVersion
  WindowsSDKVersion = None
  cargo:rerun-if-env-changed=LIB
  LIB = None
  PATH = Some(C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\runneradmin\bin;D:\a\rust\rust\ninja;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\usr\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)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  HOST = Some(i686-pc-windows-msvc)
  cargo:rerun-if-env-changed=CXX_i686-pc-windows-msvc
  CXX_i686-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CXX_i686_pc_windows_msvc
  CXX_i686_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CXX
  cargo:rerun-if-env-changed=CXX
  CXX = Some(D:/a/rust/rust/citools/clang-rust/bin/clang-cl.exe)
  RUSTC_WRAPPER = Some(D:\a\rust\rust\build\bootstrap\debug\rustc)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(crt-static,fxsr,sse,sse2,x87)
  cargo:rerun-if-env-changed=CXXFLAGS_i686-pc-windows-msvc
  CXXFLAGS_i686-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CXXFLAGS_i686_pc_windows_msvc
  CXXFLAGS_i686_pc_windows_msvc = None
  CXXFLAGS_i686_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  CARGO_ENCODED_RUSTFLAGS = Some(--cfg=bootstrap--cfg=windows_raw_dylib-Csymbol-mangling-version=v0-Zunstable-options--check-cfg=cfg(bootstrap)--check-cfg=cfg(llvm_enzyme)-Zmacro-backtrace-Csplit-debuginfo=packed-Ctarget-feature=+crt-static-Wrustc::internal-Drustc::symbol_intern_string_literal-Wkeyword_idents_2024-Wunsafe_op_in_unsafe_fn-Alinker-messages-Zon-broken-pipe=kill)
  cargo:warning=In file included from llvm-wrapper/PassWrapper.cpp:1:
  cargo:warning=In file included from llvm-wrapper\LLVMWrapper.h:7:
  cargo:warning=In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/Support/raw_ostream.h:16:
  cargo:warning=In file included from D:\a\rust\rust\build\i686-pc-windows-msvc\llvm\include\llvm/ADT/SmallVector.h:18:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\algorithm:10:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\__msvc_heap_algorithms.hpp:11:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\xutility:15:
  cargo:warning=In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.43.34808\include\cwchar:12:
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,13): error: unknown type name '__m128i'
  cargo:warning=  294 |             __m128i V2 = _mm_set1_epi16((short)_C);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(294,26): error: use of undeclared identifier '_mm_set1_epi16'
  cargo:warning=  294 |             __m128i V2 = _mm_set1_epi16((short)_C);
  cargo:warning=      |                          ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,17): error: unknown type name '__m128i'
  cargo:warning=  298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
  cargo:warning=      |                 ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(298,47): error: use of undeclared identifier '__m128i'
  cargo:warning=  298 |                 __m128i V1 = _mm_loadu_si128((__m128i const*)S);
  cargo:warning=      |                                               ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,17): error: unknown type name '__m128i'
  cargo:warning=  313 |                 __m128i V1 = _mm_loadu_si64(S);
  cargo:warning=      |                 ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(313,30): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  313 |                 __m128i V1 = _mm_loadu_si64(S);
  cargo:warning=      |                              ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,13): error: unknown type name '__m128i'
  cargo:warning=  418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(418,43): error: use of undeclared identifier '__m128i'
  cargo:warning=  418 |             __m128i V1 = _mm_loadu_si128((__m128i const*)S1);
  cargo:warning=      |                                           ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,13): error: unknown type name '__m128i'
  cargo:warning=  419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(419,43): error: use of undeclared identifier '__m128i'
  cargo:warning=  419 |             __m128i V2 = _mm_loadu_si128((__m128i const*)S2);
  cargo:warning=      |                                           ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,13): error: unknown type name '__m128i'
  cargo:warning=  436 |             __m128i V1 = _mm_loadu_si64(S1);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(436,26): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  436 |             __m128i V1 = _mm_loadu_si64(S1);
  cargo:warning=      |                          ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,13): error: unknown type name '__m128i'
  cargo:warning=  437 |             __m128i V2 = _mm_loadu_si64(S2);
  cargo:warning=      |             ^
  cargo:warning=C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\wchar.h(437,26): error: use of undeclared identifier '_mm_loadu_si64'
  cargo:warning=  437 |             __m128i V2 = _mm_loadu_si64(S2);
  cargo:warning=      |                          ^
  cargo:warning=14 errors generated.
  --- stderr



  error occurred in cc-rs: Command "D:/a/rust/rust/citools/clang-rust/bin/clang-cl.exe" "-nologo" "-MT" "-O2" "-Brepro" "-m32" "-arch:IA32" "-ID:\\a\\rust\\rust\\build\\i686-pc-windows-msvc\\llvm\\include" "-std:c++17" "/EHs-c-" "/GR-" "-D_GLIBCXX_ASSERTIONS" "-D_LARGEFILE_SOURCE" "-D_FILE_OFFSET_BITS=64" "-D_CRT_SECURE_NO_DEPRECATE" "-D_CRT_SECURE_NO_WARNINGS" "-D_CRT_NONSTDC_NO_DEPRECATE" "-D_CRT_NONSTDC_NO_WARNINGS" "-D_SCL_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_WARNINGS" "-DUNICODE" "-D_UNICODE" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DLLVM_COMPONENT_AARCH64" "-DLLVM_COMPONENT_AMDGPU" "-DLLVM_COMPONENT_ARM" "-DLLVM_COMPONENT_ASMPARSER" "-DLLVM_COMPONENT_AVR" "-DLLVM_COMPONENT_BITREADER" "-DLLVM_COMPONENT_BITWRITER" "-DLLVM_COMPONENT_BPF" "-DLLVM_COMPONENT_COVERAGE" "-DLLVM_COMPONENT_CSKY" "-DLLVM_COMPONENT_HEXAGON" "-DLLVM_COMPONENT_INSTRUMENTATION" "-DLLVM_COMPONENT_IPO" "-DLLVM_COMPONENT_LINKER" "-DLLVM_COMPONENT_LOONGARCH" "-DLLVM_COMPONENT_LTO" "-DLLVM_COMPONENT_M68K" "-DLLVM_COMPONENT_MIPS" "-DLLVM_COMPONENT_MSP430" "-DLLVM_COMPONENT_NVPTX" "-DLLVM_COMPONENT_POWERPC" "-DLLVM_COMPONENT_RISCV" "-DLLVM_COMPONENT_SPARC" "-DLLVM_COMPONENT_SYSTEMZ" "-DLLVM_COMPONENT_WEBASSEMBLY" "-DLLVM_COMPONENT_X86" "-DLLVM_COMPONENT_XTENSA" "-DLLVM_RUSTLLVM" "-FoD:\\a\\rust\\rust\\build\\i686-pc-windows-msvc\\stage0-rustc\\i686-pc-windows-msvc\\release\\build\\rustc_llvm-ebdc380be79e4699\\out\\ef10e86dc40538c1-PassWrapper.o" "-c" "--" "llvm-wrapper/PassWrapper.cpp" with args clang-cl.exe did not execute successfully (status code exit code: 1).

warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] rustc_ty_utils test:false 60.759
[RUSTC-TIMING] rustc_lint test:false 103.569
[RUSTC-TIMING] rustc_lint test:false 103.569
[RUSTC-TIMING] rustc_trait_selection test:false 199.864
Build completed unsuccessfully in 0:22:45
make: *** [Makefile:111: ci-msvc-py] Error 1
  network time: Thu, 27 Feb 2025 11:37:29 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 Feb 27, 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 Feb 27, 2025
@matthiaskrgr
Copy link
Member Author

@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 Feb 27, 2025
@ChrisDenton
Copy link
Member

Workaround has landed. Let's see if we can get things moving again

@bors treeclosed-

@bors
Copy link
Contributor

bors commented Feb 28, 2025

⌛ Testing commit 89a202d with merge cb08599...

@bors
Copy link
Contributor

bors commented Feb 28, 2025

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

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 28, 2025
@bors bors merged commit cb08599 into rust-lang:master Feb 28, 2025
13 checks passed
@rustbot rustbot added this to the 1.87.0 milestone Feb 28, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#136542 [compiletest-related cleanups 4/7] Make the distinction b… df41810d000b7472f46ebe8fd6e088f9ed982cf2 (link)
#136579 Fix UB in ThinVec::flat_map_in_place d9725a563769880d822d8f71eb9415c052d92969 (link)
#136688 require trait impls to have matching const stabilities as t… ae43be8272b3690d6b5d59e8ad4e3a0eb3320e64 (link)
#136846 Make AssocOp more like ExprKind 352987ebbdccd889b6431477ff28a52d563c8c83 (link)
#137304 add IntoBounds::intersect and RangeBounds::is_empty aeba1f4af6e83d013c62437ff50f1a9c6b219fe7 (link)
#137455 Reuse machinery from tail_expr_drop_order for `if_let_res… 2908d7bd7b5841bcb16dd3b5636a87d6a29bd482 (link)
#137480 Return unexpected termination error instead of panicing in … 7d219da5892d03a83cc9b25ac4a1395d74985cf9 (link)
#137694 Spruce up AttributeKind docs f936ca611a7a111fa7fb9e35c8f75c2f5b9551a3 (link)

previous master: e6059f5222

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
Collaborator

Finished benchmarking commit (cb08599): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.0% [-2.8%, -1.3%] 9
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -1.9%, secondary 2.6%)

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.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.6% [2.6%, 2.6%] 1
Improvements ✅
(primary)
-1.9% [-1.9%, -1.9%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -1.9% [-1.9%, -1.9%] 1

Cycles

Results (primary 2.7%, secondary -2.2%)

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.

mean range count
Regressions ❌
(primary)
2.7% [2.7%, 2.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.2% [-2.7%, -1.9%] 4
All ❌✅ (primary) 2.7% [2.7%, 2.7%] 1

Binary size

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

Bootstrap: 771.509s -> 772.925s (0.18%)
Artifact size: 361.90 MiB -> 361.91 MiB (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.