[ https://issues.apache.org/jira/browse/MESOS-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329882#comment-14329882 ]
Niklas Quarfot Nielsen commented on MESOS-2378: ----------------------------------------------- Yeah - not sure why we get buildbot emails for that then. Will mark as won't fix > ASF build break: reference to 'slave' is ambiguous > -------------------------------------------------- > > Key: MESOS-2378 > URL: https://issues.apache.org/jira/browse/MESOS-2378 > Project: Mesos > Issue Type: Bug > Reporter: Niklas Quarfot Nielsen > > {code} > g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.22.0\" -DPACKAGE_STRING=\"mesos\ 0.22.0\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"0.22.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 > -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 > -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 > -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 > -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Wall -Werror > -DLIBDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/lib\" > > -DPKGLIBEXECDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/libexec/mesos\" > > -DPKGDATADIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/share/mesos\" > -I../../include -I../../3rdparty/libprocess/include > -I../../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../include/mesos -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/picojson-4f93734 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -DSOURCE_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build/..\" > > -DBUILD_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build\" > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include/linux > -DZOOKEEPER_VERSION=\"3.4.5\" -I/usr/include/subversion-1 > -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 > -Wno-unused-local-typedefs -std=c++11 -MT > tests/mesos_tests-composing_containerizer_tests.o -MD -MP -MF > tests/.deps/mesos_tests-composing_containerizer_tests.Tpo -c -o > tests/mesos_tests-composing_containerizer_tests.o `test -f > 'tests/composing_containerizer_tests.cpp' || echo > '../../src/'`tests/composing_containerizer_tests.cpp > mv -f examples/.deps/balloon_executor-balloon_executor.Tpo > examples/.deps/balloon_executor-balloon_executor.Po > g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.22.0\" -DPACKAGE_STRING=\"mesos\ 0.22.0\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"0.22.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 > -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 > -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 > -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 > -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Wall -Werror > -DLIBDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/lib\" > > -DPKGLIBEXECDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/libexec/mesos\" > > -DPKGDATADIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/share/mesos\" > -I../../include -I../../3rdparty/libprocess/include > -I../../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../include/mesos -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/picojson-4f93734 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -DSOURCE_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build/..\" > > -DBUILD_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build\" > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include/linux > -DZOOKEEPER_VERSION=\"3.4.5\" -I/usr/include/subversion-1 > -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 > -Wno-unused-local-typedefs -std=c++11 -MT tests/mesos_tests-containerizer.o > -MD -MP -MF tests/.deps/mesos_tests-containerizer.Tpo -c -o > tests/mesos_tests-containerizer.o `test -f 'tests/containerizer.cpp' || echo > '../../src/'`tests/containerizer.cpp > ../../src/tests/composing_containerizer_tests.cpp:50:34: error: reference to > 'slave' is ambiguous > class MockContainerizer : public slave::Containerizer > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/slave/containerizer/fetcher.hpp:33, > from ../../src/slave/containerizer/containerizer.hpp:38, > from ../../src/tests/composing_containerizer_tests.cpp:31: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from > ../../src/slave/containerizer/mesos/containerizer.hpp:25:0, > from ../../src/tests/mesos.hpp:57, > from ../../src/tests/composing_containerizer_tests.cpp:34: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/composing_containerizer_tests.cpp:50:34: error: reference to > 'slave' is ambiguous > class MockContainerizer : public slave::Containerizer > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/slave/containerizer/fetcher.hpp:33, > from ../../src/slave/containerizer/containerizer.hpp:38, > from ../../src/tests/composing_containerizer_tests.cpp:31: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from > ../../src/slave/containerizer/mesos/containerizer.hpp:25:0, > from ../../src/tests/mesos.hpp:57, > from ../../src/tests/composing_containerizer_tests.cpp:34: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/composing_containerizer_tests.cpp:50:41: error: expected '{' > before 'Containerizer' > class MockContainerizer : public slave::Containerizer > ^ > ../../src/tests/composing_containerizer_tests.cpp:51:1: error: invalid type > in declaration before '{' token > { > ^ > ../../src/tests/composing_containerizer_tests.cpp:52:1: error: expected > primary-expression before 'public' > public: > ^ > ../../src/tests/composing_containerizer_tests.cpp:52:1: error: expected '}' > before 'public' > ../../src/tests/composing_containerizer_tests.cpp:52:1: error: expected ',' > or ';' before 'public' > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp:56:48: error: template > argument 1 is invalid > const Option<slave::state::SlaveState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp:56:48: error: template > argument 1 is invalid > const Option<slave::state::SlaveState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<Nothing>(const int&)>& > gmock_recover(const testing::Matcher<const int&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_recover_56' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../../src/tests/composing_containerizer_tests.cpp:56:48: error: template > argument 1 is invalid > const Option<slave::state::SlaveState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock1_recover_56' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<bool>()>::Result > launch(testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&)>::Argument2, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&)>::Argument3, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&)>::Argument4, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&)>::Argument5, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&)>::Argument6, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&, bool)>::Argument7)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock7_launch_67' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:508:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(7, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:508:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(7, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&, bool)>& gmock_launch(const > testing::Matcher<const mesos::ContainerID&>&, const testing::Matcher<const > mesos::ExecutorInfo&>&, const testing::Matcher<const > std::basic_string<char>&>&, const testing::Matcher<const > Option<std::basic_string<char> >&>&, const testing::Matcher<const > mesos::SlaveID&>&, const testing::Matcher<const > process::PID<mesos::internal::slave::Slave>&>&, const > testing::Matcher<bool>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock7_launch_67' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:520:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(7, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:520:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(7, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock7_launch_67' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:524:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(7, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<bool>()>::Result > launch(testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&)>::Argument2, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&)>::Argument3, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&)>::Argument4, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> > >&)>::Argument5, testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&, const mesos::TaskInfo&, const mesos::ExecutorInfo&, > const std::basic_string<char>&, const Option<std::basic_string<char> >&, > const mesos::SlaveID&)>::Argument6, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&)>::Argument7, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const process::PID<mesos::internal::slave::Slave>&, > bool)>::Argument8)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock8_launch_79' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:539:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(8, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:539:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(8, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const process::PID<mesos::internal::slave::Slave>&, bool)>& > gmock_launch(const testing::Matcher<const mesos::ContainerID&>&, const > testing::Matcher<const mesos::TaskInfo&>&, const testing::Matcher<const > mesos::ExecutorInfo&>&, const testing::Matcher<const > std::basic_string<char>&>&, const testing::Matcher<const > Option<std::basic_string<char> >&>&, const testing::Matcher<const > mesos::SlaveID&>&, const testing::Matcher<const > process::PID<mesos::internal::slave::Slave>&>&, const > testing::Matcher<bool>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock8_launch_79' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:552:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(8, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:552:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(8, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock8_launch_79' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:556:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(8, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<Nothing>()>::Result > update(testing::internal::Function<process::Future<Nothing>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<Nothing>(const > mesos::ContainerID&, const mesos::Resources&)>::Argument2)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock2_update_85' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:385:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(2, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:385:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(2, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<Nothing>(const > mesos::ContainerID&, const mesos::Resources&)>& gmock_update(const > testing::Matcher<const mesos::ContainerID&>&, const testing::Matcher<const > mesos::Resources&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock2_update_85' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:391:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(2, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:391:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(2, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock2_update_85' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:394:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(2, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<mesos::ResourceStatistics>()>::Result > > usage(testing::internal::Function<process::Future<mesos::ResourceStatistics>(const > mesos::ContainerID&)>::Argument1)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_usage_90' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<mesos::ResourceStatistics>(const > mesos::ContainerID&)>& gmock_usage(const testing::Matcher<const > mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_usage_90' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock1_usage_90' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<mesos::containerizer::Termination>()>::Result > > wait(testing::internal::Function<process::Future<mesos::containerizer::Termination>(const > mesos::ContainerID&)>::Argument1)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_wait_95' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<mesos::containerizer::Termination>(const > mesos::ContainerID&)>& gmock_wait(const testing::Matcher<const > mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_wait_95' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock1_wait_95' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<void()>::Result > destroy(testing::internal::Function<void(const > mesos::ContainerID&)>::Argument1)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_destroy_99' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:368:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:369:63: > error: return-statement with a value, in function returning 'void' > [-fpermissive] > return GMOCK_MOCKER_(1, constness, Method).Invoke(gmock_a1); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<void(const mesos::ContainerID&)>& > gmock_destroy(const testing::Matcher<const mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock1_destroy_99' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:373:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock1_destroy_99' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<hashset<mesos::ContainerID> > >()>::Result containers()': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock0_containers_103' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:352:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:352:57: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<hashset<mesos::ContainerID> > >()>& gmock_containers()': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: 'gmock0_containers_103' was not declared in this scope > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:357:5: > note: in expansion of macro 'GMOCK_MOCKER_' > GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:357:55: > error: invalid use of 'this' in non-member function > GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:57:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: At global scope: > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:25: > error: non-member 'gmock0_containers_103' cannot be declared 'mutable' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-internal.h:68:44: > note: in definition of macro 'GTEST_CONCAT_TOKEN_IMPL_' > #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:344:5: > note: in expansion of macro 'GTEST_CONCAT_TOKEN_' > GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:360:40: > note: in expansion of macro 'GMOCK_MOCKER_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(0, constness, Method) > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > ../../src/tests/composing_containerizer_tests.cpp:104:1: error: expected > declaration before '}' token > }; > ^ > mv -f examples/.deps/load_generator_framework-load_generator_framework.Tpo > examples/.deps/load_generator_framework-load_generator_framework.Po > g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.22.0\" -DPACKAGE_STRING=\"mesos\ 0.22.0\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" > -DVERSION=\"0.22.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 > -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 > -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 > -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1 -DMESOS_HAS_JAVA=1 > -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Wall -Werror > -DLIBDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/lib\" > > -DPKGLIBEXECDIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/libexec/mesos\" > > -DPKGDATADIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_inst/share/mesos\" > -I../../include -I../../3rdparty/libprocess/include > -I../../3rdparty/libprocess/3rdparty/stout/include -I../include > -I../include/mesos -I../3rdparty/libprocess/3rdparty/boost-1.53.0 > -I../3rdparty/libprocess/3rdparty/picojson-4f93734 > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src > -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include > -I../3rdparty/zookeeper-3.4.5/src/c/generated > -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src > -DSOURCE_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build/..\" > > -DBUILD_DIR=\"/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.22.0/_build\" > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include > -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include > -I/home/jenkins/tools/java/jdk1.6.0_20-64/include/linux > -DZOOKEEPER_VERSION=\"3.4.5\" -I/usr/include/subversion-1 > -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g1 -O0 > -Wno-unused-local-typedefs -std=c++11 -MT > tests/mesos_tests-containerizer_tests.o -MD -MP -MF > tests/.deps/mesos_tests-containerizer_tests.Tpo -c -o > tests/mesos_tests-containerizer_tests.o `test -f > 'tests/containerizer_tests.cpp' || echo > '../../src/'`tests/containerizer_tests.cpp > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:331:63: > note: in definition of macro 'GMOCK_RESULT_' > #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:371:23: > note: in definition of macro 'GMOCK_METHOD1_' > ::testing::MockSpec<F>& \ > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:335:63: > note: in definition of macro 'GMOCK_ARG_' > #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:372:22: > note: in expansion of macro 'GMOCK_MATCHER_' > gmock_##Method(GMOCK_MATCHER_(tn, F, 1) gmock_a1) constness { \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:376:37: > note: in definition of macro 'GMOCK_METHOD1_' > mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:42:0: > ../../src/tests/isolator.hpp: In static member function 'static > Try<mesos::slave::Isolator*> > mesos::internal::tests::TestIsolatorProcess::create(const > Option<mesos::CommandInfo>&)': > ../../src/tests/isolator.hpp:37:44: error: cannot allocate an object of > abstract type 'mesos::internal::tests::TestIsolatorProcess' > new TestIsolatorProcess(commandInfo)); > ^ > ../../src/tests/isolator.hpp:30:7: note: because the following virtual > functions are pure within 'mesos::internal::tests::TestIsolatorProcess': > class TestIsolatorProcess : public mesos::slave::IsolatorProcess > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:133:36: note: virtual > process::Future<Nothing> mesos::slave::IsolatorProcess::recover(const > std::list<mesos::slave::ExecutorRunState>&) > virtual process::Future<Nothing> recover( > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h:74:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-port.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h:42, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp: In member function > 'testing::internal::Function<process::Future<Nothing>()>::Result > mesos::internal::tests::TestIsolatorProcess::recover(testing::internal::Function<process::Future<Nothing>(const > int&)>::Argument1)': > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h:74:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-port.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h:42, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h:74:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-port.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h:42, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:700:52: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > typedef ::testing::internal::CompileAssert<(bool(expr))> \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h:74:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-port.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h:42, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:48: error: 'ExecutorRunState' is not a member > of 'mesos::internal::slave' > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:48: note: suggested alternative: > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:66:8: note: > 'mesos::slave::ExecutorRunState' > struct ExecutorRunState > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-linked_ptr.h:74:0, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-port.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-generated-internal-utils.h:42, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:45, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46, > from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58, > from ../../src/tests/containerizer_tests.cpp:23: > ../../src/tests/isolator.hpp:44:71: error: template argument 1 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/isolator.hpp:44:71: error: template argument 2 is invalid > process::Future<Nothing>(const std::list<slave::ExecutorRunState>&)); > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h:701:16: > note: in definition of macro 'GTEST_COMPILE_ASSERT_' > msg[bool(expr) ? 1 : -1] > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/isolator.hpp:42:3: note: in expansion of macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/containerizer_tests.cpp: In member function > 'Try<mesos::internal::slave::MesosContainerizer*> > MesosContainerizerIsolatorPreparationTest::CreateContainerizer(mesos::internal::slave::Fetcher*, > const std::vector<Option<mesos::CommandInfo> >&)': > ../../src/tests/containerizer_tests.cpp:82:5: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:82:5: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:82:18: error: expected ';' before > 'flags' > slave::Flags flags; > ^ > ../../src/tests/containerizer_tests.cpp:83:10: error: expected > primary-expression before '.' token > flags.launcher_dir = path::join(tests::flags.build_dir, "src"); > ^ > ../../src/tests/containerizer_tests.cpp:85:58: error: expected > primary-expression before ')' token > Try<Launcher*> launcher = PosixLauncher::create(flags); > ^ > ../../src/tests/containerizer_tests.cpp:91:14: error: expected > primary-expression before ',' token > flags, > ^ > ../../src/tests/containerizer_tests.cpp: In member function 'virtual void > MesosContainerizerExecuteTest_IoRedirection_Test::TestBody()': > ../../src/tests/containerizer_tests.cpp:267:3: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:267:3: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:267:16: error: expected ';' before > 'flags' > slave::Flags flags; > ^ > ../../src/tests/containerizer_tests.cpp:268:8: error: expected > primary-expression before '.' token > flags.launcher_dir = path::join(tests::flags.build_dir, "src"); > ^ > ../../src/tests/containerizer_tests.cpp:274:37: error: expected > primary-expression before ',' token > MesosContainerizer::create(flags, false, &fetcher); > ^ > ../../src/tests/containerizer_tests.cpp: In member function 'virtual void > MesosContainerizerDestroyTest_DestroyWhileFetching_Test::TestBody()': > ../../src/tests/containerizer_tests.cpp:360:3: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:360:3: error: reference to 'slave' is > ambiguous > slave::Flags flags; > ^ > In file included from ../../src/slave/flags.hpp:40:0, > from ../../src/tests/containerizer_tests.cpp:34: > ../../src/slave/constants.hpp:29:17: note: candidates are: namespace > mesos::internal::slave { } > namespace slave { > ^ > In file included from ../../src/tests/containerizer_tests.cpp:27:0: > ../../include/mesos/slave/isolator.hpp:35:17: note: namespace > mesos::slave { } > namespace slave { > ^ > ../../src/tests/containerizer_tests.cpp:360:16: error: expected ';' before > 'flags' > slave::Flags flags; > ^ > ../../src/tests/containerizer_tests.cpp:361:56: error: expected > primary-expression before ')' token > Try<Launcher*> launcher = PosixLauncher::create(flags); > ^ > ../../src/tests/containerizer_tests.cpp:368:12: error: expected > primary-expression before ',' token > flags, > ^ > In file included from > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:61:0, > from ../../src/tests/composing_containerizer_tests.cpp:19: > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<Nothing>(const int&)>& > gmock_recover(const testing::Matcher<const int&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:375:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:53:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<bool>()>::Result > launch(testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&)>::Argument2, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&)>::Argument3, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&)>::Argument4, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&)>::Argument5, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&)>::Argument6, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&, bool)>::Argument7)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:511:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<bool>(const mesos::ContainerID&, > const mesos::ExecutorInfo&, const std::basic_string<char>&, const > Option<std::basic_string<char> >&, const mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&, bool)>& gmock_launch(const > testing::Matcher<const mesos::ContainerID&>&, const testing::Matcher<const > mesos::ExecutorInfo&>&, const testing::Matcher<const > std::basic_string<char>&>&, const testing::Matcher<const > Option<std::basic_string<char> >&>&, const testing::Matcher<const > mesos::SlaveID&>&, const testing::Matcher<const > process::PID<mesos::internal::slave::Slave>&>&, const > testing::Matcher<bool>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:523:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:639:28: > note: in expansion of macro 'GMOCK_METHOD7_' > #define MOCK_METHOD7(m, F) GMOCK_METHOD7_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:58:3: note: in expansion of > macro 'MOCK_METHOD7' > MOCK_METHOD7( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<bool>()>::Result > launch(testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&)>::Argument2, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&)>::Argument3, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&)>::Argument4, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> > >&)>::Argument5, testing::internal::Function<process::Future<bool>(const > mesos::ContainerID&, const mesos::TaskInfo&, const mesos::ExecutorInfo&, > const std::basic_string<char>&, const Option<std::basic_string<char> >&, > const mesos::SlaveID&)>::Argument6, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const > process::PID<mesos::internal::slave::Slave>&)>::Argument7, > testing::internal::Function<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const process::PID<mesos::internal::slave::Slave>&, > bool)>::Argument8)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:542:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<bool>(const mesos::ContainerID&, > const mesos::TaskInfo&, const mesos::ExecutorInfo&, const > std::basic_string<char>&, const Option<std::basic_string<char> >&, const > mesos::SlaveID&, const process::PID<mesos::internal::slave::Slave>&, bool)>& > gmock_launch(const testing::Matcher<const mesos::ContainerID&>&, const > testing::Matcher<const mesos::TaskInfo&>&, const testing::Matcher<const > mesos::ExecutorInfo&>&, const testing::Matcher<const > std::basic_string<char>&>&, const testing::Matcher<const > Option<std::basic_string<char> >&>&, const testing::Matcher<const > mesos::SlaveID&>&, const testing::Matcher<const > process::PID<mesos::internal::slave::Slave>&>&, const > testing::Matcher<bool>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:555:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:640:28: > note: in expansion of macro 'GMOCK_METHOD8_' > #define MOCK_METHOD8(m, F) GMOCK_METHOD8_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:69:3: note: in expansion of > macro 'MOCK_METHOD8' > MOCK_METHOD8( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<Nothing>()>::Result > update(testing::internal::Function<process::Future<Nothing>(const > mesos::ContainerID&)>::Argument1, > testing::internal::Function<process::Future<Nothing>(const > mesos::ContainerID&, const mesos::Resources&)>::Argument2)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:387:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<Nothing>(const > mesos::ContainerID&, const mesos::Resources&)>& gmock_update(const > testing::Matcher<const mesos::ContainerID&>&, const testing::Matcher<const > mesos::Resources&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:393:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:634:28: > note: in expansion of macro 'GMOCK_METHOD2_' > #define MOCK_METHOD2(m, F) GMOCK_METHOD2_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:81:3: note: in expansion of > macro 'MOCK_METHOD2' > MOCK_METHOD2( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<mesos::ResourceStatistics>()>::Result > > usage(testing::internal::Function<process::Future<mesos::ResourceStatistics>(const > mesos::ContainerID&)>::Argument1)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:370:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<mesos::ResourceStatistics>(const > mesos::ContainerID&)>& gmock_usage(const testing::Matcher<const > mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:375:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:87:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<mesos::containerizer::Termination>()>::Result > > wait(testing::internal::Function<process::Future<mesos::containerizer::Termination>(const > mesos::ContainerID&)>::Argument1)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:370:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<mesos::containerizer::Termination>(const > mesos::ContainerID&)>& gmock_wait(const testing::Matcher<const > mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:375:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:92:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<void(const mesos::ContainerID&)>& > gmock_destroy(const testing::Matcher<const mesos::ContainerID&>&)': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:375:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:633:28: > note: in expansion of macro 'GMOCK_METHOD1_' > #define MOCK_METHOD1(m, F) GMOCK_METHOD1_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:97:3: note: in expansion of > macro 'MOCK_METHOD1' > MOCK_METHOD1( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::Function<process::Future<hashset<mesos::ContainerID> > >()>::Result containers()': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:354:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > ../../src/tests/composing_containerizer_tests.cpp: In function > 'testing::internal::MockSpec<process::Future<hashset<mesos::ContainerID> > >()>& gmock_containers()': > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:359:3: > error: control reaches end of non-void function [-Werror=return-type] > } \ > ^ > ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-generated-function-mockers.h:632:28: > note: in expansion of macro 'GMOCK_METHOD0_' > #define MOCK_METHOD0(m, F) GMOCK_METHOD0_(, , , m, F) > ^ > ../../src/tests/composing_containerizer_tests.cpp:101:3: note: in expansion > of macro 'MOCK_METHOD0' > MOCK_METHOD0( > ^ > cc1plus: all warnings being treated as errors > make[4]: *** [tests/mesos_tests-composing_containerizer_tests.o] Error 1 > make[4]: *** Waiting for unfinished jobs.... > mv -f tests/.deps/mesos_tests-containerizer.Tpo > tests/.deps/mesos_tests-containerizer.Po > ../../src/tests/containerizer_tests.cpp: In member function > 'Try<mesos::internal::slave::MesosContainerizer*> > MesosContainerizerIsolatorPreparationTest::CreateContainerizer(mesos::internal::slave::Fetcher*, > const std::vector<Option<mesos::CommandInfo> >&)': > ../../src/tests/containerizer_tests.cpp:96:3: error: control reaches end of > non-void function [-Werror=return-type] > } > ^ > cc1plus: all warnings being treated as errors > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)