[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 09:33:03 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/14664
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
2.413 [323/26/402] Building CXX object unittests/Object/CMakeFiles/ObjectTests.dir/SymbolicFileTest.cpp.o
2.469 [322/26/403] Building CXX object unittests/Object/CMakeFiles/ObjectTests.dir/XCOFFObjectFileTest.cpp.o
2.930 [321/26/404] Linking CXX executable unittests/ObjCopy/ObjCopyTests
2.952 [320/26/405] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/ELFYAMLTest.cpp.o
2.972 [319/26/406] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/MinidumpYAMLTest.cpp.o
2.991 [318/26/407] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/YAML2ObjTest.cpp.o
3.008 [317/26/408] Building CXX object unittests/ObjectYAML/CMakeFiles/ObjectYAMLTests.dir/YAMLTest.cpp.o
3.391 [316/26/409] Linking CXX executable unittests/Object/ObjectTests
3.418 [315/26/410] Building Opts.inc...
3.426 [314/26/411] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/ml-opt-dev-x86-64-b1/build/unittests/ADT -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/ADT -I/b/ml-opt-dev-x86-64-b1/build/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o -MF unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o.d -o unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o -c /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp
In file included from /b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:61,
from /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp:10:
/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-more-matchers.h: In instantiation of ‘bool testing::internal::IsEmptyMatcher::MatchAndExplain(const MatcheeContainerType&, testing::MatchResultListener*) const [with MatcheeContainerType = llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>]’:
/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:647:35: required from ‘bool testing::PolymorphicMatcher<Impl>::MonomorphicImpl<T>::MatchAndExplain(T, testing::MatchResultListener*) const [with T = const llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>&; Impl = testing::internal::IsEmptyMatcher]’
/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:646:10: required from here
/b/ml-opt-dev-x86-64-b1/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-more-matchers.h:73:40: error: ‘const class llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>’ has no member named ‘size’
73 | *listener << "whose size is " << c.size();
| ~~^~~~
3.441 [314/25/412] Building CXX object unittests/Option/CMakeFiles/OptionTests.dir/OptionParsingTest.cpp.o
3.559 [314/24/413] Linking CXX executable unittests/MC/MCTests
3.622 [314/23/414] Linking CXX executable unittests/ObjectYAML/ObjectYAMLTests
5.197 [314/22/415] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
5.228 [314/21/416] Linking CXX executable unittests/MC/AMDGPU/AMDGPUMCTests
5.732 [314/20/417] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
7.625 [314/19/418] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
8.298 [314/18/419] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
8.739 [314/17/420] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
9.313 [314/16/421] Linking CXX executable unittests/MIR/MIRTests
9.742 [314/15/422] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/DDGTest.cpp.o
9.817 [314/14/423] Linking CXX executable unittests/MI/MITests
11.586 [314/13/424] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ReplaceWithVecLibTest.cpp.o
12.372 [314/12/425] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LastRunTrackingAnalysisTest.cpp.o
12.570 [314/11/426] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorUtilsTest.cpp.o
13.115 [314/10/427] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineOrderAnalysisTest.cpp.o
13.428 [314/9/428] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VFABIDemanglerTest.cpp.o
13.649 [314/8/429] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineAdvisorAnalysisTest.cpp.o
15.131 [314/7/430] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/FunctionPropertiesAnalysisTest.cpp.o
15.295 [314/6/431] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/PassManagerTest.cpp.o
16.636 [314/5/432] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/MachineDomTreeUpdaterTest.cpp.o
17.061 [314/4/433] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o
17.842 [314/3/434] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/InstructionsTest.cpp.o
32.260 [314/2/435] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/PassBuilderCallbacksTest.cpp.o
39.379 [314/1/436] Building CXX object unittests/Frontend/CMakeFiles/LLVMFrontendTests.dir/OpenMPIRBuilderTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/130139
More information about the llvm-commits
mailing list