waynexia opened a new issue, #13391:
URL: https://github.com/apache/datafusion/issues/13391

   ### Describe the bug
   
   `cargo clippy --workspace` gives this error:
   
   ```
   error: failed to run custom build command for `substrait v0.47.2`
   
   Caused by:
     process didn't exit successfully: 
`/data/arrow-datafusion/target/debug/build/substrait-937ed85a0c6c1eba/build-script-build`
 (exit status: 1)
     --- stdout
     cargo:rerun-if-env-changed=FORCE_REBUILD
     cargo:rerun-if-changed=substrait
     cargo:rerun-if-changed=substrait/text/simple_extensions_schema.yaml
     cargo:rerun-if-changed=substrait/proto/substrait/algebra.proto
     cargo:rerun-if-changed=substrait/proto/substrait/capabilities.proto
     cargo:rerun-if-changed=substrait/proto/substrait/extended_expression.proto
     
cargo:rerun-if-changed=substrait/proto/substrait/extensions/extensions.proto
     cargo:rerun-if-changed=substrait/proto/substrait/function.proto
     cargo:rerun-if-changed=substrait/proto/substrait/parameterized_types.proto
     cargo:rerun-if-changed=substrait/proto/substrait/plan.proto
     cargo:rerun-if-changed=substrait/proto/substrait/type.proto
     cargo:rerun-if-changed=substrait/proto/substrait/type_expressions.proto
   
     --- stderr
     Error: Custom { kind: Other, error: "protoc failed: 
substrait/algebra.proto: This file contains proto3 optional fields, but 
--experimental_allow_proto3_optional was not set.\n" }
   ```
   
   ### To Reproduce
   
   ```
   cargo clippy --workspace
   ```
   
   
   ### Expected behavior
   
   Build successfully
   
   
   ### Additional context
   
   protoc `libprotoc 3.12.4`
   rustc `stable rustc 1.82.0`
   OS: Ubuntu 22.04.5 LTS x86_64


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to