alamb edited a comment on pull request #1283: URL: https://github.com/apache/arrow-datafusion/pull/1283#issuecomment-966248233
When upgrading arrow only, the build fails like this ``` Compiling datafusion v5.1.0 (/Users/alamb/Software/arrow-datafusion/datafusion) error[E0308]: mismatched types --> ballista/rust/core/src/client.rs:75:19 | 75 | Ok(Self { flight_client }) | ^^^^^^^^^^^^^ expected struct `Channel`, found struct `tonic::transport::channel::Channel` | = note: expected struct `FlightServiceClient<Channel>` found struct `FlightServiceClient<tonic::transport::channel::Channel>` = note: perhaps two different versions of crate `tonic` are being used? error[E0599]: the method `do_get` exists for struct `FlightServiceClient<Channel>`, but its trait bounds were not satisfied --> ballista/rust/core/src/client.rs:112:14 | 112 | .do_get(request) | ^^^^^^ method cannot be called on `FlightServiceClient<Channel>` due to unsatisfied trait bounds | ::: /Users/alamb/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-0.5.2/src/transport/channel/mod.rs:68:1 | 68 | pub struct Channel { | ------------------ | | | doesn't satisfy `<_ as Service<tonic::codegen::http::Request<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>>>::Response = tonic::codegen::http::Response<_>` | doesn't satisfy `_: Service<tonic::codegen::http::Request<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>>` | doesn't satisfy `_: tonic::client::service::GrpcService<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>` | = note: the following trait bounds were not satisfied: `Channel: tonic::client::service::GrpcService<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>` `<Channel as Service<tonic::codegen::http::Request<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>>>::Response = tonic::codegen::http::Response<_>` `Channel: Service<tonic::codegen::http::Request<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, tonic::status::Status>>>` ``` -- 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...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org