[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 09:28:38 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/19738
<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.538 [61/34/36] Linking CXX executable unittests/Debuginfod/DebuginfodTests
2.585 [60/34/37] Linking CXX executable unittests/DebugInfo/BTF/DebugInfoBTFTests
2.598 [59/34/38] Linking CXX executable tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTests
2.598 [58/34/39] Linking CXX executable unittests/DebugInfo/GSYM/DebugInfoGSYMTests
2.599 [57/34/40] Linking CXX executable tools/clang/unittests/AST/ASTTests
2.669 [56/34/41] Linking CXX executable unittests/ExecutionEngine/JITLink/JITLinkTests
2.683 [55/34/42] Linking CXX executable unittests/DebugInfo/PDB/DebugInfoPDBTests
2.713 [54/34/43] Linking CXX executable unittests/ExecutionEngine/ExecutionEngineTests
2.793 [53/34/44] Linking CXX executable tools/clang/unittests/StaticAnalyzer/StaticAnalysisTests
2.894 [52/34/45] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/g++ -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/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/unittests/ADT -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/ADT -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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 -Wctad-maybe-unsupported -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 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:61,
from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp:10:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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>]’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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]’
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:646:10: required from here
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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();
| ~~^~~~
2.908 [52/33/46] Linking CXX executable unittests/Linker/LinkerTests
2.990 [52/32/47] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
3.009 [52/31/48] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
3.030 [52/30/49] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
3.092 [52/29/50] Linking CXX executable unittests/MC/MCTests
3.137 [52/28/51] Linking CXX executable unittests/Object/ObjectTests
3.143 [52/27/52] Linking CXX executable unittests/ObjectYAML/ObjectYAMLTests
3.266 [52/26/53] Linking CXX executable unittests/ObjCopy/ObjCopyTests
3.611 [52/25/54] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
3.682 [52/24/55] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
3.691 [52/23/56] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
3.775 [52/22/57] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
3.942 [52/21/58] Linking CXX executable unittests/MIR/MIRTests
4.016 [52/20/59] Linking CXX executable unittests/MI/MITests
4.307 [52/19/60] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
4.352 [52/18/61] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
4.816 [52/17/62] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
5.033 [52/16/63] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
5.151 [52/15/64] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
6.450 [52/14/65] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/DDGTest.cpp.o
7.997 [52/13/66] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorUtilsTest.cpp.o
8.328 [52/12/67] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LastRunTrackingAnalysisTest.cpp.o
8.734 [52/11/68] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ReplaceWithVecLibTest.cpp.o
8.952 [52/10/69] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineOrderAnalysisTest.cpp.o
9.084 [52/9/70] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineAdvisorAnalysisTest.cpp.o
9.440 [52/8/71] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VFABIDemanglerTest.cpp.o
10.425 [52/7/72] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o
10.625 [52/6/73] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/PassManagerTest.cpp.o
11.003 [52/5/74] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/FunctionPropertiesAnalysisTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/130139
More information about the llvm-commits
mailing list