Skip to content

Instantly share code, notes, and snippets.

@zeroomega
Created September 13, 2023 22:26
Show Gist options
  • Save zeroomega/1654cbdf714f265c05da8d86b6854971 to your computer and use it in GitHub Desktop.
Save zeroomega/1654cbdf714f265c05da8d86b6854971 to your computer and use it in GitHub Desktop.
[1/583] Linking CXX static library lib/libclangFormat.a
[2/583] Linking CXX static library lib/libclangSema.a
[3/583] Linking CXX static library lib/libclangParse.a
[4/583] Linking CXX static library lib/libclangSerialization.a
[5/583] Linking CXX static library lib/libclangFrontend.a
[6/583] Linking CXX static library lib/libclangCodeGen.a
[7/583] Linking CXX static library lib/libclangRewriteFrontend.a
[8/583] Linking CXX executable bin/clang-ast-dump
[9/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TypeTraitsTest.cpp.o
[10/583] Linking CXX static library lib/libclangIndex.a
[11/583] Linking CXX static library lib/libclangCrossTU.a
[12/583] Linking CXX static library lib/libclangExtractAPI.a
[13/583] Building CXX object unittests/Bitcode/CMakeFiles/BitcodeTests.dir/DataLayoutUpgradeTest.cpp.o
[14/583] Linking CXX static library lib/libclangStaticAnalyzerCore.a
[15/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o
/mnt/nvme_sec/SRC/llvm-prebuilts/clang/linux-x64/bin/clang++ --sysroot=/mnt/nvme_sec/SRC/llvm-prebuilts/sysroot/linux -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/include -I/mnt/nvme_sec/SRC/llvm-project/llvm/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include -isystem /mnt/nvme_sec/SRC/llvm-prebuilts/zlib_install/include -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/build-gtest=build-gtest -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/= -no-canonical-prefixes -O3 -DNDEBUG -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o -MF unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o.d -o unittests/ADT/CMakeFiles/ADTTests.dir/EnumeratedArrayTest.cpp.o -c /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:15:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3739:28: error: no type named 'value_type' in 'llvm::iterator_range<std::reverse_iterator<float *>>'
typedef typename View::value_type Element;
~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>::operator Matcher<const llvm::iterator_range<std::reverse_iterator<float *>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:93:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::operator()<llvm::iterator_range<std::reverse_iterator<float *>>>' requested here
EXPECT_THAT(make_range(Array.rbegin(), Array.rend()),
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:15:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3373:34: error: no type named 'value_type' in 'llvm::iterator_range<std::reverse_iterator<float *>>'
typedef typename StlContainer::value_type Element;
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3745:35: note: in instantiation of template class 'testing::internal::ElementsAreMatcherImpl<const llvm::iterator_range<std::reverse_iterator<float *>> &>' requested here
return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>::operator Matcher<const llvm::iterator_range<std::reverse_iterator<float *>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<std::reverse_iterator<float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:93:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::operator()<llvm::iterator_range<std::reverse_iterator<float *>>>' requested here
EXPECT_THAT(make_range(Array.rbegin(), Array.rend()),
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:15:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3739:28: error: no type named 'value_type' in 'llvm::iterator_range<std::reverse_iterator<const float *>>'
typedef typename View::value_type Element;
~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>::operator Matcher<const llvm::iterator_range<std::reverse_iterator<const float *>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:95:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::operator()<llvm::iterator_range<std::reverse_iterator<const float *>>>' requested here
EXPECT_THAT(make_range(ConstArray.rbegin(), ConstArray.rend()),
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:15:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3373:34: error: no type named 'value_type' in 'llvm::iterator_range<std::reverse_iterator<const float *>>'
typedef typename StlContainer::value_type Element;
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3745:35: note: in instantiation of template class 'testing::internal::ElementsAreMatcherImpl<const llvm::iterator_range<std::reverse_iterator<const float *>> &>' requested here
return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>::operator Matcher<const llvm::iterator_range<std::reverse_iterator<const float *>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<std::reverse_iterator<const float *>> &, testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/EnumeratedArrayTest.cpp:95:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<double, double, double>>>::operator()<llvm::iterator_range<std::reverse_iterator<const float *>>>' requested here
EXPECT_THAT(make_range(ConstArray.rbegin(), ConstArray.rend()),
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
4 errors generated.
[16/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringSetTest.cpp.o
[17/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o
[18/583] Linking CXX static library lib/libclangStaticAnalyzerCheckers.a
[19/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ConstraintSystemTest.cpp.o
[20/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseSetTest.cpp.o
[21/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StatisticTest.cpp.o
[22/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TypeSwitchTest.cpp.o
[23/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseMultiSetTest.cpp.o
[24/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o
[25/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TwineTest.cpp.o
[26/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringSwitchTest.cpp.o
[27/583] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/AllocationOrderTest.cpp.o
[28/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SparseBitVectorTest.cpp.o
[29/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/DwarfTest.cpp.o
[30/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/TensorSpecTest.cpp.o
[31/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SequenceTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/SequenceTest.cpp.o
/mnt/nvme_sec/SRC/llvm-prebuilts/clang/linux-x64/bin/clang++ --sysroot=/mnt/nvme_sec/SRC/llvm-prebuilts/sysroot/linux -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/include -I/mnt/nvme_sec/SRC/llvm-project/llvm/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include -isystem /mnt/nvme_sec/SRC/llvm-prebuilts/zlib_install/include -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/build-gtest=build-gtest -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/= -no-canonical-prefixes -O3 -DNDEBUG -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ADT/CMakeFiles/ADTTests.dir/SequenceTest.cpp.o -MF unittests/ADT/CMakeFiles/ADTTests.dir/SequenceTest.cpp.o.d -o unittests/ADT/CMakeFiles/ADTTests.dir/SequenceTest.cpp.o -c /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3739:28: error: no type named 'value_type' in 'llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>'
typedef typename View::value_type Element;
~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>::operator Matcher<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:188:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::operator()<llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>>' requested here
EXPECT_THAT(reverse(seq(-4, 5)), ElementsAre(4, 3, 2, 1, 0, -1, -2, -3, -4));
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3373:34: error: no type named 'value_type' in 'llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>'
typedef typename StlContainer::value_type Element;
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3745:35: note: in instantiation of template class 'testing::internal::ElementsAreMatcherImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &>' requested here
return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>::operator Matcher<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:188:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int>>>::operator()<llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>>' requested here
EXPECT_THAT(reverse(seq(-4, 5)), ElementsAre(4, 3, 2, 1, 0, -1, -2, -3, -4));
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3739:28: error: no type named 'value_type' in 'llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>'
typedef typename View::value_type Element;
~~~~~~~~~~~~~~~^~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>::operator Matcher<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:192:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<int, int, int, int, int, int, int, int, int, int>>>::operator()<llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>>' requested here
EXPECT_THAT(reverse(seq_inclusive(-4, 5)),
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/SequenceTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3745:12: error: no matching conversion for functional-style cast from 'ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *' to 'Matcher<const iterator_range<SafeIntIterator<int, true>> &>'
return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:471:12: note: candidate constructor not viable: no known conversion from 'ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *' to 'const MatcherInterface<const iterator_range<SafeIntIterator<int, true>> &> *' for 1st argument
explicit Matcher(const MatcherInterface<const T&>* impl)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:487:3: note: candidate constructor not viable: no known conversion from 'ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *' to 'const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>>' for 1st argument
Matcher(T value); // NOLINT
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h:55:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *' to 'const Matcher<const iterator_range<SafeIntIterator<int, true>> &>' for 1st argument
class Matcher;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h:55:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *' to 'Matcher<const iterator_range<SafeIntIterator<int, true>> &>' for 1st argument
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:475:12: note: candidate template ignored: requirement '!std::is_same<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &, const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &>::value' was not satisfied [with U = const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &]
explicit Matcher(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:483:3: note: candidate template ignored: substitution failure [with M = ElementsAreMatcherImpl<const iterator_range<SafeIntIterator<int, true>> &> *]: 'std::remove_reference<testing::internal::ElementsAreMatcherImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &> *>::type' (aka 'testing::internal::ElementsAreMatcherImpl<const llvm::iterator_range<llvm::detail::SafeIntIterator<int, true>> &> *') is not a class, namespace, or enumeration
Matcher(M&& m) : internal::MatcherBase<T>(std::forward<M>(m)) {} // NOLINT
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:468:12: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
explicit Matcher() {} // NOLINT
^
4 errors generated.
[32/583] Building CXX object unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamWriterTest.cpp.o
[33/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CallGraphTest.cpp.o
[34/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallStringTest.cpp.o
[35/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoadsTest.cpp.o
[36/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/TargetLibraryInfoTest.cpp.o
[37/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ValueLatticeTest.cpp.o
[38/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/TBAATest.cpp.o
[39/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o
[40/583] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/AMDGPUMetadataTest.cpp.o
[41/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o
[42/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemoryBuiltinsTest.cpp.o
[43/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallSetTest.cpp.o
[44/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CaptureTrackingTest.cpp.o
[45/583] Building CXX object unittests/AsmParser/CMakeFiles/AsmParserTests.dir/AsmParserTest.cpp.o
[46/583] Building CXX object unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o
[47/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/MLModelRunnerTest.cpp.o
[48/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/SparsePropagation.cpp.o
[49/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/GlobalsModRefTest.cpp.o
[50/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/BranchProbabilityInfoTest.cpp.o
[51/583] Building CXX object unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o
[52/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PhiValuesTest.cpp.o
[53/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/BlockFrequencyInfoTest.cpp.o
[54/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/AliasSetTrackerTest.cpp.o
[55/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringExtrasTest.cpp.o
[56/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/STLExtrasTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/STLExtrasTest.cpp.o
/mnt/nvme_sec/SRC/llvm-prebuilts/clang/linux-x64/bin/clang++ --sysroot=/mnt/nvme_sec/SRC/llvm-prebuilts/sysroot/linux -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LIBCPP_ENABLE_HARDENED_MODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT -I/mnt/nvme_sec/SRC/llvm-project/build-gtest/include -I/mnt/nvme_sec/SRC/llvm-project/llvm/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include -I/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include -isystem /mnt/nvme_sec/SRC/llvm-prebuilts/zlib_install/include -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/build-gtest=build-gtest -ffile-prefix-map=/mnt/nvme_sec/SRC/llvm-project/= -no-canonical-prefixes -O3 -DNDEBUG -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/ADT/CMakeFiles/ADTTests.dir/STLExtrasTest.cpp.o -MF unittests/ADT/CMakeFiles/ADTTests.dir/STLExtrasTest.cpp.o.d -o unittests/ADT/CMakeFiles/ADTTests.dir/STLExtrasTest.cpp.o -c /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/STLExtrasTest.cpp
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/STLExtrasTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3441:53: error: no viable conversion from 'enumerator_result<[...], const int &, bool>' to 'const enumerator_result<[...], int &, std::__bit_reference<std::vector<bool>>>'
match = matchers_[exam_pos].MatchAndExplain(*it, &s);
^~~
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3378:3: note: in instantiation of member function 'testing::internal::ElementsAreMatcherImpl<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &>::MatchAndExplain' requested here
ElementsAreMatcherImpl(InputIter first, InputIter last) {
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3745:35: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcherImpl<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &>::ElementsAreMatcherImpl<std::__wrap_iter<testing::Matcher<const llvm::detail::enumerator_result<unsigned long, int &, std::__bit_reference<std::vector<bool>>> &> *>>' requested here
return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:373:12: note: in instantiation of function template specialization 'testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>::operator Matcher<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &>' requested here
return polymorphic_matcher_or_value;
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:355:12: note: in instantiation of function template specialization 'testing::internal::MatcherCastImpl<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &, testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>>::CastImpl<false>' requested here
return CastImpl(polymorphic_matcher_or_value,
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:515:43: note: in instantiation of member function 'testing::internal::MatcherCastImpl<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &, testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>>::Cast' requested here
return internal::MatcherCastImpl<T, M>::Cast(matcher);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:522:10: note: in instantiation of function template specialization 'testing::MatcherCast<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &, testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>>' requested here
return MatcherCast<T>(polymorphic_matcher_or_value);
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:1591:39: note: in instantiation of function template specialization 'testing::SafeMatcherCast<const llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>> &, testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>>' requested here
const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
^
/mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/STLExtrasTest.cpp:241:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::ElementsAreMatcher<std::tuple<std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>, std::tuple<unsigned long, int, bool>>>>::operator()<llvm::detail::zippy<llvm::detail::zip_enumerator, llvm::detail::index_stream, llvm::SmallVector<int>, std::vector<bool>>>' requested here
EXPECT_THAT(
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:5443:3: note: expanded from macro 'EXPECT_THAT'
EXPECT_PRED_FORMAT1( \
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:109:3: note: expanded from macro 'EXPECT_PRED_FORMAT1'
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
^
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h:100:28: note: expanded from macro 'GTEST_PRED_FORMAT1_'
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
^
/mnt/nvme_sec/SRC/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2166:36: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'value_type' (aka 'llvm::detail::enumerator_result<unsigned long, const int &, bool>') to 'const enumerator_result<unsigned long, int &, __bit_reference<vector<bool>>> &' for 1st argument
template <typename... Refs> struct enumerator_result;
^
/mnt/nvme_sec/SRC/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2166:36: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'value_type' (aka 'llvm::detail::enumerator_result<unsigned long, const int &, bool>') to 'enumerator_result<unsigned long, int &, __bit_reference<vector<bool>>> &&' for 1st argument
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:232:33: note: passing argument to parameter 'x' here
bool MatchAndExplain(const T& x, MatchResultListener* listener) const {
^
In file included from /mnt/nvme_sec/SRC/llvm-project/llvm/unittests/ADT/STLExtrasTest.cpp:11:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:58:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-function-mocker.h:43:
In file included from /mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-spec-builders.h:78:
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-matchers.h:3444:45: error: no viable conversion from 'enumerator_result<[...], const int &, bool>' to 'const enumerator_result<[...], int &, std::__bit_reference<std::vector<bool>>>'
match = matchers_[exam_pos].Matches(*it);
^~~
/mnt/nvme_sec/SRC/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2166:36: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'value_type' (aka 'llvm::detail::enumerator_result<unsigned long, const int &, bool>') to 'const enumerator_result<unsigned long, int &, __bit_reference<vector<bool>>> &' for 1st argument
template <typename... Refs> struct enumerator_result;
^
/mnt/nvme_sec/SRC/llvm-project/llvm/include/llvm/ADT/STLExtras.h:2166:36: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'value_type' (aka 'llvm::detail::enumerator_result<unsigned long, const int &, bool>') to 'enumerator_result<unsigned long, int &, __bit_reference<vector<bool>>> &&' for 1st argument
/mnt/nvme_sec/SRC/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:238:25: note: passing argument to parameter 'x' here
bool Matches(const T& x) const {
^
2 errors generated.
[57/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/UnrollAnalyzerTest.cpp.o
[58/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CFGTest.cpp.o
[59/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/AliasAnalysisTest.cpp.o
[60/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemoryProfileInfoTest.cpp.o
[61/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoopNestTest.cpp.o
[62/583] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringMapTest.cpp.o
[63/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/BasicAliasAnalysisTest.cpp.o
[64/583] Building CXX object unittests/Bitcode/CMakeFiles/BitcodeTests.dir/BitReaderTest.cpp.o
[65/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/DomTreeUpdaterTest.cpp.o
[66/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/InlineCostTest.cpp.o
[67/583] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/DDGTest.cpp.o
[68/583] ASTNodeAPI.json
[69/581] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/StringRefTest.cpp.o
[70/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ProfileSummaryInfoTest.cpp.o
[71/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/IVDescriptorsTest.cpp.o
[72/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorUtilsTest.cpp.o
[73/581] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/TinyPtrVectorTest.cpp.o
[74/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineOrderAnalysisTest.cpp.o
[75/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorFunctionABITest.cpp.o
[76/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoopInfoTest.cpp.o
[77/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineAdvisorAnalysisTest.cpp.o
[78/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/AssumeBundleQueriesTest.cpp.o
[79/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/FunctionPropertiesAnalysisTest.cpp.o
[80/581] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/AArch64SelectionDAGTest.cpp.o
[81/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ScalarEvolutionTest.cpp.o
[82/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/IRSimilarityIdentifierTest.cpp.o
[83/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemorySSATest.cpp.o
[84/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ValueTrackingTest.cpp.o
[85/581] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/AsmPrinterDwarfTest.cpp.o
[86/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CGSCCPassManagerTest.cpp.o
[87/581] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LazyCallGraphTest.cpp.o
[88/581] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallVectorTest.cpp.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment