Tikv: Fail to execute `cargo check` in `components/tikv_util`

Created on 3 Dec 2019  路  3Comments  路  Source: tikv/tikv

Bug Report

Steps to reproduce

cargo check in components/tikv_util

What did you expect?

cargo check exits normally.

What did happen?

cargo check failed and report:

error[E0599]: no method named `generate_files` found for type `&Builder` in the current scope
  --> /home/iosmanthus/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-build-0.10.0/src/lib.rs:56:14
   |
56 |         self.generate_files();
   |              ^^^^^^^^^^^^^^

error: aborting due to previous error

typbug

Most helpful comment

You must specify either prost-codec or protobuf-codec feature for it to work. It would be better if this was not required, but it is tricky

All 3 comments

Can't run cargo check in components/tidb_query neither.

@nrc @BusyJay @brson PTAL, thanks! It might not be friendly that general cargo commands doesn't work in our project.

You must specify either prost-codec or protobuf-codec feature for it to work. It would be better if this was not required, but it is tricky

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siddontang picture siddontang  路  7Comments

siddontang picture siddontang  路  8Comments

Connor1996 picture Connor1996  路  3Comments

breeswish picture breeswish  路  6Comments

breeswish picture breeswish  路  4Comments