andygrove opened a new issue, #1574:
URL: https://github.com/apache/arrow-rs/issues/1574
**Describe the bug**
I get an error when running `cargo test`. This is apparently due to a recent
upgrade to post and likely related to having an old protoc installed (I am
using `libprotoc 3.11.4`). I am filing this issue to help others that hit the
same problem.
```
error: failed to run custom build command for `arrow-flight v12.0.0
(/tmp/arrow-12.0.0.PitgR/apache-arrow-rs-12.0.0/arrow-flight)`
Caused by:
process didn't exit successfully:
`/tmp/arrow-12.0.0.PitgR/apache-arrow-rs-12.0.0/target/debug/build/arrow-flight-32d1e9d97d680e87/build-script-build`
(exit status: 1)
--- stdout
cargo:rerun-if-changed=../format/Flight.proto
--- stderr
Error: Custom { kind: Other, error: "protoc failed: Unknown flag:
--experimental_allow_proto3_optional\n" }
```
**To Reproduce**
Run `cargo test`
**Expected behavior**
Should not fail.
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]