joepio opened a new issue, #2739: URL: https://github.com/apache/incubator-opendal/issues/2739
Hi there! I'm using `opendal` v0.39.0 [in my project](https://github.com/atomicdata-dev/atomic-server/pull/644), but it does not compile: ``` error[E0432]: unresolved import `http::HeaderName` --> /Users/joep/.cargo/registry/src/github.com-1ecc6299db9ec823/opendal-0.39.0/src/raw/http_util/multipart.rs:29:5 | 29 | use http::HeaderName; | ^^^^^^^^^^^^^^^^ no `HeaderName` in the root | help: a similar name exists in the module | 29 | use http::HeaderMap; | ~~~~~~~~~ help: consider importing one of these items instead | 29 | use http::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~ 29 | use hyper::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | use reqwest::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0432]: unresolved import `http::HeaderName` --> /Users/joep/.cargo/registry/src/github.com-1ecc6299db9ec823/opendal-0.39.0/src/services/azdfs/core.rs:26:5 | 26 | use http::HeaderName; | ^^^^^^^^^^^^^^^^ no `HeaderName` in the root | help: a similar name exists in the module | 26 | use http::HeaderMap; | ~~~~~~~~~ help: consider importing one of these items instead | 26 | use http::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~ 26 | use hyper::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | use reqwest::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0432]: unresolved import `http::HeaderName` --> /Users/joep/.cargo/registry/src/github.com-1ecc6299db9ec823/opendal-0.39.0/src/services/oss/core.rs:30:5 | 30 | use http::HeaderName; | ^^^^^^^^^^^^^^^^ no `HeaderName` in the root | help: a similar name exists in the module | 30 | use http::HeaderMap; | ~~~~~~~~~ help: consider importing one of these items instead | 30 | use http::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~ 30 | use hyper::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | use reqwest::header::HeaderName; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0599]: no method named `spare_capacity_mut` found for struct `BytesMut` in the current scope --> /Users/joep/.cargo/registry/src/github.com-1ecc6299db9ec823/opendal-0.39.0/src/raw/oio/stream/into_stream_from_reader.rs:65:28 | 65 | let dst = self.buf.spare_capacity_mut(); | ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `rsplit_mut` ``` I tried compiling `opendal` locally from this repo, and that seems to work fine. I'm not quite sure what's going on here. Perhaps a problem while publishing the cargo crate? Maybe It's just me? -- 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]
