I got these errors when running linter with v1.46.0 buf
Executing tests from //:root_proto_lint
-----------------------------------------------------------------------------
Failed with code invalid_argument: validation error:
- file_descriptors[0].file_descriptor_proto: source_code_info must be present [source_code_info_present]
- file_descriptors[1].file_descriptor_proto: source_code_info must be present [source_code_info_present]
- file_descriptors[2].file_descriptor_proto: source_code_info must be present [source_code_info_present]
- file_descriptors[3].file_descriptor_proto: source_code_info must be present [source_code_info_present]
- file_descriptors[4].file_descriptor_proto: source_code_info must be present [source_code_info_present]
- file_descriptors[5].file_descriptor_proto: source_code_info must be present [source_code_info_present]
--buf-plugin_out: protoc-gen-buf-plugin: Plugin failed with status code 1.
Steps to reproduce
- Change
|
buf.toolchains(version = "v1.26.0") |
to buf.toolchains(version = "v1.46.0")
- Run
bazel run //:root_proto_lint
I got these errors when running linter with
v1.46.0bufSteps to reproduce
rules_buf/examples/bzlmod/MODULE.bazel
Line 28 in ac66781
buf.toolchains(version = "v1.46.0")bazel run //:root_proto_lint