agourlay opened a new pull request, #7265:
URL: https://github.com/apache/arrow-rs/pull/7265

   Fix the compilation of the `object store` due to incorrect requirement.
   
   When updating to `object-store` 0.12.0, I ran into a crate compilation 
failure.
   
   ```
   error[E0599]: no method named `into_data_stream` found for struct `BoxBody` 
in the current scope
      --> 
/home/agourlay/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.12.0/src/client/body.rs:176:24
       |
   176 |         let s = self.0.into_data_stream();
       |                        ^^^^^^^^^^^^^^^^
       |
   help: there is a method `into_raw` with a similar name
       |
   176 |         let s = self.0.into_raw();
       |                        ~~~~~~~~
   
   error[E0599]: no method named `into_data_stream` found for struct `BoxBody` 
in the current scope
      --> 
/home/agourlay/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.12.0/src/client/body.rs:182:16
       |
   182 |         self.0.into_data_stream().boxed()
       |                ^^^^^^^^^^^^^^^^
       |
   help: there is a method `into_raw` with a similar name
       |
   182 |         self.0.into_raw().boxed()
       |                ~~~~~~~~
   ```
   
   This method `into_data_stream` has been introduced in `http-body-util` in 
[0.1.2](https://github.com/hyperium/http-body/blob/master/http-body-util/CHANGELOG.md#v012).
   
   Therefore `object store` needs to have a precise patch version requirement.
   


-- 
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]

Reply via email to