Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake fails at build step of GTest #42

Closed
blackblitz opened this issue Jan 16, 2020 · 5 comments
Closed

cmake fails at build step of GTest #42

blackblitz opened this issue Jan 16, 2020 · 5 comments

Comments

@blackblitz
Copy link
Contributor

In clients/cpp, I ran sudo cmake ., and it failed to produce a Makefile. It seems to have failed at the build step of GTest. My uname -a is Linux dell 5.4.6-2-MANJARO #1 SMP PREEMPT Tue Dec 24 15:55:20 UTC 2019 x86_64 GNU/Linux. The output is shown below:

-- [hunter] Initializing Hunter workspace (5ead1e069b437930d0de8a21824b20fb52b37b50)
-- [hunter]   https://github.com/ruslo/hunter/archive/v0.21.19.tar.gz
-- [hunter]   -> /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: /root/.hunter
-- [hunter] [ Hunter-ID: 5ead1e0 | Toolchain-ID: bcfb592 | Config-ID: ead1bc1 ]
-- [hunter] GTEST_ROOT: /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Install (ver.: 1.8.0-hunter-p11)
-- [hunter] Building GTest
loading initial cache file /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/cache.cmake
loading initial cache file /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/args.cmake
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Build
Scanning dependencies of target GTest-Release
[  6%] Creating directories for 'GTest-Release'
[ 12%] Performing download step (download, verify and extract) for 'GTest-Release'
-- Downloading...
   dst='/root/.hunter/_Base/Download/GTest/1.8.0-hunter-p11/76c6aec/1.8.0-hunter-p11.tar.gz'
   timeout='none'
-- Using src='https://github.com/hunter-packages/googletest/archive/1.8.0-hunter-p11.tar.gz'
-- verifying file...
       file='/root/.hunter/_Base/Download/GTest/1.8.0-hunter-p11/76c6aec/1.8.0-hunter-p11.tar.gz'
-- Downloading... done
-- extracting...
     src='/root/.hunter/_Base/Download/GTest/1.8.0-hunter-p11/76c6aec/1.8.0-hunter-p11.tar.gz'
     dst='/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 18%] No patch step for 'GTest-Release'
[ 25%] No update step for 'GTest-Release'
[ 31%] Performing configure step for 'GTest-Release'
loading initial cache file /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/cache.cmake
loading initial cache file /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/args.cmake
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "3.8.1") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
-- Build files have been written to: /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Build/GTest-Release-prefix/src/GTest-Release-build
[ 37%] Performing build step for 'GTest-Release'
Scanning dependencies of target gmock_main
Scanning dependencies of target gtest
Scanning dependencies of target gmock
[  9%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/__/googletest/src/gtest-all.cc.o
[ 18%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
[ 27%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 36%] Building CXX object googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:3975:65:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1180 |   GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4004:57:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1227 |   GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4011:55:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1274 |   GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4017:79:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1320 |   GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4024:75:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::MatchesRegexMatcher’ has user-provided ‘void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1369:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1369 |   GTEST_DISALLOW_ASSIGN_(MatchesRegexMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4049:23:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1180 |   GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4078:17:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1227 |   GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4085:14:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1274 |   GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4092:14:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1320 |   GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [googlemock/CMakeFiles/gmock_main.dir/build.make:76: googlemock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
[ 45%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:3975:65:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1180 |   GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4004:57:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1227 |   GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4011:55:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1274 |   GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4017:79:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<char> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<char>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1320 |   GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::MatchesRegexMatcher]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4024:75:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::MatchesRegexMatcher::MatchesRegexMatcher(const testing::internal::MatchesRegexMatcher&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::MatchesRegexMatcher’ has user-provided ‘void testing::internal::MatchesRegexMatcher::operator=(const testing::internal::MatchesRegexMatcher&)’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1369:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1369 |   GTEST_DISALLOW_ASSIGN_(MatchesRegexMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4049:23:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >::StrEqualityMatcher(const testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StrEqualityMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StrEqualityMatcher<StringType>::operator=(const testing::internal::StrEqualityMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1180:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1180 |   GTEST_DISALLOW_ASSIGN_(StrEqualityMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4078:17:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >::HasSubstrMatcher(const testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::HasSubstrMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::HasSubstrMatcher<StringType>::operator=(const testing::internal::HasSubstrMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1227:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1227 |   GTEST_DISALLOW_ASSIGN_(HasSubstrMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4085:14:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >::StartsWithMatcher(const testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::StartsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::StartsWithMatcher<StringType>::operator=(const testing::internal::StartsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1274:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1274 |   GTEST_DISALLOW_ASSIGN_(StartsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-spec-builders.h:75,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-generated-function-mockers.h:43,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:61,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h: In instantiation of ‘testing::PolymorphicMatcher<Impl>::PolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:497:10:   required from ‘testing::PolymorphicMatcher<Impl> testing::MakePolymorphicMatcher(const Impl&) [with Impl = testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >]’
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:4092:14:   required from here
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:432:67: error: implicitly-declared ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >::EndsWithMatcher(const testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >&)’ is deprecated [-Werror=deprecated-copy]
  432 |   explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {}
      |                                                                   ^
In file included from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-linked_ptr.h:74,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-port.h:53,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-generated-internal-utils.h:44,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/internal/gmock-internal-utils.h:45,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-actions.h:46,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock.h:58,
                 from /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/src/gmock-all.cc:40:
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googletest/include/gtest/internal/gtest-port.h:908:8: note: because ‘testing::internal::EndsWithMatcher<std::__cxx11::basic_string<wchar_t> >’ has user-provided ‘void testing::internal::EndsWithMatcher<StringType>::operator=(const testing::internal::EndsWithMatcher<StringType>&) [with StringType = std::__cxx11::basic_string<wchar_t>]’
  908 |   void operator=(type const &)
      |        ^~~~~~~~
/root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest/Source/googlemock/include/gmock/gmock-matchers.h:1320:3: note: in expansion of macro ‘GTEST_DISALLOW_ASSIGN_’
 1320 |   GTEST_DISALLOW_ASSIGN_(EndsWithMatcher);
      |   ^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [googlemock/CMakeFiles/gmock.dir/build.make:76: googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
[ 54%] Linking CXX static library libgtest.a
make[4]: *** [CMakeFiles/Makefile2:145: googlemock/CMakeFiles/gmock.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [CMakeFiles/Makefile2:118: googlemock/CMakeFiles/gmock_main.dir/all] Error 2
[ 54%] Built target gtest
make[3]: *** [Makefile:141: all] Error 2
make[2]: *** [CMakeFiles/GTest-Release.dir/build.make:116: GTest-Release-prefix/src/GTest-Release-stamp/GTest-Release-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/GTest-Release.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

[hunter ** FATAL ERROR **] Build step failed (dir: /root/.hunter/_Base/5ead1e0/bcfb592/ead1bc1/Build/GTest
[hunter ** FATAL ERROR **] [Directory:/root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/projects/GTest]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.external.build.failed
-------------------------------------------------------------------

CMake Error at /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
  /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
  /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/modules/hunter_download.cmake:672 (hunter_fatal_error)
  /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/projects/GTest/hunter.cmake:244 (hunter_download)
  /root/.hunter/_Base/Download/Hunter/0.21.19/5ead1e0/Unpacked/cmake/modules/hunter_add_package.cmake:53 (include)
  CMakeLists.txt:32 (hunter_add_package)


-- Configuring incomplete, errors occurred!
See also "/home/hal/myanmar-tools/clients/cpp/CMakeFiles/CMakeOutput.log".
@sffc
Copy link
Collaborator

sffc commented Jan 16, 2020

Please take a look at the configurations in .travis.yml. I just re-ran the build and it passes:

https://travis-ci.org/google/myanmar-tools/jobs/619949038

I also ran this locally on my machine to make sure, and the build passes there as well.

Closing this ticket as I do not believe it is actionable. If you find something that a change is needed to make the code build on your platform, please open a PR.

@sffc sffc closed this as completed Jan 16, 2020
@blackblitz
Copy link
Contributor Author

blackblitz commented Jan 17, 2020

I believe this issue is related to GCC 9, which added the -Wdeprecated-copy warning. See the changes:

-Wdeprecated-copy, implied by -Wextra, warns about the C++11 deprecation of implicitly declared copy constructor and assignment operator if one of them is user-provided. -Wdeprecated-copy-dtor also warns if the destructor is user-provided, as specified in C++11.

Here is the issue on googletest. It seems many other libraries are also affected by this deprecation, e.g. this and this.

I think the fix has to be made on googletest, but is there a workaround for this? I am thinking of adding -Wno-error=deprecated-copy, but I am new to cmake and hunter, so I do not know how to do that. I tried adding to CMakeLists.txt add_definitions("-Wno-error=deprecated-copy"), but it did not work.

@sffc
Copy link
Collaborator

sffc commented Jan 17, 2020

That workaround seems reasonable. You can try passing the flag to cmake like this?

$ CXXFLAGS="-Wno-error=deprecated-copy" cmake CMakeLists.txt

or maybe

$ cmake -DCMAKE_CXX_FLAGS="-Wno-error=deprecated-copy" CMakeLists.txt

I pinged the googletest team to resolve the issue upstream.

@blackblitz
Copy link
Contributor Author

Thanks for the help. I tried the former, and cmake succeeded (with warnings).

That workaround seems reasonable. You can try passing the flag to cmake like this?

$ CXXFLAGS="-Wno-error=deprecated-copy" cmake CMakeLists.txt

or maybe

$ cmake -DCMAKE_CXX_FLAGS="-Wno-error=deprecated-copy" CMakeLists.txt

I pinged the googletest team to resolve the issue upstream.

@nanazhan
Copy link

@shane F. Carr I can work with your workaround. But doesn't googletest team solved the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants