You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:635:58: error: wrong number of template arguments (0, should be 1)
typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
^
In file included from /usr/include/c++/7/memory:76:0,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:44,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
/usr/include/c++/7/bits/stl_function.h:381:12: note: provided for 'template struct std::less'
struct less : public binary_function<Tp, Tp, bool>
^~~~
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:635:59: error: template argument 3 is invalid
typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
^~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:612:23: error: request for member 'insert' in '((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests', which is of non-class type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap {aka int}'
registered_tests.insert(
^~~~~~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::TestExists(const string&) const':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:618:30: error: request for member 'count' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const RegisteredTestsMap {aka const int}'
return registered_tests_.count(test_name) > 0;
^~~~~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const string&) const':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:622:40: error: qualified-id in declaration before 'it'
RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
^~
In file included from external/com_google_googletest/googlemock/include/gmock/internal/gmock-port.h:57:0,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:47,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: error: 'it' was not declared in this scope
GTEST_CHECK_(it != registered_tests_.end());
^
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: note: suggested alternative: 'int'
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: error: request for member 'end' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const RegisteredTestsMap {aka const int}'
GTEST_CHECK_(it != registered_tests_.end());
^
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:624:12: error: 'it' was not declared in this scope
return it->second;
^~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:624:12: note: suggested alternative: 'int'
return it->second;
^~
int
INFO: Elapsed time: 12.675s, Critical Path: 1.59s
INFO: 42 processes: 34 internal, 8 linux-sandbox.
FAILED: Build did NOT complete successfully
//mesh_renderer:mesh_renderer_test NO STATUS
//mesh_renderer:rasterize_triangles_test NO STATUS
//mesh_renderer/kernels:rasterize_triangles_impl_test FAILED TO BUILD
FAILED: Build did NOT complete successfully
How to fix this
The text was updated successfully, but these errors were encountered:
INFO: Analyzed 11 targets (7 packages loaded, 194 targets configured).
INFO: Found 8 targets and 3 test targets...
ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/fc81afcf82036f2c38d6a767bad75ce9/external/com_google_googletest/BUILD.bazel:80:11: Compiling googlemock/src/gmock-cardinalities.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 33 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:635:58: error: wrong number of template arguments (0, should be 1)
typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
^
In file included from /usr/include/c++/7/memory:76:0,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:44,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
/usr/include/c++/7/bits/stl_function.h:381:12: note: provided for 'template struct std::less'
struct less : public binary_function<Tp, Tp, bool>
^~~~
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:635:59: error: template argument 3 is invalid
typedef ::std::map<std::string, CodeLocation, std::less<>> RegisteredTestsMap;
^~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::AddTestName(const char*, int, const char*, const char*)':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:612:23: error: request for member 'insert' in '((testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests', which is of non-class type 'testing::internal::TypedTestSuitePState::RegisteredTestsMap {aka int}'
registered_tests.insert(
^~~~~~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'bool testing::internal::TypedTestSuitePState::TestExists(const string&) const':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:618:30: error: request for member 'count' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const RegisteredTestsMap {aka const int}'
return registered_tests_.count(test_name) > 0;
^~~~~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h: In member function 'const testing::internal::CodeLocation& testing::internal::TypedTestSuitePState::GetCodeLocation(const string&) const':
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:622:40: error: qualified-id in declaration before 'it'
RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name);
^~
In file included from external/com_google_googletest/googlemock/include/gmock/internal/gmock-port.h:57:0,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:47,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: error: 'it' was not declared in this scope
GTEST_CHECK_(it != registered_tests_.end());
^
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: note: suggested alternative: 'int'
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:623:5: error: request for member 'end' in '((const testing::internal::TypedTestSuitePState*)this)->testing::internal::TypedTestSuitePState::registered_tests_', which is of non-class type 'const RegisteredTestsMap {aka const int}'
GTEST_CHECK_(it != registered_tests_.end());
^
In file included from external/com_google_googletest/googletest/include/gtest/gtest-printers.h:114:0,
from external/com_google_googletest/googletest/include/gtest/gtest-matchers.h:48,
from external/com_google_googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:46,
from external/com_google_googletest/googletest/include/gtest/gtest-death-test.h:43,
from external/com_google_googletest/googletest/include/gtest/gtest.h:61,
from external/com_google_googletest/googlemock/include/gmock/gmock-cardinalities.h:48,
from external/com_google_googletest/googlemock/src/gmock-cardinalities.cc:34:
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:624:12: error: 'it' was not declared in this scope
return it->second;
^~
external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:624:12: note: suggested alternative: 'int'
return it->second;
^~
int
INFO: Elapsed time: 12.675s, Critical Path: 1.59s
INFO: 42 processes: 34 internal, 8 linux-sandbox.
FAILED: Build did NOT complete successfully
//mesh_renderer:mesh_renderer_test NO STATUS
//mesh_renderer:rasterize_triangles_test NO STATUS
//mesh_renderer/kernels:rasterize_triangles_impl_test FAILED TO BUILD
FAILED: Build did NOT complete successfully
How to fix this
The text was updated successfully, but these errors were encountered: