Skip to content

Rollup of 16 pull requests - #165747

Closed
JonathanBrouwer wants to merge 57 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-pA3a2rw
Closed

JonathanBrouwer wants to merge 57 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-pA3a2rw

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

apolloww and others added 30 commits November 4, 2026 23:24
With `-Zdebuginfo-for-profiling`, set `debugInfoForProfiling` on the
`DICompileUnit`, as Clang does for `-fdebug-info-for-profiling`
(`CGDebugInfo.cpp`). Before this change, the flag only added the
discriminators pass, and the compile unit flag was always false.
Just because the parser of a specific syntax fragment kind returns an
`Err(_)` doesn't automatically mean that the problematic token sequence
isn't "of" that fragment's kind. The token sequence might "almost" be of
that kind (i.e., share a non-empty prefix) but simply contain a syntax
error in it.

On a side note, it's rather odd that the now removed
`annotate_err_with_kind` only added the note "this macro call doesn't
expand to a $fragkind" if the target fragment kind was *type* or *pat*,
there are 20 kinds at the of writing.
…..)`

This also means that it's now available under `core::pat` instead of
`core` directly. This makes it consistent with the `std` re-export
which is only available under `std::pat` and not under `std` directly.

Moreover, drop library feature `pattern_type_macro` and demote language
feature `pattern_types` to a library feature. This is nice because it
means `std::pat::pattern_type` is no longer unnecessarily gated behind
two (!) feature gates.
This also means that it's now available under `core::view` instead of
`core` directly. This makes it consistent with the `std` re-export
which is only available under `std::view` and not under `std` directly.

Moreover, drop library feature `view_type_macro` and demote language
feature `view_types` to a library feature. This is nice because it
means `std::view::view_type` is no longer unnecessarily gated behind
two (!) feature gates.
This also includes these 3 patches for musl CVEs:
- [CVE-2026-6042]: denial of service in iconv
- [CVE-2026-6042]: qsort stack buffer overflow
- [CVE-2026-107891]: integer overflow in regcomp

The first two were already being applied to our
build of musl 1.2.5, the third one is new.

[CVE-2026-6042]: https://www.openwall.com/lists/musl/2026/04/03/2
[CVE-2026-40200]: https://www.openwall.com/lists/musl/2026/04/10/3
[CVE-2026-107891]: https://www.openwall.com/lists/musl/2026/10/21/1
Without it, reads are reported as UB because the tracking of what bytes are initialized is incorect
…is-to-ecx-3

rename `this` -> `ecx` in `intrinsics/x86`
…or-gc-alloc-backtrace-ecx

Rename evaluation context bindings from this to ecx
add test for closing the end of a socketpair that someone is blocked on
syscall: return ENOSYS for unknown syscalls
statx: explain why we initialize these fields
…ts should be skipped in Miri due to missing shims
Only a `\0` byte in an OsStr becomes a WTF16 NUL, so we can check before converting instead of after.

For `to_u16s`, this up to halves the amount of memory being scanned, and it can use the optimized memchr [u8] path.

For `ensure_no_nuls` the same applies, and this additionally skips a duplicated WTF8->WTF16 conversion: all but one call to it is followed by `encode_wide` anyway.
@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Nov 10, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3,test-aarch64-msvc-2

@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

📌 Commit bf3a2ff has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 10, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 10, 2026
Rollup of 16 pull requests


try-job: dist-various-1
try-job: test-various
try-job: test-x86_64-gnu-aux
try-job: test-x86_64-msvc-1
try-job: test-aarch64-apple-1
try-job: test-aarch64-apple-2
try-job: test-x86_64-mingw-1
try-job: test-i686-msvc
try-job: test-armhf-gnu
try-job: test-x86_64-gnu-llvm-22-3
try-job: test-aarch64-msvc-2
@rust-bors

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 10, 2026
…uwer

Rollup of 16 pull requests

Successful merges:

 - #165575 (Upgrade bundled musl to 1.2.6)
 - #163992 (add `core::arch::{x86, x86_64}::x87_f80`)
 - #165117 (std: use skip_unsupported_miri_tests to control when tests should be skipped in Miri due to missing shims)
 - #165458 (fix incorrect byte count suffix on MSVC)
 - #165487 (Migrate built-in macros `pattern_type` & `view_type` to macros 2.0 that expand to internal syntax)
 - #165490 (Mark the compile unit for `-Zdebuginfo-for-profiling`)
 - #165586 (Remove `backend_optimization_level`.)
 - #165646 (fix NumScalableVectors::from_field_count)
 - #165655 (Unignore passing GCC backend tests)
 - #165740 (miri subtree update)
 - #164559 (Windows: fix Dir::remove and Dir::rename following symlinks)
 - #165682 (interpret: ensure newly created unions have uninit in their padding)
 - #165693 (Move `check_attr` to attribute parsing)
 - #165715 (windows: check for null before wide encoding)
 - #165717 (mpsc_sync::stream_send_recv_stress: wait for all threads to finish)
 - #165733 (docs(num): remove needless whitespaces)

Failed merges:

 - #165727 (Normalize "beta release channel" in `const-supertrait-unstable` test)
 - #153261 (Partially stabilize `ptr_alignment_type` as `alignment_type`)
 - #164218 (Tweak private re-export errors to point at correct span and have more context)
 - #165709 (remove 'x miri' smoke test from PR CI)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-gnu-debug failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- [run-make] tests/run-make/avr-rjmp-offset stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/avr-rjmp-offset/rmake_out" && env -u RUSTFLAGS -u __STD_REMAP_DEBUGINFO_ENABLED AR="ar" BUILD_ROOT="/checkout/obj/build/aarch64-unknown-linux-gnu" CC="clang" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" CLANG="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/clang" CXX="clang++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" HOST_RUSTC_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH=":/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils abi aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cas cfguard cgdata codegen codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dtlto dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes plugins powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support supportlsp symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/FileCheck" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_LINKER="clang" RUSTDOC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="aarch64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib/rustlib/aarch64-unknown-linux-gnu/lib" __BOOTSTRAP_JOBS="4" __RMAKE_VERBOSE_SUBPROCESS_OUTPUT="1" __RUSTC_DEBUG_ASSERTIONS_ENABLED="1" __STD_DEBUG_ASSERTIONS_ENABLED="1" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/avr-rjmp-offset/rmake"
stdout: none
--- stderr -------------------------------
command failed at line 19
LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/avr-rjmp-offset/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib::/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/avr-rjmp-offset/rmake_out" "/checkout/tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-Ctarget-cpu=avr" "-o" "libminicore.rlib" "--target=avr-none"
output status: `exit status: 1`
=== STDOUT ===



=== STDERR ===
'avr' is not a recognized processor for this target (ignoring processor)
---

error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors; 1 warning emitted
---
---- [run-make] tests/run-make/thumb-interworking stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/thumb-interworking/rmake_out" && env -u RUSTFLAGS -u __STD_REMAP_DEBUGINFO_ENABLED AR="ar" BUILD_ROOT="/checkout/obj/build/aarch64-unknown-linux-gnu" CC="clang" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" CLANG="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/clang" CXX="clang++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" HOST_RUSTC_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH=":/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils abi aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cas cfguard cgdata codegen codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dtlto dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes plugins powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support supportlsp symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/FileCheck" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_LINKER="clang" RUSTDOC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="aarch64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib/rustlib/aarch64-unknown-linux-gnu/lib" __BOOTSTRAP_JOBS="4" __RMAKE_VERBOSE_SUBPROCESS_OUTPUT="1" __RUSTC_DEBUG_ASSERTIONS_ENABLED="1" __STD_DEBUG_ASSERTIONS_ENABLED="1" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/thumb-interworking/rmake"
stdout: none
--- stderr -------------------------------
command failed at line 32
LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/thumb-interworking/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib::/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/thumb-interworking/rmake_out" "/checkout/tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-o" "libminicore.rlib" "--target=thumbv5te-none-eabi"
output status: `exit status: 1`
=== STDOUT ===



=== STDERR ===
error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors
---
---- [run-make] tests/run-make/wasm-unexpected-features stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/wasm-unexpected-features/rmake_out" && env -u RUSTFLAGS -u __STD_REMAP_DEBUGINFO_ENABLED AR="ar" BUILD_ROOT="/checkout/obj/build/aarch64-unknown-linux-gnu" CC="clang" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" CLANG="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/clang" CXX="clang++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC --target=aarch64-unknown-linux-gnu -w" HOST_RUSTC_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH=":/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils abi aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cas cfguard cgdata codegen codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dtlto dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes plugins powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support supportlsp symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/checkout/obj/build/aarch64-unknown-linux-gnu/llvm/bin/FileCheck" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_LINKER="clang" RUSTDOC="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="aarch64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib/rustlib/aarch64-unknown-linux-gnu/lib" __BOOTSTRAP_JOBS="4" __RMAKE_VERBOSE_SUBPROCESS_OUTPUT="1" __RUSTC_DEBUG_ASSERTIONS_ENABLED="1" __STD_DEBUG_ASSERTIONS_ENABLED="1" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/wasm-unexpected-features/rmake"
stdout: none
--- stderr -------------------------------
command failed at line 10
LD_LIBRARY_PATH="/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/wasm-unexpected-features/rmake_out:/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/lib::/checkout/obj/build/aarch64-unknown-linux-gnu/stage0/lib/rustlib/aarch64-unknown-linux-gnu/lib" "/checkout/obj/build/aarch64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/run-make/wasm-unexpected-features/rmake_out" "/checkout/tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-Ctarget-cpu=mvp" "-o" "libminicore.rlib" "--target=wasm32-wasip1"
output status: `exit status: 1`
=== STDOUT ===



=== STDERR ===
error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> /checkout/tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 10, 2026
@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 5e7513f failed: CI. Failed job:

@maxdexh

maxdexh commented Nov 10, 2026

Copy link
Copy Markdown
Member

Probably #165487

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 10, 2026
@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

PR #165487, which is a member of this rollup, was unapproved.

@JonathanBrouwer

Copy link
Copy Markdown
Member Author

Agreed, ty

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 10, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
---- [run-make] tests\run-make\avr-rjmp-offset stdout ----

error: rmake recipe failed to complete
status: exit code: 1
command: "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\avr-rjmp-offset\\rmake.exe"
stdout: none
--- stderr -------------------------------
command failed at line 19
"D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\avr-rjmp-offset\\rmake_out" "D:\\a\\rust\\rust\\tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-Ctarget-cpu=avr" "-o" "libminicore.rlib" "--target=avr-none"
output status: `exit code: 1`
=== STDOUT ===



=== STDERR ===
'avr' is not a recognized processor for this target (ignoring processor)
---

error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors; 1 warning emitted
---
---- [run-make] tests\run-make\thumb-interworking stdout ----

error: rmake recipe failed to complete
status: exit code: 1
command: "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\thumb-interworking\\rmake.exe"
stdout: none
--- stderr -------------------------------
command failed at line 32
"D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\thumb-interworking\\rmake_out" "D:\\a\\rust\\rust\\tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-o" "libminicore.rlib" "--target=thumbv5te-none-eabi"
output status: `exit code: 1`
=== STDOUT ===



=== STDERR ===
error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors
---
---- [run-make] tests\run-make\wasm-unexpected-features stdout ----

error: rmake recipe failed to complete
status: exit code: 1
command: "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\wasm-unexpected-features\\rmake.exe"
stdout: none
--- stderr -------------------------------
command failed at line 10
"D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\run-make\\wasm-unexpected-features\\rmake_out" "D:\\a\\rust\\rust\\tests/auxiliary/minicore.rs" "--crate-name" "minicore" "--crate-type" "rlib" "-Ctarget-cpu=mvp" "-o" "libminicore.rlib" "--target=wasm32-wasip1"
output status: `exit code: 1`
=== STDOUT ===



=== STDERR ===
error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error: macro expansion ignores `#` and any tokens following
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:6
    |
225 |         pub struct $name(pattern_type!($int is $pat));
    |                          --------------------------- caused by the macro expansion here
...
500 |     k#pattern_type($($arg)*)
    |      ^
    |
    = note: the usage of `pattern_type!` is likely invalid in type context

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
208 |     pointer: pattern_type!(*const T is !null),
    |              -------------------------------- in this macro invocation
...
499 | pub macro pattern_type($($arg:tt)*) {
500 |     k#pattern_type($($arg)*)
    |     ^ not found in this scope

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error[E0425]: cannot find type `k` in this scope
##[error]   --> D:\a\rust\rust\tests/auxiliary/minicore.rs:500:5
    |
233 | / define_valid_range_type! {
234 | |     NonZeroU8Inner(u8 is 1..=0xFF);
235 | |     NonZeroU16Inner(u16 is 1..=0xFFFF);
236 | |     NonZeroU32Inner(u32 is 1..=0xFFFF_FFFF);
...   |
240 | |     NonZeroI32Inner(i32 is (-0x8000_0000..=-1 | 1..=0x7FFF_FFFF));
241 | | }
    | |_- in this macro invocation
...
499 | / pub macro pattern_type($($arg:tt)*) {
500 | |     k#pattern_type($($arg)*)
    | |     ^ not found in this scope
501 | | }
    | |_- this error originates in the macro `pattern_type` which comes from the expansion of the macro `define_valid_range_type`

error: aborting due to 9 previous errors
---
Currently active steps:
test::RunMake { test_compiler: Compiler { stage: 2, host: x86_64-pc-windows-gnu, forced_compiler: false }, target: x86_64-pc-windows-gnu } at src\bootstrap\src\core\build_steps\test.rs:2109
test::Compiletest { test_compiler: Compiler { stage: 2, host: x86_64-pc-windows-gnu, forced_compiler: false }, target: x86_64-pc-windows-gnu, mode: run-make, suite: "run-make", path: "tests/run-make", compare_mode: None } at src\bootstrap\src\core\build_steps\test.rs:2109
Build completed unsuccessfully in 2:00:18
make: *** [Makefile:119: ci-mingw-x] Error 1
  local time: Tue Nov 10 12:35:17 CUT 2026
  network time: Tue, 10 Nov 2026 12:35:18 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 10, 2026
@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for fae1dc1 failed: CI. Failed jobs:

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-filesystem Area: `std::fs` A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-networking Area: `std::net` A-process Area: `std::process` (note: `std::env` is A-env) A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-minicore` A-testsuite Area: The testsuite used to check the correctness of rustc F-explicit_tail_calls `#![feature(explicit_tail_calls)]` O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) O-unix Operating system: Unix-like O-windows Operating system: Windows PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.