Skip to content

Bring back enum DepKind.#152747

Merged
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
nnethercote:bring-back-enum-DepKind
Feb 20, 2026
Merged

Bring back enum DepKind.#152747
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
nnethercote:bring-back-enum-DepKind

Conversation

@nnethercote
Copy link
Contributor

@nnethercote nnethercote commented Feb 17, 2026

View all comments

It was removed in #115920 to enable it being moved to rustc_query_system, a move that has recently been reversed. It's much simpler as an enum.

r? @Zalathar

@rustbot rustbot added A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 17, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 17, 2026

Zalathar is not on the review rotation at the moment.
They may take a while to respond.

@rustbot

This comment has been minimized.

@Zalathar
Copy link
Member

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 17, 2026
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 17, 2026
@Zalathar
Copy link
Member

Looks good, r=me after perf comes back.

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 17, 2026

☀️ Try build successful (CI)
Build commit: 11ae63e (11ae63e43fee516d0d07042853a8a7e8d3a5c2a2, parent: 1210e9fa3ee9c9712fa694f90f7a032f2f0fd786)

@rust-timer

This comment has been minimized.

@Zalathar
Copy link
Member

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (11ae63e): comparison URL.

Overall result: ✅ improvements - no action needed

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.3% [-0.7%, -0.2%] 37
Improvements ✅
(secondary)
-0.3% [-0.6%, -0.2%] 10
All ❌✅ (primary) -0.3% [-0.7%, -0.2%] 37

Max RSS (memory usage)

Results (secondary -0.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.7% [1.5%, 1.9%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.3% [-2.1%, -0.7%] 4
All ❌✅ (primary) - - 0

Cycles

Results (primary 2.7%, secondary 3.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.7% [2.1%, 3.7%] 8
Regressions ❌
(secondary)
3.6% [2.9%, 5.0%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.7% [2.1%, 3.7%] 8

Binary size

Results (primary -0.0%, secondary -0.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.0% [-0.0%, -0.0%] 7
Improvements ✅
(secondary)
-0.0% [-0.1%, -0.0%] 2
All ❌✅ (primary) -0.0% [-0.0%, -0.0%] 7

Bootstrap: 482.345s -> 482.424s (0.02%)
Artifact size: 397.85 MiB -> 395.78 MiB (-0.52%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 17, 2026
@rust-bors

This comment has been minimized.

@rustbot
Copy link
Collaborator

rustbot commented Feb 17, 2026

Some changes occurred in src/tools/opt-dist

cc @Kobzol

@rustbot rustbot added A-CI Area: Our Github Actions CI A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Feb 17, 2026
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot rustbot added the has-merge-commits PR has merge commits, merge with caution. label Feb 17, 2026
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
[180/3993] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_portable.c.obj
[181/3993] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_neon.c.obj
[182/3993] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_dispatch.c.obj
[183/3993] Linking CXX static library lib\LLVMSupport.lib
[184/3993] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Protocol.cpp.obj
[185/3993] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Transport.cpp.obj
[186/3993] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Logging.cpp.obj
[187/3993] Linking CXX static library lib\LLVMSupportLSP.lib
[188/3993] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\DetailedRecordsBackend.cpp.obj
[189/3993] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Error.cpp.obj
[190/3993] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\JSONBackend.cpp.obj
[191/3993] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Main.cpp.obj
[192/3993] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Parser.cpp.obj
---
[219/3993] Linking CXX static library lib\LLVMTableGenBasic.lib
[220/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ActionCache.cpp.obj
[221/3993] Building CXX object lib\FileCheck\CMakeFiles\LLVMFileCheck.dir\FileCheck.cpp.obj
[222/3993] Linking CXX static library lib\LLVMFileCheck.lib
[223/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ActionCaches.cpp.obj
[224/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\BuiltinCAS.cpp.obj
[225/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\BuiltinUnifiedCASDatabases.cpp.obj
[226/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\DatabaseFile.cpp.obj
[227/3993] Linking CXX executable bin\llvm-min-tblgen.exe
[228/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\InMemoryCAS.cpp.obj
[229/3993] Building TargetLibraryInfo.inc...
[230/3993] Building GenVT.inc...
[231/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\MappedFileRegionArena.cpp.obj
---
[257/3993] Building OMP.inc...
[258/3993] Building IntrinsicsXCore.h...
[259/3993] Building PPCGenTargetFeatures.inc...
[260/3993] Building ARMTargetParserDef.inc...
[261/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskCAS.cpp.obj
[262/3993] Building AArch64TargetParserDef.inc...
[263/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskCommon.cpp.obj
[264/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\AsmMatcherEmitter.cpp.obj
[265/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskDataAllocator.cpp.obj
[266/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\AsmWriterEmitter.cpp.obj
[267/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\CallingConvEmitter.cpp.obj
[268/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeEmitterGen.cpp.obj
[269/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\CodeGenMapTable.cpp.obj
[270/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\CompressInstEmitter.cpp.obj
[271/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\CTagsEmitter.cpp.obj
[272/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DAGISelEmitter.cpp.obj
[273/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DAGISelMatcher.cpp.obj
[274/3993] Building RISCVTargetParserDef.inc...
[275/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DAGISelMatcherEmitter.cpp.obj
[276/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DAGISelMatcherGen.cpp.obj
[277/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DAGISelMatcherOpt.cpp.obj
[278/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskGraphDB.cpp.obj
[279/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DecoderTableEmitter.cpp.obj
[280/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DecoderEmitter.cpp.obj
[281/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DecoderTree.cpp.obj
[282/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DFAEmitter.cpp.obj
[283/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DFAPacketizerEmitter.cpp.obj
[284/3993] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\DisassemblerEmitter.cpp.obj
---
[420/3993] Building CXX object lib\InterfaceStub\CMakeFiles\LLVMInterfaceStub.dir\IFSStub.cpp.obj
[421/3993] Building CXX object lib\InterfaceStub\CMakeFiles\LLVMInterfaceStub.dir\ELFObjHandler.cpp.obj
[422/3993] Building CXX object lib\InterfaceStub\CMakeFiles\LLVMInterfaceStub.dir\IFSHandler.cpp.obj
[423/3993] Building CXX object lib\IRPrinter\CMakeFiles\LLVMIRPrinter.dir\IRPrintingPasses.cpp.obj
[424/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskKeyValueDB.cpp.obj
[425/3993] Building CXX object lib\IRReader\CMakeFiles\LLVMIRReader.dir\IRReader.cpp.obj
[426/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskTrieRawHashMap.cpp.obj
[427/3993] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\UnifiedOnDiskCache.cpp.obj
[428/3993] Linking CXX static library lib\LLVMCAS.lib
[429/3993] Building CXX object lib\CGData\CMakeFiles\LLVMCGData.dir\CodeGenDataReader.cpp.obj
[430/3993] Building CXX object lib\CGData\CMakeFiles\LLVMCGData.dir\CodeGenData.cpp.obj
[431/3993] Building CXX object lib\CGData\CMakeFiles\LLVMCGData.dir\OutlinedHashTree.cpp.obj
[432/3993] Building CXX object lib\CGData\CMakeFiles\LLVMCGData.dir\CodeGenDataWriter.cpp.obj
[433/3993] Building CXX object lib\CGData\CMakeFiles\LLVMCGData.dir\OutlinedHashTreeRecord.cpp.obj
---
[1267/3993] Building CXX object lib\Analysis\CMakeFiles\LLVMAnalysis.dir\ValueLattice.cpp.obj
[1268/3993] Building CXX object lib\Analysis\CMakeFiles\LLVMAnalysis.dir\ValueLatticeUtils.cpp.obj
[1269/3993] Building CXX object lib\Analysis\CMakeFiles\LLVMAnalysis.dir\ValueTracking.cpp.obj
[1270/3993] Building CXX object lib\Analysis\CMakeFiles\LLVMAnalysis.dir\VectorUtils.cpp.obj
[1271/3993] Building CXX object lib\DTLTO\CMakeFiles\LLVMDTLTO.dir\DTLTO.cpp.obj
[1272/3993] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
[1273/3993] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTOBackend.cpp.obj
[1274/3993] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTOModule.cpp.obj
[1275/3993] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTOCodeGenerator.cpp.obj
[1276/3993] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\UpdateCompilerUsed.cpp.obj
---
[2244/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMacroFusion.cpp.obj
[2245/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMCInstLower.cpp.obj
[2246/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMemoryUtils.cpp.obj
[2247/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUIGroupLP.cpp.obj
[2248/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPULowerVGPREncoding.cpp.obj
[2249/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMCResourceInfo.cpp.obj
[2250/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMarkLastScratchLoad.cpp.obj
[2251/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUMIRFormatter.cpp.obj
[2252/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPerfHintAnalysis.cpp.obj
[2253/3993] Building CXX object lib\Target\AMDGPU\CMakeFiles\LLVMAMDGPUCodeGen.dir\AMDGPUPostLegalizerCombiner.cpp.obj
---
[2781/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVTargetTransformInfo.cpp.obj
[2782/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVVectorPeephole.cpp.obj
[2783/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVVLOptimizer.cpp.obj
[2784/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVVMV0Elimination.cpp.obj
[2785/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVVSETVLIInfoAnalysis.cpp.obj
[2786/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVZacasABIFix.cpp.obj
[2787/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\RISCVZilsdOptimizer.cpp.obj
[2788/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVCallLowering.cpp.obj
[2789/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVLegalizerInfo.cpp.obj
[2790/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPostLegalizerCombiner.cpp.obj
[2791/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVO0PreLegalizerCombiner.cpp.obj
[2792/3993] Building CXX object lib\Target\RISCV\CMakeFiles\LLVMRISCVCodeGen.dir\GISel\RISCVPreLegalizerCombiner.cpp.obj
---
[3630/3993] Building CXX object tools\llvm-extract\CMakeFiles\llvm-extract.dir\llvm-extract.cpp.obj
[3631/3993] Building CXX object tools\llvm-exegesis\lib\RISCV\CMakeFiles\LLVMExegesisRISCV.dir\Target.cpp.obj
[3632/3993] Linking CXX static library lib\LLVMExegesisRISCV.lib
[3633/3993] Building CXX object tools\llvm-gsymutil\CMakeFiles\llvm-gsymutil.dir\llvm-gsymutil.cpp.obj
[3634/3993] Building CXX object tools\llvm-ir2vec\CMakeFiles\llvm-ir2vec.dir\llvm-ir2vec.cpp.obj
[3635/3993] Building RC object tools\llvm-gsymutil\CMakeFiles\llvm-gsymutil.dir\__\__\resources\windows_version_resource.rc.res
[3636/3993] Linking CXX executable bin\llvm-extract.exe
[3637/3993] Building CXX object tools\llvm-gsymutil\CMakeFiles\llvm-gsymutil.dir\llvm-gsymutil-driver.cpp.obj
[3638/3993] Building CXX object tools\llvm-ifs\CMakeFiles\llvm-ifs.dir\ErrorCollector.cpp.obj
[3639/3993] Building CXX object tools\llvm-ifs\CMakeFiles\llvm-ifs.dir\llvm-ifs.cpp.obj
[3640/3993] Building RC object tools\llvm-ifs\CMakeFiles\llvm-ifs.dir\__\__\resources\windows_version_resource.rc.res
[3641/3993] Building RC object tools\llvm-ir2vec\CMakeFiles\llvm-ir2vec.dir\__\__\resources\windows_version_resource.rc.res
[3642/3993] Linking CXX executable bin\llvm-exegesis.exe
[3643/3993] Building CXX object tools\llvm-ifs\CMakeFiles\llvm-ifs.dir\llvm-ifs-driver.cpp.obj
[3644/3993] Building CXX object tools\llvm-isel-fuzzer\CMakeFiles\llvm-isel-fuzzer.dir\DummyISelFuzzer.cpp.obj
[3645/3993] Linking CXX executable bin\llvm-ifs.exe
[3646/3993] Building RC object tools\llvm-isel-fuzzer\CMakeFiles\llvm-isel-fuzzer.dir\__\__\resources\windows_version_resource.rc.res
---
[3859/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceVirtualRegisters.cpp.obj
[3860/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceRegisterMasks.cpp.obj
[3861/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceRegisterDefs.cpp.obj
[3862/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceRegisterUses.cpp.obj
[3863/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceSinkDefsToUses.cpp.obj
[3864/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceTargetFeaturesAttr.cpp.obj
[3865/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceUsingSimplifyCFG.cpp.obj
[3866/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\RunIRPasses.cpp.obj
[3867/3993] Building RC object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\__\__\resources\windows_version_resource.rc.res
[3868/3993] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\SimplifyInstructions.cpp.obj
---
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Bitstream/BitCodes.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Bitstream/BitstreamReader.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Bitstream/BitstreamWriter.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/ActionCache.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/BuiltinCASContext.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/BuiltinObjectHasher.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/BuiltinUnifiedCASDatabases.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/CASID.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/CASReference.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/FileOffset.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/MappedFileRegionArena.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/ObjectStore.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/OnDiskDataAllocator.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/OnDiskGraphDB.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/OnDiskKeyValueDB.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CAS/UnifiedOnDiskCache.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CGData
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CGData/CGDataPatchItem.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CGData/CodeGenData.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CGData/CodeGenData.inc
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/CGData/CodeGenDataReader.h
---
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Demangle/MicrosoftDemangle.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Demangle/StringViewExtras.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/Demangle/Utility.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DTLTO
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DTLTO/DTLTO.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DWARFCFIChecker
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DWARFCFIChecker/DWARFCFIAnalysis.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameAnalyzer.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameReceiver.h
-- Installing: D:/a/rust/rust/build/i686-pc-windows-msvc/llvm/include/llvm/DWARFCFIChecker/DWARFCFIFunctionFrameStreamer.h
---
warning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io)
error: failed to get `dlmalloc` as a dependency of package `std v0.0.0 (D:\a\rust\rust\library\std)`

Caused by:
  download of dl/ma/dlmalloc failed

Caused by:
  failed to download from `https://index.crates.io/dl/ma/dlmalloc`

Caused by:
  [6] Could not resolve hostname (Could not resolve host: index.crates.io)
Bootstrap failed while executing `test --stage 2 --skip=compiler --skip=src`
Build completed unsuccessfully in 0:46:05
make: *** [Makefile:115: ci-msvc-py] Error 1
  local time: Thu Feb 19 14:05:47 CUT 2026
  network time: Thu, 19 Feb 2026 14:05:49 GMT
##[error]Process completed with exit code 2.
##[group]Run echo "disk usage:"
echo "disk usage:"

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

rust-bors bot commented Feb 19, 2026

💔 Test for e61c336 failed: CI. Failed job:

@JonathanBrouwer
Copy link
Contributor

Spurious
@bors retry

@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 Feb 19, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Feb 19, 2026
Bring back `enum DepKind`.

It was removed in #115920 to enable it being moved to `rustc_query_system`, a move that has recently been reversed. It's much simpler as an enum.

r? @Zalathar
@rust-log-analyzer
Copy link
Collaborator

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

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

=> Removing the following docker images:
WARNING: This output is designed for human readability. For machine-readable output, please use --format.
IMAGE                                               ID             DISK USAGE   CONTENT SIZE   EXTRA
ghcr.io/dependabot/dependabot-updater-core:latest   e5f6a669cd91       1.18GB          310MB        
=> Removing docker images...
Deleted Images:
untagged: ghcr.io/dependabot/dependabot-updater-core:latest
deleted: sha256:e5f6a669cd91709f67772f14e1a32ab56ea12631fb213c32f8396339ac68e07b
deleted: sha256:a6e51fba71b953db04611aa17bc8045847233f0d64d7f1dd56b778d777b9a0e6
deleted: sha256:c30f9e1abc0878de2082c6acb3a9257a516e0d6060cbe7fa29405a658b29aaca

Total reclaimed space: 309.7MB
---
test [ui] tests/ui/abi/abi-sysv64-arg-passing.rs ... ignored, ignored when the architecture is arm
test [ui] tests/ui/abi/abi-sysv64-register-usage.rs ... ignored, ignored when the architecture is arm
test [ui] tests/ui/abi/abi-typo-unstable.rs#feature_enabled ... ok
test [ui] tests/ui/abi/abi-typo-unstable.rs#feature_disabled ... ok
test [ui] tests/ui/abi/avr-sram.rs#disable_sram ... ok
test [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#aarch64 ... ok
test [ui] tests/ui/abi/avr-sram.rs#has_sram ... ok
test [ui] tests/ui/abi/avr-sram.rs#no_sram ... ok
test [ui] tests/ui/abi/arm-unadjusted-intrinsic.rs#arm ... ok
test [ui] tests/ui/abi/bad-custom.rs ... ok
test [ui] tests/ui/abi/anon-extern-mod.rs ... ok
test [ui] tests/ui/abi/c-zst.rs#aarch64-darwin ... ok
test [ui] tests/ui/abi/c-zst.rs#powerpc-linux ... ok
---
test [ui] tests/ui/asm/aarch64/type-f16.rs ... ignored, only executed when the architecture is aarch64
test [ui] tests/ui/array-slice-vec/vector-no-ann-2.rs ... ok
test [ui] tests/ui/asm/aarch64/arm64ec-sve.rs ... ok
test [ui] tests/ui/array-slice-vec/vector-slice-matching-8498.rs ... ok
test [ui] tests/ui/asm/aarch64v8r.rs#hf ... ok
test [ui] tests/ui/asm/aarch64v8r.rs#r82 ... ok
test [ui] tests/ui/asm/aarch64v8r.rs#sf ... ok
test [ui] tests/ui/asm/arm-low-dreg.rs ... ok
test [ui] tests/ui/asm/binary_asm_labels.rs ... ignored, only executed when the architecture is x86_64
test [ui] tests/ui/asm/binary_asm_labels_allowed.rs ... ignored, only executed when the architecture is aarch64
test [ui] tests/ui/asm/asm-with-nested-closure.rs ... ok
test [ui] tests/ui/asm/cfg.rs#reva ... ignored, only executed when the architecture is x86_64
---
test [ui] tests/ui/const-generics/occurs-check/unused-substs-3.rs ... ok
test [ui] tests/ui/const-generics/ogca/basic.rs ... ok
test [ui] tests/ui/const-generics/occurs-check/unused-substs-5.rs ... ok
test [ui] tests/ui/const-generics/occurs-check/unused-substs-4.rs ... ok
test [ui] tests/ui/const-generics/ogca/basic-fail.rs ... ok
test [ui] tests/ui/const-generics/ogca/coherence-ambiguous.rs ... ok
test [ui] tests/ui/const-generics/ogca/rhs-but-not-root.rs ... ok
test [ui] tests/ui/const-generics/opaque_types2.rs ... ok
test [ui] tests/ui/const-generics/opaque_types.rs ... ok
test [ui] tests/ui/const-generics/outer-lifetime-in-const-generic-default.rs ... ok
test [ui] tests/ui/const-generics/overlapping_impls.rs ... ok
test [ui] tests/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.rs#full ... ok
---
test [ui] tests/ui/extern/issue-64655-extern-rust-must-allow-unwind.rs#fat2 ... ok
test [ui] tests/ui/extern/issue-64655-extern-rust-must-allow-unwind.rs#fat3 ... ok
test [ui] tests/ui/extern/issue-80074.rs ... ok
test [ui] tests/ui/extern/issue-95829.rs ... ok
test [ui] tests/ui/extern/lgamma-linkage.rs ... ok
test [ui] tests/ui/extern/no-mangle-associated-fn.rs ... ok
test [ui] tests/ui/extern/not-in-block.rs ... ok
test [ui] tests/ui/extern/unsized-extern-derefmove.rs ... ok
test [ui] tests/ui/extern/windows-tcb-trash-13259.rs ... ok
test [ui] tests/ui/feature-gates/allow-features-empty.rs ... ok
---
test [ui] tests/ui/feature-gates/feature-gate-macro-derive.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-macro-metavar-expr-concat.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-marker_trait_attr.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-may-dangle.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-mgca-type-const-syntax.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-min-generic-const-args.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-min_const_fn.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-movrs_target_feature.rs ... ignored, only executed when the architecture is x86_64
test [ui] tests/ui/feature-gates/feature-gate-more-maybe-bounds.rs ... ok
test [ui] tests/ui/feature-gates/feature-gate-more-qualified-paths.rs ... ok
---
test [ui] tests/ui/imports/ambiguous-9.rs ... ok
test [ui] tests/ui/imports/ambiguous-import-visibility-module.rs ... ok
test [ui] tests/ui/imports/ambiguous-8.rs ... ok
test [ui] tests/ui/imports/ambiguous-glob-vs-expanded-extern.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-glob-vs-multiouter.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-globvsglob.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-no-implicit-prelude.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-non-prelude-core-glob.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-non-prelude-std-glob.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-pick-core.rs ... ok
test [ui] tests/ui/imports/ambiguous-panic-pick-std.rs ... ok
---
test [ui] tests/ui/layout/null-pointer-optimization-sizes.rs ... ok
test [ui] tests/ui/layout/post-mono-layout-cycle.rs ... ok
test [ui] tests/ui/layout/randomize.rs#normal ... ok
test [ui] tests/ui/layout/reprc-power-alignment.rs ... ok
test [ui] tests/ui/layout/rigid-alias-due-to-broken-impl.rs ... ok
test [ui] tests/ui/layout/null-pointer-optimization.rs ... ok
test [ui] tests/ui/layout/rigid-alias-no-params.rs ... ok
test [ui] tests/ui/layout/randomize.rs#randomize-layout ... ok
test [ui] tests/ui/layout/rust-call-abi-not-a-tuple-ice-81974.rs ... ok
test [ui] tests/ui/layout/struct.rs ... ok
---
test num::bignum::test_ord ... ok
test num::bignum::test_mul_small_overflow ... ok
test num::bignum::test_sub ... ok
test num::bignum::test_sub_underflow_1 ... ok
test num::carryless_mul::carrying_carryless_mul ... ok
test num::bignum::test_sub_underflow_2 ... ok
test num::carryless_mul::carryless_mul_u128 ... ok
test num::carryless_mul::carryless_mul_u16 ... ok
test num::carryless_mul::carryless_mul_u32 ... ok
test num::carryless_mul::carryless_mul_u64 ... ok
test num::carryless_mul::carryless_mul_u8 ... ok
test num::carryless_mul::widening_carryless_mul ... ok
test num::const_from::from ... ok
test num::dec2flt::decimal::check_fast_path_f16 ... ok
test num::dec2flt::decimal::check_fast_path_f32 ... ok
test num::dec2flt::decimal::check_fast_path_f64 ... ok
test num::dec2flt::decimal_seq::test_parse ... ok
---
failures:

---- oneshot::recv_deadline_passed stdout ----

thread 'oneshot::recv_deadline_passed' (11268) panicked at library/std/tests/sync/oneshot.rs:246:5:
assertion failed: start.elapsed() < timeout * 3
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: <sync::oneshot::recv_deadline_passed::{closure#0} as core::ops::function::FnOnce<()>>::call_once

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

rust-bors bot commented Feb 19, 2026

💔 Test for 1c6c54e failed: CI. Failed job:

@Zalathar
Copy link
Member

Those oneshot tests have been a total disaster for CI flakiness.

@bors retry

@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 Feb 19, 2026
@rust-bors

This comment has been minimized.

@rust-bors rust-bors bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 20, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 20, 2026

☀️ Test successful - CI
Approved by: Zalathar
Duration: 3h 24m 49s
Pushing 59fd4ef to main...

@rust-bors rust-bors bot merged commit 59fd4ef into rust-lang:main Feb 20, 2026
12 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 20, 2026
@github-actions
Copy link
Contributor

What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing ef70767 (parent) -> 59fd4ef (this PR)

Test differences

Show 32 test diffs

32 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 59fd4ef94daa991e6797b5aa6127e824f3067def --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-aarch64-apple: 3h 13m -> 1h 39m (-48.3%)
  2. dist-x86_64-apple: 3h 12m -> 1h 52m (-41.3%)
  3. dist-apple-various: 1h 28m -> 2h 1m (+37.3%)
  4. x86_64-gnu-llvm-20: 1h 6m -> 1h 18m (+17.7%)
  5. aarch64-gnu-llvm-20-2: 45m 9s -> 52m 57s (+17.3%)
  6. i686-gnu-2: 1h 30m -> 1h 43m (+14.7%)
  7. i686-gnu-1: 2h 9m -> 2h 27m (+14.1%)
  8. x86_64-rust-for-linux: 46m 25s -> 52m 38s (+13.4%)
  9. dist-i686-linux: 1h 44m -> 1h 57m (+12.5%)
  10. pr-check-2: 37m 47s -> 42m 24s (+12.2%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@nnethercote nnethercote deleted the bring-back-enum-DepKind branch February 20, 2026 09:48
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (59fd4ef): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.8% [0.8%, 0.8%] 1
Improvements ✅
(primary)
-0.3% [-0.7%, -0.2%] 34
Improvements ✅
(secondary)
-0.3% [-0.7%, -0.1%] 10
All ❌✅ (primary) -0.3% [-0.7%, -0.2%] 34

Max RSS (memory usage)

Results (primary 1.2%, secondary 1.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.9% [2.2%, 3.5%] 2
Regressions ❌
(secondary)
2.2% [1.7%, 2.7%] 4
Improvements ✅
(primary)
-2.0% [-2.0%, -2.0%] 1
Improvements ✅
(secondary)
-1.2% [-1.2%, -1.2%] 1
All ❌✅ (primary) 1.2% [-2.0%, 3.5%] 3

Cycles

Results (primary 2.5%, secondary 3.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.5% [2.0%, 3.3%] 8
Regressions ❌
(secondary)
3.5% [2.3%, 5.1%] 7
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.5% [2.0%, 3.3%] 8

Binary size

Results (primary 0.0%, secondary 0.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.0% [0.0%, 0.0%] 6
Regressions ❌
(secondary)
0.0% [0.0%, 0.1%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.0% [0.0%, 0.0%] 6

Bootstrap: 496.246s -> 481.762s (-2.92%)
Artifact size: 397.86 MiB -> 397.93 MiB (0.02%)

@rustbot rustbot added the perf-regression Performance regression. label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments