rules_proto_grpc
rules_proto_grpc copied to clipboard
grpc-java build error
Issue Description
Log Output
Syncing project: Sync (incremental)...
Updating VCS...
Running Bazel info...
Command: bazel info --tool_tag=ijwb:IDEA:ultimate --curses=no --color=yes --progress_in_terminal_title=no --
Command: git diff --name-status --no-renames fe6ea2945d29bd9c0257db3a42dd32ae23ed9855
INFO: Invocation ID: 11e162e7-44d5-4e47-b0d0-2036563db586
Computing VCS working set...
WORKSPACE.bazel (modified)
app/src/main/java/com.tesla.gov/Application.java (modified)
app/src/main/resources/application.properties (modified)
cover/BUILD.bazel (modified)
cover/src/main/java/com/tesla/cover/repository/DatasourceRepository.java (modified)
cover/src/main/java/com/tesla/cover/service/DatasourceServiceImpl.java (added)
cover/src/main/resources/application.properties (modified)
cover/src/test/java/com/tesla/cover/repository/DatasourceRepositoryTest.java (modified)
features/station_info/src/main/java/com/tesla/gov/provider/StationInfoProvider.java (added)
features/station_info/src/main/java/com/tesla/gov/repository/StationInfoRepository.java (modified)
features/station_info/src/main/java/com/tesla/gov/resource/StationInfoResource.java (modified)
features/station_info/src/main/resources/station_info.yml (added)
go/daolayer/BUILD.bazel (added)
infra/maven_dependencies.bzl (modified)
infra/pilot/BUILD.bazel (modified)
infra/pilot/src/main/java/com/tesla/pilot/support/ApplicationSupport.java (modified)
infra/pilot/src/main/resources/station_info.yml (added)
infra/repositories.bzl (modified)
protobufs/cover/BUILD.bazel (modified)
protobufs/cover/datasource.proto (modified)
(and 1 more)
Querying targets building source files...
Command: bazel query --tool_tag=ijwb:IDEA:ultimate --output=label_kind --keep_going same_pkg_direct_rdeps(\"//cover:src/main/java/com/tesla/cover/service/DatasourceServiceImpl.java\"+\"//features/station_info:src/main/java/com/tesla/gov/provider/StationInfoProvider.java\"+\"//features/station_info:src/main/resources/station_info.yml\"+\"//infra/pilot:src/main/resources/station_info.yml\"+\"//protobufs/cover:service/datasource_service.proto\"+\"//:WORKSPACE.bazel\"+\"//app:src/main/java/com.tesla.gov/Application.java\"+\"//app:src/main/resources/application.properties\"+\"//cover:src/main/java/com/tesla/cover/repository/DatasourceRepository.java\"+\"//cover:src/main/resources/application.properties\"+\"//cover:src/test/java/com/tesla/cover/repository/DatasourceRepositoryTest.java\"+\"//features/station_info:src/main/java/com/tesla/gov/repository/StationInfoRepository.java\"+\"//features/station_info:src/main/java/com/tesla/gov/resource/StationInfoResource.java\"+\"//infra:maven_depen...
Sync targets from working set:
//go/daolayer:all
//cover:all
//infra/pilot:all
//protobufs/cover:all
//app:app_lib
//app:gov_app
//cover:cover_bin
//cover:cover_lib
//cover:cover_test
//features/station_info:station_info_lib
//infra/pilot:pilot
//protobufs/cover:datasource_proto
//protobufs/cover:datasource_service_proto
Querying targets in project directories...
Command: bazel query --tool_tag=ijwb:IDEA:ultimate --output=label_kind --keep_going "attr(\"tags\", \"^((?!manual).)*$\", //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-big-gov-mono/...:all - //.ijwb/...:all)" --
49 targets found under project directories; syncing 42 of them.
Sync targets from project view directories:
//app:app_lib
//cover:cover_lib
//features/station_info:station_info_lib
//features/station_status:station-status-app
//infra/liquibase:liquibase
//infra/lombok:lombok
//infra/pilot:pilot
//infra/support:support
//infra/util:util
//infra/util/src/test/java/proto:creation_lib
//infra/util/src/test/java/proto:creation_proto
//protobufs/cover:column_proto
//protobufs/cover:cover_pb_lib
//protobufs/cover:cover_service_grpc_pb_lib
//protobufs/cover:datasource_proto
//protobufs/cover:datasource_service_proto
//protobufs/cover:feature_ptoto
//protobufs/cover:library_proto
//protobufs/cover:table_proto
//protobufs/cover:tenant_proto
//protobufs/pilot:application_proto
//protobufs/pilot:dependency_proto
//protobufs/pilot:kind_proto
//protobufs/pilot:metadata_proto
//protobufs/pilot:pilot_pb_lib
//protobufs/pilot:specification_proto
//protobufs/shenzhen:shenzhen_station_info_pb_lib
//protobufs/shenzhen:shenzhen_station_info_proto
//protobufs/support:pagination_proto
//protobufs/support:support_pb_lib
//protobufs/yunnan:yunnan_station_info_app_lib
//protobufs/yunnan:yunnan_station_info_pb_lib
//protobufs/yunnan:yunnan_station_info_proto
//app:app_test
//app:gov_app
//cover:cover_bin
//cover:cover_test
//infra/liquibase:test
//infra/pilot:pilot_bin
//infra/support:test
//infra/util:test
//infra/lombok:lombok_plugin
Sync targets from project view targets:
//features/station_info:station_info_lib
//features/station_status:station-status-app
Running Bazel info...
Command: bazel info --tool_tag=ijwb:IDEA:ultimate --curses=no --color=yes --progress_in_terminal_title=no --
INFO: Invocation ID: f42ece1c-8c0d-4e50-9a8d-ded3ee55d112
Building Bazel targets...
Command: bazel build --tool_tag=ijwb:IDEA:ultimate --keep_going --build_event_binary_file=/var/folders/75/hpszmh_x599_t1x2t5y644nr0000gr/T/intellij-bep-4711f5a8-f8d6-4285-a250-91ee93e4b7ba --nobuild_event_binary_file_path_conversion --curses=no --color=yes --progress_in_terminal_title=no --noexperimental_run_validations --aspects=@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect "--override_repository=intellij_aspect=/Users/shaoxixu/Library/Application Support/JetBrains/IntelliJIdea2021.3/plugins/ijwb/aspect" --output_groups=intellij-resolve-java-direct-deps,intellij-info-generic,intellij-info-java-direct-deps -- //go/daolayer:all //cover:all //infra/pilot:all //protobufs/cover:all //app:app_lib //app:gov_app //cover:cover_bin //cover:cover_lib //cover:cover_test //features/station_info:station_info_lib //infra/pilot:pilot //protobufs/cover:datasource_proto //protobufs/cover:datasource_service_proto //app:app_lib //cover:cover_lib //features/station_info:station_info...
INFO: Invocation ID: 5775dd3f-404c-4fd9-9494-0ddf0079f1b3
Loading:
Loading: 0 packages loaded
Analyzing: 44 targets (0 packages loaded, 0 targets configured)
INFO: Analyzed 44 targets (0 packages loaded, 110 targets configured).
INFO: Found 44 targets...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[481 / 649] Compiling src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc; 1s remote-cache, darwin-sandbox ... (24 actions running)
ERROR: /private/var/tmp/_bazel_shaoxixu/d52061ccccc835b2a38f37a36e346e7d/external/com_github_protocolbuffers_protobuf/BUILD:130:11: Compiling src/google/protobuf/parse_context.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 35 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:238:33: error: redefinition of 'ReadRepeatedFixed'
const char* EpsCopyInputStream::ReadRepeatedFixed(const char* ptr,
^
/usr/local/include/google/protobuf/parse_context.h:672:33: note: previous definition is here
const char* EpsCopyInputStream::ReadRepeatedFixed(const char* ptr,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: error: redefinition of 'ReadPackedFixed'
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
/usr/local/include/google/protobuf/parse_context.h:696:33: note: previous definition is here
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:342:10: error: no matching member function for call to 'ParseMessage'
return ParseMessage<MessageLite>(msg, ptr);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/parse_context.h:661:46: note: candidate template ignored: requirement '!std::is_base_of<google::protobuf::MessageLite, google::protobuf::MessageLite>::value' was not satisfied [with T = google::protobuf::MessageLite]
PROTOBUF_NODISCARD const char* ParseContext::ParseMessage(T* msg,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:344:27: error: out-of-line definition of 'ParseMessage' does not match any declaration in 'google::protobuf::internal::ParseContext'
const char* ParseContext::ParseMessage(Message* msg, const char* ptr) {
^~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:517:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<unsigned int>' requested here
return FixedParser<uint32>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = unsigned int]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:521:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<int>' requested here
return FixedParser<int32>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = int]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:525:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<unsigned long long>' requested here
return FixedParser<uint64>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = unsigned long long]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:529:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<long long>' requested here
return FixedParser<int64>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = long long]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:533:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<float>' requested here
return FixedParser<float>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = float]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:511:15: error: no matching member function for call to 'ReadPackedFixed'
return ctx->ReadPackedFixed(ptr, size,
~~~~~^~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:537:10: note: in instantiation of function template specialization 'google::protobuf::internal::FixedParser<double>' requested here
return FixedParser<double>(object, ptr, ctx);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/parse_context.cc:263:33: note: candidate template ignored: substitution failure [with T = double]
const char* EpsCopyInputStream::ReadPackedFixed(const char* ptr, int size,
^
10 errors generated.
ERROR: /private/var/tmp/_bazel_shaoxixu/d52061ccccc835b2a38f37a36e346e7d/external/com_github_protocolbuffers_protobuf/BUILD:130:11: Compiling src/google/protobuf/extension_set.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 35 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:128:31: error: use of undeclared identifier 'containing_type_'
FindRegisteredExtension(containing_type_, number);
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:143:17: error: no matching constructor for initialization of 'google::protobuf::internal::ExtensionInfo'
ExtensionInfo info(type, is_repeated, is_packed);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
struct ExtensionInfo {
^
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
/usr/local/include/google/protobuf/extension_set.h:105:13: note: candidate constructor not viable: requires 5 arguments, but 3 were provided
constexpr ExtensionInfo(const MessageLite* extendee, int param_number,
^
/usr/local/include/google/protobuf/extension_set.h:104:13: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
constexpr ExtensionInfo() : enum_validity_check() {}
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:165:17: error: no matching constructor for initialization of 'google::protobuf::internal::ExtensionInfo'
ExtensionInfo info(type, is_repeated, is_packed);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
struct ExtensionInfo {
^
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
/usr/local/include/google/protobuf/extension_set.h:105:13: note: candidate constructor not viable: requires 5 arguments, but 3 were provided
constexpr ExtensionInfo(const MessageLite* extendee, int param_number,
^
/usr/local/include/google/protobuf/extension_set.h:104:13: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
constexpr ExtensionInfo() : enum_validity_check() {}
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:178:17: error: no matching constructor for initialization of 'google::protobuf::internal::ExtensionInfo'
ExtensionInfo info(type, is_repeated, is_packed);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
struct ExtensionInfo {
^
/usr/local/include/google/protobuf/extension_set.h:103:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
/usr/local/include/google/protobuf/extension_set.h:105:13: note: candidate constructor not viable: requires 5 arguments, but 3 were provided
constexpr ExtensionInfo(const MessageLite* extendee, int param_number,
^
/usr/local/include/google/protobuf/extension_set.h:104:13: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
constexpr ExtensionInfo() : enum_validity_check() {}
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:292:25: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->LOWERCASE##_value; \
^
<scratch space>:20:1: note: expanded from here
int32_value
^
/usr/local/include/google/protobuf/extension_set.h:623:15: note: 'int32_t_value' declared here
int32_t int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:309:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->LOWERCASE##_value = value; \
^
<scratch space>:36:1: note: expanded from here
int32_value
^
/usr/local/include/google/protobuf/extension_set.h:623:15: note: 'int32_t_value' declared here
int32_t int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'repeated_int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:317:23: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->repeated_##LOWERCASE##_value->Get(index); \
^
<scratch space>:52:1: note: expanded from here
repeated_int32_value
^
/usr/local/include/google/protobuf/extension_set.h:635:31: note: 'repeated_int32_t_value' declared here
RepeatedField<int32_t>* repeated_int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'repeated_int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:325:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value->Set(index, value); \
^
<scratch space>:68:1: note: expanded from here
repeated_int32_value
^
/usr/local/include/google/protobuf/extension_set.h:635:31: note: 'repeated_int32_t_value' declared here
RepeatedField<int32_t>* repeated_int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'repeated_int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:338:18: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value = \
^
<scratch space>:76:1: note: expanded from here
repeated_int32_value
^
/usr/local/include/google/protobuf/extension_set.h:635:31: note: 'repeated_int32_t_value' declared here
RepeatedField<int32_t>* repeated_int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:347:1: error: no member named 'repeated_int32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int32_t_value'?
PRIMITIVE_ACCESSORS(INT32, int32, Int32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:344:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value->Add(value); \
^
<scratch space>:92:1: note: expanded from here
repeated_int32_value
^
/usr/local/include/google/protobuf/extension_set.h:635:31: note: 'repeated_int32_t_value' declared here
RepeatedField<int32_t>* repeated_int32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:292:25: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->LOWERCASE##_value; \
^
<scratch space>:103:1: note: expanded from here
int64_value
^
/usr/local/include/google/protobuf/extension_set.h:624:15: note: 'int64_t_value' declared here
int64_t int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:309:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->LOWERCASE##_value = value; \
^
<scratch space>:6:1: note: expanded from here
int64_value
^
/usr/local/include/google/protobuf/extension_set.h:624:15: note: 'int64_t_value' declared here
int64_t int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'repeated_int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:317:23: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->repeated_##LOWERCASE##_value->Get(index); \
^
<scratch space>:22:1: note: expanded from here
repeated_int64_value
^
/usr/local/include/google/protobuf/extension_set.h:636:31: note: 'repeated_int64_t_value' declared here
RepeatedField<int64_t>* repeated_int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'repeated_int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:325:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value->Set(index, value); \
^
<scratch space>:38:1: note: expanded from here
repeated_int64_value
^
/usr/local/include/google/protobuf/extension_set.h:636:31: note: 'repeated_int64_t_value' declared here
RepeatedField<int64_t>* repeated_int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'repeated_int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:338:18: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value = \
^
<scratch space>:46:1: note: expanded from here
repeated_int64_value
^
/usr/local/include/google/protobuf/extension_set.h:636:31: note: 'repeated_int64_t_value' declared here
RepeatedField<int64_t>* repeated_int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:348:1: error: no member named 'repeated_int64_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_int64_t_value'?
PRIMITIVE_ACCESSORS(INT64, int64, Int64)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:344:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->repeated_##LOWERCASE##_value->Add(value); \
^
<scratch space>:62:1: note: expanded from here
repeated_int64_value
^
/usr/local/include/google/protobuf/extension_set.h:636:31: note: 'repeated_int64_t_value' declared here
RepeatedField<int64_t>* repeated_int64_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:349:1: error: no member named 'uint32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'uint32_t_value'?
PRIMITIVE_ACCESSORS(UINT32, uint32, UInt32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:292:25: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->LOWERCASE##_value; \
^
<scratch space>:73:1: note: expanded from here
uint32_value
^
/usr/local/include/google/protobuf/extension_set.h:625:16: note: 'uint32_t_value' declared here
uint32_t uint32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:349:1: error: no member named 'uint32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'uint32_t_value'?
PRIMITIVE_ACCESSORS(UINT32, uint32, UInt32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:309:16: note: expanded from macro 'PRIMITIVE_ACCESSORS'
extension->LOWERCASE##_value = value; \
^
<scratch space>:89:1: note: expanded from here
uint32_value
^
/usr/local/include/google/protobuf/extension_set.h:625:16: note: 'uint32_t_value' declared here
uint32_t uint32_t_value;
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:349:1: error: no member named 'repeated_uint32_value' in 'google::protobuf::internal::ExtensionSet::Extension'; did you mean 'repeated_uint32_t_value'?
PRIMITIVE_ACCESSORS(UINT32, uint32, UInt32)
^
external/com_github_protocolbuffers_protobuf/src/google/protobuf/extension_set.cc:317:23: note: expanded from macro 'PRIMITIVE_ACCESSORS'
return extension->repeated_##LOWERCASE##_value->Get(index); \
^
<scratch space>:105:1: note: expanded from here
repeated_uint32_value
^
/usr/local/include/google/protobuf/extension_set.h:637:32: note: 'repeated_uint32_t_value' declared here
RepeatedField<uint32_t>* repeated_uint32_t_value;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ERROR: /private/var/tmp/_bazel_shaoxixu/d52061ccccc835b2a38f37a36e346e7d/external/com_github_protocolbuffers_protobuf/BUILD:130:11: Compiling src/google/protobuf/generated_message_util.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 35 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_protocolbuffers_protobuf/src/google/protobuf/generated_message_util.cc:686:57: error: too few arguments to function call, expected 4, have 3
->SerializeWithCachedSizes(tag, has_offset, output);
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/google/protobuf/extension_set.h:469:8: note: 'SerializeWithCachedSizes' declared here
void SerializeWithCachedSizes(const MessageLite* extendee,
^
1 error generated.
ERROR: /private/var/tmp/_bazel_shaoxixu/d52061ccccc835b2a38f37a36e346e7d/external/com_github_protocolbuffers_protobuf/BUILD:179:11: Compiling src/google/protobuf/source_context.pb.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 43 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_protocolbuffers_protobuf/src/google/protobuf/source_context.pb.cc:82:16: error: out-of-line definition of 'SourceContext' does not match any declaration in 'google::protobuf::SourceContext'
SourceContext::SourceContext(::PROTOBUF_NAMESPACE_ID::Arena* arena)
^~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/source_context.pb.cc:220:21: error: out-of-line definition of 'MergeFrom' does not match any declaration in 'google::protobuf::SourceContext'
void SourceContext::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/source_context.pb.cc:247:21: error: out-of-line definition of 'CopyFrom' does not match any declaration in 'google::protobuf::SourceContext'
void SourceContext::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~
3 errors generated.
[509 / 649] Compiling src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc; 2s remote-cache, darwin-sandbox ... (23 actions, 22 running)
ERROR: /private/var/tmp/_bazel_shaoxixu/d52061ccccc835b2a38f37a36e346e7d/external/com_github_protocolbuffers_protobuf/BUILD:356:11: Compiling src/google/protobuf/compiler/plugin.pb.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 43 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:233:10: error: out-of-line definition of 'Version' does not match any declaration in 'google::protobuf::compiler::Version'
Version::Version(::PROTOBUF_NAMESPACE_ID::Arena* arena)
^~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:459:15: error: out-of-line definition of 'MergeFrom' does not match any declaration in 'google::protobuf::compiler::Version'
void Version::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:499:15: error: out-of-line definition of 'CopyFrom' does not match any declaration in 'google::protobuf::compiler::Version'
void Version::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:561:23: error: out-of-line definition of 'CodeGeneratorRequest' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorRequest'
CodeGeneratorRequest::CodeGeneratorRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena)
^~~~~~~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:814:28: error: out-of-line definition of 'MergeFrom' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorRequest'
void CodeGeneratorRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:849:28: error: out-of-line definition of 'CopyFrom' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorRequest'
void CodeGeneratorRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:916:29: error: out-of-line definition of 'CodeGeneratorResponse_File' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorResponse_File'
CodeGeneratorResponse_File::CodeGeneratorResponse_File(::PROTOBUF_NAMESPACE_ID::Arena* arena)
^~~~~~~~~~~~~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:1178:34: error: out-of-line definition of 'MergeFrom' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorResponse_File'
void CodeGeneratorResponse_File::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:1217:34: error: out-of-line definition of 'CopyFrom' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorResponse_File'
void CodeGeneratorResponse_File::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:1276:24: error: out-of-line definition of 'CodeGeneratorResponse' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorResponse'
CodeGeneratorResponse::CodeGeneratorResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
^~~~~~~~~~~~~~~~~~~~~
external/com_github_protocolbuffers_protobuf/src/google/protobuf/compiler/plugin.pb.cc:1481:29: error: out-of-line definition of 'MergeFrom' does not match any declaration in 'google::protobuf::compiler::CodeGeneratorResponse'
void CodeGeneratorResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
^~~~~~~~
rules_proto_grpc Version
4.1.1
Bazel Version
5.1.0
OS
Mac os
Link to Demo Repo
No response
WORKSPACE Content
workspace(name = "big-gov-mono")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# 4/7/2022 go
http_archive(
name = "io_bazel_rules_go",
sha256 = "f2dcd210c7095febe54b804bb1cd3a58fe8435a909db2ec04e31542631cf715c",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.31.0/rules_go-v0.31.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.18")
# 4/7/2022 protocol
http_archive(
name = "rules_proto",
sha256 = "66bfdf8782796239d3875d37e7de19b1d94301e8972b3cbd2446b332429b4df1",
strip_prefix = "rules_proto-4.0.0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
],
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
# 4/9/2022 rules_proto_grpc
http_archive(
name = "rules_proto_grpc",
sha256 = "507e38c8d95c7efa4f3b1c0595a8e8f139c885cb41a76cab7e20e4e67ae87731",
strip_prefix = "rules_proto_grpc-4.1.1",
urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/archive/4.1.1.tar.gz"],
)
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_toolchains", "rules_proto_grpc_repos")
rules_proto_grpc_toolchains()
rules_proto_grpc_repos()
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
load("@rules_proto_grpc//java:repositories.bzl", rules_proto_grpc_java_repos = "java_repos")
rules_proto_grpc_java_repos()
# 4/7/2022 maven
RULES_JVM_EXTERNAL_TAG = "4.2"
RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
http_archive(
name = "rules_jvm_external",
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
sha256 = RULES_JVM_EXTERNAL_SHA,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
rules_jvm_external_deps()
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
rules_jvm_external_setup()
load("@rules_jvm_external//:defs.bzl", "maven_install")
load("@rules_jvm_external//:defs.bzl", "artifact")
load("@rules_jvm_external//:specs.bzl", "maven")
load("//infra:maven_dependencies.bzl", "artifacts", "excluded_artifacts")
load("//infra:repositories.bzl", "maven_repositories")
maven_install(
name = "maven",
artifacts = artifacts,
fetch_sources = True,
generate_compat_repositories = True,
excluded_artifacts = excluded_artifacts,
repositories = maven_repositories,
version_conflict_policy = "pinned",
)
load("@maven//:compat.bzl", web_app_compat_repositories = "compat_repositories")
web_app_compat_repositories()
load("@maven//:defs.bzl", web_app_pinned_maven_install = "pinned_maven_install")
web_app_pinned_maven_install()
load("@io_grpc_grpc_java//:repositories.bzl", "IO_GRPC_GRPC_JAVA_ARTIFACTS", "IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS", "grpc_java_repositories")
maven_install(
name = "grpc_app_maven",
artifacts = IO_GRPC_GRPC_JAVA_ARTIFACTS,
fetch_sources = True,
generate_compat_repositories = True,
override_targets = IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS,
repositories = maven_repositories,
version_conflict_policy = "pinned",
)
grpc_java_repositories()
load("@grpc_app_maven//:compat.bzl", grpc_app_compat_repositories = "compat_repositories")
grpc_app_compat_repositories()
load("@grpc_app_maven//:defs.bzl", grpc_app_pinned_maven_install = "pinned_maven_install")
grpc_app_pinned_maven_install()
# buildifier BUILD file linter
http_archive(
name = "com_github_bazelbuild_buildtools",
strip_prefix = "buildtools-master",
url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
)
linting_system_version = "7f8b336f4e9dbfcfd4fe6a1406047e72abc059aa"
# Source code linting system
# ⚠️ Currently in ALPHA as at 2020/12/12
http_archive(
name = "linting_system",
sha256 = "fc9b5c78aff9836b5c7abe6ed24f9ad549fbec642bb43e27584fcf416991f786",
strip_prefix = "bazel-linting-system-{version}".format(version = linting_system_version),
url = "https://github.com/thundergolfer/bazel-linting-system/archive/{version}.zip".format(version = linting_system_version),
)
load("@linting_system//repositories:repositories.bzl", "repositories")
repositories()
load("@linting_system//repositories:go_repositories.bzl", "go_deps")
go_deps()
BUILD Content
No response
Proto Content
No response
Any Other Content
No response