better-van-82973
09/12/2024, 8:00 PM--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/bytestream/bytestream.proto: warning: Import google/protobuf/wrappers.proto but not used.\ncache.proto:39:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.\n" }
better-van-82973
09/12/2024, 8:01 PMcache.proto
file to fix this, but I’m curious if I did something stupid like install the wrong version of protobufbetter-van-82973
09/12/2024, 8:04 PMprotoc
version:
protoc --version
libprotoc 3.6.1
curved-manchester-66006
09/12/2024, 8:06 PM~/bin
, and it worked after I got rid of that. (For reasons relating to my not knowing rust at all, just deleting optional
was not enough.)dazzling-pizza-75442
09/12/2024, 8:07 PMdazzling-pizza-75442
09/12/2024, 8:07 PMbetter-van-82973
09/12/2024, 8:07 PMwhich protoc
/usr/bin/protoc
better-van-82973
09/12/2024, 8:07 PMdazzling-pizza-75442
09/12/2024, 8:09 PM--experimental_allow_proto3_optional
better-van-82973
09/12/2024, 8:25 PM