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
Check failed: nest_in_file_class != pb::JavaFeatures::NestInFileClassFeature::NEST_IN_FILE_CLASS_UNKNOWN Unknown value for nest_in_file_class feature. Try populating the Java feature set defaults in your generator plugin or custom descriptor pool.
#21954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Run ./test.bash (or just something like bazelisk build //...)
What did you expect to see
Working build.
What did you see instead?
no actions running
Loading: 0 packages loaded
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/rules_swift+/swift/internal/swift_autoconfiguration.bzl:211:14: No 'swiftc' executable found in $PATH. Not auto-generating a Linux Swift toolchain.
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//rls:rls_java_grpc: Proto source with label @@grpc-proto+//:rls_proto should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//xds:envoy_service_status_v3_java_grpc: Proto source with label @@envoy_api+//envoy/service/status/v3:pkg should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//xds:envoy_service_load_stats_v3_java_grpc: Proto source with label @@envoy_api+//envoy/service/load_stats/v3:pkg should be in same package as consuming rule
WARNING: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/services/BUILD.bazel:172:18: in _java_grpc_library rule @@grpc-java+//services:_reflection_java_grpc: target '@@grpc-java+//services:_reflection_java_grpc' depends on deprecated target '@@grpc-proto+//:reflection_proto_deprecated': Use :reflection_proto instead
WARNING: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/services/BUILD.bazel:172:18: in _java_grpc_library rule @@grpc-java+//services:_reflection_java_grpc: target '@@grpc-java+//services:_reflection_java_grpc' depends on deprecated target '@@grpc-proto+//:reflection_java_proto_deprecated': Use :reflection_java_proto instead
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//services:_channelz_java_grpc: Proto source with label @@grpc-proto+//:channelz_proto should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//xds:xds_service_orca_v3_java_grpc: Proto source with label @@xds+//xds/service/orca/v3:pkg should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//grpclb:load_balancer_java_grpc: Proto source with label @@grpc-proto+//:grpclb_load_balancer_proto should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//services:_reflection_java_grpc: Proto source with label @@grpc-proto+//:reflection_proto_deprecated should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//xds:envoy_service_discovery_v3_java_grpc: Proto source with label @@envoy_api+//envoy/service/discovery/v3:pkg should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//services:_reflection_v1_java_grpc: Proto source with label @@grpc-proto+//:reflection_proto should be in same package as consuming rule
DEBUG: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/java_grpc_library.bzl:84:14: in srcs attribute of @@grpc-java+//services:_health_java_grpc: Proto source with label @@grpc-proto+//:health_proto should be in same package as consuming rule
WARNING: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/services/BUILD.bazel:107:13: in java_library rule @@grpc-java+//services:reflection: target '@@grpc-java+//services:reflection' depends on deprecated target '@@grpc-proto+//:reflection_java_proto_deprecated': Use :reflection_java_proto instead
INFO: Analyzed 234 targets (1054 packages loaded, 26480 targets configured).
INFO: Found 179 targets and 55 test targets...
INFO: Writing explanation of rebuilds to '/home/vorburger/bazel-test-explain.txt'
INFO: From Building external/protobuf+/java/core/liblite_runtime_only.jar (94 source files):
external/protobuf+/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:270: warning: [removal] AccessController in java.security has been deprecated and marked for removal
AccessController.doPrivileged(
^
INFO: From Building external/protobuf+/java/core/liblite_runtime_only.jar (94 source files) [for tool]:
external/protobuf+/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:270: warning: [removal] AccessController in java.security has been deprecated and marked for removal
AccessController.doPrivileged(
^
INFO: From Compiling src/google/protobuf/compiler/java/internal_helpers.cc [for tool]:
external/protobuf+/src/google/protobuf/compiler/java/internal_helpers.cc: In lambda function:
external/protobuf+/src/google/protobuf/compiler/java/internal_helpers.cc:180:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<const google::protobuf::EnumValueDescriptor*, const google::protobuf::EnumValueDescriptor*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | for (int i = 0; i < aliases.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
ERROR: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/xds/BUILD.bazel:97:18: Action external/grpc-java+/xds/envoy_service_discovery_v3_java_grpc-proto-gensrc.jar [for tool] failed: (Exit 1): protoc failed: error executing Action command (from target @@grpc-java+//xds:envoy_service_discovery_v3_java_grpc) bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/protobuf+/protoc '--plugin=protoc-gen-rpc-plugin=bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/grpc-java+/compiler/grpc_java_plugin' ... (remaining 5 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
F0000 00:00:1748122933.101682 3 helpers.cc:935] Check failed: nest_in_file_class != pb::JavaFeatures::NestInFileClassFeature::NEST_IN_FILE_CLASS_UNKNOWN Unknown value for nest_in_file_class feature. Try populating the Java feature set defaults in your generator plugin or custom descriptor pool.
*** Check failure stack trace: ***
@ 0x52ccf1 absl::lts_20250127::log_internal::LogMessage::SendToLog()
@ 0x52d389 absl::lts_20250127::log_internal::LogMessageFatal::~LogMessageFatal()
@ 0x405cdc google::protobuf::compiler::java::NestedInFileClass()
@ 0x429e02 google::protobuf::compiler::java::ClassNameResolver::GetClassName[abi:cxx11]()
@ 0x429eb7 google::protobuf::compiler::java::ClassNameResolver::GetClassName[abi:cxx11]()
@ 0x426858 google::protobuf::compiler::java::ClassName[abi:cxx11]()
@ 0x41a933 java_grpc_generator::PrintMethodFields()
@ 0x423c9f java_grpc_generator::GenerateService()
@ 0x425d8b JavaGrpcGenerator::Generate()
@ 0x42a436 google::protobuf::compiler::CodeGenerator::GenerateAll()
@ 0x42b29e google::protobuf::compiler::GenerateCode()
@ 0x42b684 google::protobuf::compiler::PluginMain()
@ 0x41638f main
@ 0x7f1338e10248 __libc_start_call_main
@ 0x7f1338e1030b __libc_start_main@GLIBC_2.2.5
@ 0x4167f5 _start
--rpc-plugin_out: protoc-gen-rpc-plugin: Plugin killed by signal 6.
ERROR: /home/vorburger/.cache/bazel/_bazel_vorburger/a3cf8df34f0c7a76e9926daaad9ffbf4/external/grpc-java+/xds/BUILD.bazel:16:13 Compiling Java headers external/grpc-java+/xds/libxds-hjar.jar (127 source files) and running annotation processors (AutoValueProcessor) [for tool] failed: (Exit 1): protoc failed: error executing Action command (from target @@grpc-java+//xds:envoy_service_discovery_v3_java_grpc) bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/protobuf+/protoc '--plugin=protoc-gen-rpc-plugin=bazel-out/k8-opt-exec-ST-d57f47055a04/bin/external/grpc-java+/compiler/grpc_java_plugin' ... (remaining 5 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 178.731s, Critical Path: 51.54s
INFO: 1618 processes: 1831 action cache hit, 452 internal, 1081 linux-sandbox, 85 worker.
ERROR: Build did NOT complete successfully
The text was updated successfully, but these errors were encountered:
What version of protobuf and what language are you using?
Version: 31.0
Language: Java
What operating system (Linux, Windows, ...) and version?
Linux Fedora 41
What runtime / compiler are you using (e.g., python version or gcc version)
gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
What did you do?
Steps to reproduce the behavior:
git clone https://github.com/enola-dev/enola.git
bazel_dep(name = "protobuf", version = "29.4")
to 31.0 inMODULE.bazel
bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.1")
because of Error: file '@com_google_protobuf//:protobuf.bzl' does not contain symbol 'py_proto_library' #21231./test.bash
(or just something likebazelisk build //...
)What did you expect to see
Working build.
What did you see instead?
The text was updated successfully, but these errors were encountered: