[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 09:53:22 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-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/175/builds/14486
<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)
...
23.377 [674/26/51] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/BumpPtrListTest.cpp.o
23.731 [673/26/52] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DAGDeltaAlgorithmTest.cpp.o
23.761 [672/26/53] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/ProfileTest.cpp.o
24.048 [671/26/54] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DeltaAlgorithmTest.cpp.o
24.175 [670/26/55] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DepthFirstIteratorTest.cpp.o
24.388 [669/26/56] Building CXX object unittests/tools/llvm-mca/CMakeFiles/LLVMMCATests.dir/X86/TestIncrementalMCA.cpp.o
24.581 [668/26/57] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/JITLinkRedirectionManagerTest.cpp.o
25.015 [667/26/58] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EditDistanceTest.cpp.o
25.219 [666/26/59] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/CombinationGeneratorTest.cpp.o
25.441 [665/26/60] 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-devrel-x86-64-b1/build/unittests/ADT -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/unittests/ADT -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/third-party/unittest/googletest/include -I/b/ml-opt-devrel-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-devrel-x86-64-b1/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp
In file included from /b/ml-opt-devrel-x86-64-b1/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:61,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp:10:
/b/ml-opt-devrel-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-devrel-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-devrel-x86-64-b1/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:646:10: required from here
/b/ml-opt-devrel-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();
| ~~^~~~
25.674 [665/25/61] Building CXX object unittests/TargetParser/CMakeFiles/TargetParserTests.dir/CSKYTargetParserTest.cpp.o
25.687 [665/24/62] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/ConcurrentHashtableTest.cpp.o
26.631 [665/23/63] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FunctionRefTest.cpp.o
26.967 [665/22/64] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/DwarfRegMappings.cpp.o
27.112 [665/21/65] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DirectedGraphTest.cpp.o
27.328 [665/20/66] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/CoalescingBitVectorTest.cpp.o
27.469 [665/19/67] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/ReOptimizeLayerTest.cpp.o
27.609 [665/18/68] Building CXX object unittests/TargetParser/CMakeFiles/TargetParserTests.dir/RISCVISAInfoTest.cpp.o
27.621 [665/17/69] Building CXX object unittests/ExecutionEngine/Orc/CMakeFiles/OrcJITTests.dir/CoreAPIsTest.cpp.o
27.777 [665/16/70] Building CXX object third-party/unittest/CMakeFiles/llvm_gtest.dir/googletest/src/gtest-all.cc.o
27.846 [665/15/71] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o
27.876 [665/14/72] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FloatingPointMode.cpp.o
28.046 [665/13/73] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IListIteratorBitsTest.cpp.o
28.070 [665/12/74] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FoldingSet.cpp.o
28.639 [665/11/75] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IListIteratorTest.cpp.o
28.931 [665/10/76] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/IListBaseTest.cpp.o
29.009 [665/9/77] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FunctionExtrasTest.cpp.o
29.049 [665/8/78] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/FallibleIteratorTest.cpp.o
29.379 [665/7/79] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/HashingTest.cpp.o
29.560 [665/6/80] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DenseSetTest.cpp.o
30.505 [665/5/81] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DynamicAPIntTest.cpp.o
33.177 [665/4/82] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/BitVectorTest.cpp.o
37.857 [665/3/83] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/APIntTest.cpp.o
40.846 [665/2/84] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/DenseMapTest.cpp.o
48.118 [665/1/85] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/APFloatTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/130139
More information about the llvm-commits
mailing list