Skip to content

Conversation

@JonathanBrouwer
Copy link
Contributor

Successful merges:

r? @ghost

Create a similar rollup

chenyukang and others added 9 commits January 29, 2026 17:21
`-Zunpretty=expanded,hygiene` was not printing the syntax context for
lifetimes. For example, two macro-generated lifetimes `'a` with different
hygiene would both print as `/* 2538 */` instead of `/* 2538#0 */` and
`/* 2538#1 */`, making it impossible to distinguish them.

This was fixed by changing `print_lifetime` to call `ann_post()` with
the full `Ident`, matching how regular identifiers are handled in
`print_ident`.
Document a safety condition for `TypedArena::alloc_raw_slice`

This method was marked safe in rust-lang@51edc21, because there was no apparent reason for it to be unsafe.

However, I believe that `alloc_raw_slice` does actually impose a significant safety obligation on its caller, because the caller must ensure that each slot in the slice is properly initialized before the arena is dropped.

This is because the arena's Drop impl will unconditionally drop every storage slot that has been handed out, so it has no way to handle slots that were accidentally left uninitialized because a hypothetical caller of `alloc_raw_slice` panicked before initializing them.
…d-parens-labeled-loops, r=Kivooeo

Fix false positive in unused_parens caused by break

Fixes rust-lang#143256
…e, r=jdonszelmann

Fix missing syntax context in lifetime hygiene debug output

`-Zunpretty=expanded,hygiene` was not printing the syntax context for lifetimes. For example, two macro-generated lifetimes `'a` with different hygiene would both print as `/* 2538 */` instead of `/* 2538#0 */` and `/* 2538#1 */`, making it impossible to distinguish them.

This was fixed by changing `print_lifetime` to call `ann_post()` with the full `Ident`, matching how regular identifiers are handled in `print_ident`.

Closes: rust-lang#151797
…r=GuillaumeGomez

Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test

Part of rust-lang#93784.

It fixes this error:

```
[ERROR] line 14: The following errors happened: [Property named `"searchIndex"` doesn't exist]: for command `assert-window-property-false: {"searchIndex": null}`
    at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/test_docs/index.html?search=Foo>
```

r? ghost
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Jan 29, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-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 Jan 29, 2026
@JonathanBrouwer
Copy link
Contributor Author

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 29, 2026

📌 Commit 9a357bb 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 Jan 29, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Jan 29, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #151808 (Document a safety condition for `TypedArena::alloc_raw_slice`)
 - #151811 (Fix false positive in unused_parens caused by break)
 - #151817 (Fix missing syntax context in lifetime hygiene debug output)
 - #151836 (Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test)
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
REPOSITORY                                   TAG       IMAGE ID       CREATED      SIZE
ghcr.io/dependabot/dependabot-updater-core   latest    bcec0b4e062b   3 days ago   783MB
=> Removing docker images...
Deleted Images:
untagged: ghcr.io/dependabot/dependabot-updater-core:latest
untagged: ghcr.io/dependabot/dependabot-updater-core@sha256:b662be51f7b8ef7e2c8464428f14e49cb79c36aa9afb7ecb9221dfe0f507050c
deleted: sha256:bcec0b4e062b5ffe11cc1c2729558c0cd96621c0271ab5e97ff3a56e0c25045a
deleted: sha256:64e147d5e54d9be8b8aa322e511cda02296eda4b8b8d063c6a314833aca50e29
deleted: sha256:5cba409bb463f4e7fa1a19f695450170422582c1bc7c0e934d893b4e5f558bc6
deleted: sha256:cddc6ebd344b0111eaab170ead1dfda24acdfe865ed8a12599a34d338fa8e28b
deleted: sha256:2412c3f334d79134573cd45e657fb6cc0abd75bef3881458b0d498d936545c8d
---
tests/ui/drop_non_drop.rs ... ok
tests/ui/double_parens.rs ... ok
tests/ui/duplicate_underscore_argument.rs ... ok
tests/ui/duplicated_attributes.rs ... ok
tests/ui/duration_suboptimal_units.rs ... ok
tests/ui/duration_suboptimal_units_days_weeks.rs ... ok
tests/ui/duration_subsec.rs ... ok
tests/ui/double_parens.fixed ... ok
tests/ui/duration_suboptimal_units_days_weeks.fixed ... ok
tests/ui/duration_suboptimal_units.fixed ... ok
tests/ui/duration_subsec.fixed ... ok
tests/ui/else_if_without_else.rs ... ok
tests/ui/empty_docs.rs ... ok
tests/ui/elidable_lifetime_names.rs ... ok
tests/ui/eager_transmute.rs ... ok
---
...............................................    (147/147)

======== tests/rustdoc-gui/globals.goml ========

[ERROR] line 14: Error: The window properties still all match: for command `wait-for-window-property-false: {"searchIndex": null}`
    at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/test_docs/index.html?search=Foo>

======== tests/rustdoc-gui/search-result-display.goml ========

[WARNING] line 39: Delta is 0 for "x", maybe try to use `compare-elements-position` instead?

@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 Jan 29, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 29, 2026

💔 Test for 92324ee failed: CI. Failed job:

@JonathanBrouwer
Copy link
Contributor Author

@bors retry
@GuillaumeGomez :c

@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 Jan 29, 2026
@GuillaumeGomez
Copy link
Member

Arf...

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Jan 30, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #151808 (Document a safety condition for `TypedArena::alloc_raw_slice`)
 - #151811 (Fix false positive in unused_parens caused by break)
 - #151817 (Fix missing syntax context in lifetime hygiene debug output)
 - #151836 (Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test)
@rust-log-analyzer
Copy link
Collaborator

The job i686-gnu-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
REPOSITORY                                   TAG       IMAGE ID       CREATED      SIZE
ghcr.io/dependabot/dependabot-updater-core   latest    bcec0b4e062b   3 days ago   783MB
=> Removing docker images...
Deleted Images:
untagged: ghcr.io/dependabot/dependabot-updater-core:latest
untagged: ghcr.io/dependabot/dependabot-updater-core@sha256:b662be51f7b8ef7e2c8464428f14e49cb79c36aa9afb7ecb9221dfe0f507050c
deleted: sha256:bcec0b4e062b5ffe11cc1c2729558c0cd96621c0271ab5e97ff3a56e0c25045a
deleted: sha256:64e147d5e54d9be8b8aa322e511cda02296eda4b8b8d063c6a314833aca50e29
deleted: sha256:5cba409bb463f4e7fa1a19f695450170422582c1bc7c0e934d893b4e5f558bc6
deleted: sha256:cddc6ebd344b0111eaab170ead1dfda24acdfe865ed8a12599a34d338fa8e28b
deleted: sha256:2412c3f334d79134573cd45e657fb6cc0abd75bef3881458b0d498d936545c8d
---
[5/3894] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
[6/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
[7/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
[8/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttributes.cpp.o
[9/3894] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Logging.cpp.o
[10/3894] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Protocol.cpp.o
[11/3894] Building CXX object lib/Support/LSP/CMakeFiles/LLVMSupportLSP.dir/Transport.cpp.o
[12/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Base64.cpp.o
[13/3894] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/RustDemangle.cpp.o
[14/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AArch64BuildAttributes.cpp.o
[15/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AllocToken.cpp.o
[16/3894] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
---
[223/3894] Building TargetLibraryInfo.inc...
[224/3894] Building GenVT.inc...
[225/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/ActionCaches.cpp.o
[226/3894] Building Attributes.inc...
[227/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinCAS.cpp.o
[228/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/BuiltinUnifiedCASDatabases.cpp.o
[229/3894] Building IntrinsicsAArch64.h...
[230/3894] Building IntrinsicEnums.inc...
[231/3894] Building IntrinsicsBPF.h...
[232/3894] Building IntrinsicImpl.inc...
[233/3894] Building IntrinsicsAMDGPU.h...
---
[422/3894] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/ELFObjHandler.cpp.o
[423/3894] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSHandler.cpp.o
[424/3894] Building CXX object lib/InterfaceStub/CMakeFiles/LLVMInterfaceStub.dir/IFSStub.cpp.o
[425/3894] Building CXX object lib/IRPrinter/CMakeFiles/LLVMIRPrinter.dir/IRPrintingPasses.cpp.o
[426/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCommon.cpp.o
[427/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskCAS.cpp.o
[428/3894] Building CXX object lib/IRReader/CMakeFiles/LLVMIRReader.dir/IRReader.cpp.o
[429/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o
[430/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskGraphDB.cpp.o
[431/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskKeyValueDB.cpp.o
[432/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskTrieRawHashMap.cpp.o
[433/3894] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/UnifiedOnDiskCache.cpp.o
[434/3894] Linking CXX static library lib/libLLVMCAS.a
[435/3894] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenData.cpp.o
[436/3894] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataReader.cpp.o
[437/3894] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataWriter.cpp.o
[438/3894] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTree.cpp.o
[439/3894] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTreeRecord.cpp.o
---
[1281/3894] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueLatticeUtils.cpp.o
[1282/3894] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o
[1283/3894] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
[1284/3894] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[1285/3894] Building CXX object lib/DTLTO/CMakeFiles/LLVMDTLTO.dir/DTLTO.cpp.o
[1286/3894] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[1287/3894] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTOCodeGenerator.cpp.o
[1288/3894] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTOModule.cpp.o
[1289/3894] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTOBackend.cpp.o
[1290/3894] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/DXContainerPSVInfo.cpp.o
---
[2132/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMacroFusion.cpp.o
[2133/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMCInstLower.cpp.o
[2134/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUIGroupLP.cpp.o
[2135/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMCResourceInfo.cpp.o
[2136/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPULowerVGPREncoding.cpp.o
[2137/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMarkLastScratchLoad.cpp.o
[2138/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUMIRFormatter.cpp.o
[2139/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPerfHintAnalysis.cpp.o
[2140/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPostLegalizerCombiner.cpp.o
[2141/3894] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUPrintfRuntimeBinding.cpp.o
---
[2803/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.cpp.o
[2804/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o
[2805/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVLOptimizer.cpp.o
[2806/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[2807/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVSETVLIInfoAnalysis.cpp.o
[2808/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o
[2809/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZilsdOptimizer.cpp.o
[2810/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVCallLowering.cpp.o
[2811/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVLegalizerInfo.cpp.o
[2812/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPostLegalizerCombiner.cpp.o
[2813/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o
[2814/3894] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.o
---
[3600/3894] Linking CXX executable bin/llvm-extract
[3601/3894] Linking CXX executable bin/llvm-ifs
[3602/3894] Building CXX object tools/llvm-jitlink/CMakeFiles/llvm-jitlink.dir/llvm-jitlink-elf.cpp.o
[3603/3894] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
[3604/3894] Building CXX object tools/llvm-ir2vec/CMakeFiles/llvm-ir2vec.dir/llvm-ir2vec.cpp.o
[3605/3894] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/llvm-isel-fuzzer.cpp.o
[3606/3894] Building CXX object tools/llvm-jitlink/CMakeFiles/llvm-jitlink.dir/llvm-jitlink-coff.cpp.o
[3607/3894] Building CXX object tools/llvm-jitlink/CMakeFiles/llvm-jitlink.dir/llvm-jitlink-statistics.cpp.o
[3608/3894] Building CXX object tools/llvm-jitlink/CMakeFiles/llvm-jitlink.dir/llvm-jitlink.cpp.o
[3609/3894] Linking CXX executable bin/llvm-exegesis
---
[3788/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterMasks.cpp.o
[3789/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterDefs.cpp.o
[3790/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceVirtualRegisters.cpp.o
[3791/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceRegisterUses.cpp.o
[3792/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceSinkDefsToUses.cpp.o
[3793/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceTargetFeaturesAttr.cpp.o
[3794/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceUsingSimplifyCFG.cpp.o
[3795/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/RunIRPasses.cpp.o
[3796/3894] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/SimplifyInstructions.cpp.o
[3797/3894] Building CXX object tools/llvm-rust-demangle-fuzzer/CMakeFiles/llvm-rust-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o
---
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DWARFLinker/DWARFLinkerBase.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DWARFLinker/DWARFFile.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DWARFLinker/Parallel
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DWARFLinker/Parallel/DWARFLinker.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DTLTO
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/DTLTO/DTLTO.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/TargetParser
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/TargetParser/X86TargetParser.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/TargetParser/Triple.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/TargetParser/ARMTargetParserCommon.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/TargetParser/SubtargetFeature.h
---
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/Plugins
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/Plugins/PassPlugin.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinCASContext.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/CASReference.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskKeyValueDB.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskGraphDB.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/FileOffset.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/ObjectStore.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/UnifiedOnDiskCache.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinUnifiedCASDatabases.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/BuiltinObjectHasher.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/CASID.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/ActionCache.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/MappedFileRegionArena.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/CAS/OnDiskDataAllocator.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/ToolDrivers
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/ToolDrivers/llvm-lib
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/ToolDrivers/llvm-dlltool
-- Installing: /checkout/obj/build/i686-unknown-linux-gnu/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
---
[RUSTC-TIMING] rustc_trait_selection test:false 443.712
   Compiling rustc_hir_analysis v0.0.0 (/checkout/compiler/rustc_hir_analysis)
[RUSTC-TIMING] rustc_privacy test:false 24.843
   Compiling rustc_sanitizers v0.0.0 (/checkout/compiler/rustc_sanitizers)
rustc: /checkout/src/llvm-project/llvm/include/llvm/ADT/DenseMap.h:663: bool llvm::DenseMapBase<DerivedT, KeyT, ValueT, KeyInfoT, BucketT>::LookupBucketFor(const LookupKeyT&, BucketT*&) [with LookupKeyT = unsigned int; DerivedT = llvm::SmallDenseMap<unsigned int, unsigned int, 8, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int> >; KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo<unsigned int, void>; BucketT = llvm::detail::DenseMapPair<unsigned int, unsigned int>]: Assertion `!KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"' failed.
[RUSTC-TIMING] rustc_codegen_ssa test:false 145.337
rustc exited with signal: 6 (SIGABRT) (core dumped)
error: could not compile `rustc_codegen_ssa` (lib)

Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc /checkout/obj/build/bootstrap/debug/rustc --crate-name rustc_codegen_ssa --edition=2024 compiler/rustc_codegen_ssa/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debug-assertions=on --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=c82f8ce641bff8b8 -C extra-filename=-0453473443190706 --out-dir /checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps --target i686-unknown-linux-gnu -L dependency=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/release/deps --extern ar_archive_writer=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libar_archive_writer-ed7a74d222c9bfae.rmeta --extern bitflags=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libbitflags-56e922f16a94aaec.rmeta --extern bstr=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libbstr-4b9f1e36c7947293.rmeta --extern find_msvc_tools=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libfind_msvc_tools-c73685a3f21be98c.rmeta --extern itertools=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libitertools-5850ca29c567d39e.rmeta --extern libc=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/liblibc-2643e1173d48ac4c.rmeta --extern object=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libobject-ea0f6d26c881bae6.rmeta --extern pathdiff=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libpathdiff-8438ba9fded5fe28.rmeta --extern regex=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libregex-371d66d9ed85011c.rmeta --extern rustc_abi=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_abi-b37c8f65934e3fa7.rmeta --extern rustc_arena=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_arena-7155b30061fc25b7.rmeta --extern rustc_ast=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_ast-088327e22e2b8e0f.rmeta --extern rustc_attr_parsing=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_attr_parsing-9f81bdf0b1c86dbf.rmeta --extern rustc_data_structures=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_data_structures-67aa9e32613ce3eb.rmeta --extern rustc_errors=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_errors-df25e1bee32838d0.rmeta --extern rustc_fluent_macro=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/release/deps/librustc_fluent_macro-e07eea5d2f8211d5.so --extern rustc_fs_util=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_fs_util-b17e791994d9edd5.rmeta --extern rustc_hashes=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_hashes-5f84ce91ad6503e7.rmeta --extern rustc_hir=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_hir-822b62248fca686d.rmeta --extern rustc_incremental=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_incremental-15bd080773da8b77.rmeta --extern rustc_index=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_index-289c3ac7f687c68c.rmeta --extern rustc_lint_defs=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_lint_defs-8a97c81f3e67f45b.rmeta --extern rustc_macros=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/release/deps/librustc_macros-13c13fd6716b06d9.so --extern rustc_metadata=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_metadata-09ea37cf51130e50.rmeta --extern rustc_middle=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_middle-3c6b0105758b8c69.rmeta --extern rustc_query_system=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_query_system-cc9a5d7a34d78186.rmeta --extern rustc_serialize=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_serialize-ebdc08d8569c091b.rmeta --extern rustc_session=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_session-d8d08bd6a998c734.rmeta --extern rustc_span=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_span-8617237d9d9a1abd.rmeta --extern rustc_symbol_mangling=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_symbol_mangling-840d1e434cc0b761.rmeta --extern rustc_target=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_target-b2e0e8adacfc2adf.rmeta --extern rustc_trait_selection=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/librustc_trait_selection-eb65cb0e6d89ace9.rmeta --extern serde_json=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libserde_json-2b7593d2feca11a9.rmeta --extern smallvec=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libsmallvec-050f9fbaad32c17b.rmeta --extern tempfile=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libtempfile-3251b5b3fd395041.rmeta --extern thin_vec=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libthin_vec-e38c764a3b654438.rmeta --extern thorin=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libthorin-5987c84b715c0ea5.rmeta --extern tracing=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libtracing-849321a19c4f4afb.rmeta --extern wasm_encoder=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/deps/libwasm_encoder-d57e47d475df436c.rmeta --cfg=windows_raw_dylib -Csymbol-mangling-version=v0 -Zannotate-moves -Zunstable-options '--check-cfg=cfg(bootstrap)' -Zmacro-backtrace -Csplit-debuginfo=off -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Alinker-messages -Zon-broken-pipe=kill -Z binary-dep-depinfo -L native=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/build/psm-130d5a62f0baedf9/out -L native=/checkout/obj/build/i686-unknown-linux-gnu/stage2-rustc/i686-unknown-linux-gnu/release/build/blake3-97dd13d7907e35e0/out` (exit status: 254)
warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] rustc_sanitizers test:false 24.590
[RUSTC-TIMING] rustc_const_eval test:false 128.570
[RUSTC-TIMING] rustc_hir_analysis test:false 176.647
Bootstrap failed while executing `--stage 2 test --skip tests --skip coverage-map --skip coverage-run --skip library --skip tidyselftest`

@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 Jan 30, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 30, 2026

💔 Test for c996916 failed: CI. Failed job:

@Zalathar
Copy link
Member

Failure looks flaky, so closing this in favour of newer rollups.

@Zalathar Zalathar closed this Jan 30, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 30, 2026
@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 Jan 30, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 30, 2026

PR #151836, which is a member of this rollup, was unapproved.
This rollup was thus also unapproved.

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

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler 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.

7 participants