Closed jianshu93 closed 2 months ago
Can you directly download the binary package I placed in the release and run it?
I'll update Rust to version 1.80.1 and give it a try
cargo build --target aarch64-apple-darwin
ls -alh target/aarch64-apple-darwin/debug/ncbi_dl
-rwxr-xr-x 1 eric staff 21M 8 21 09:43 target/aarch64-apple-darwin/debug/ncbi_dl
rustc --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
emm.strange. I will try again.
cargo clean
There must be something wrong with my Rust environment. Succeeded after completely install everything.
Thanks,
Jianshu
It turns out it does happen:
https://github.com/TrueLayer/reqwest-middleware/issues/185
Check this link.
Updating to the newest version works for me. Please let me know if you can do it or I can do it.
Thanks,
Jiasnhu
This library mentions potential issues with version 0.12.6. How is this related to version 0.12.4?
hi @eric9n,
I have no problems on Linux but I always have this compiling error on MacOS (Rust stable channel, 1.80.1) for the most recent commit:
help: try using a fully qualified path to specify the expected types | 284 | <Client as Service>::poll_ready(&mut self.inner, cx).map_err(crate::Error::Reqwest)
| +++++++++++++++++++++++++++++++++++++++++++++ ~
help: try using a fully qualified path to specify the expected types | 284 | <Client as Service>::poll_ready(&mut self.inner, cx).map_err(crate::Error::Reqwest)
| +++++++++++++++++++++++++++++++++++++++++++++ ~
help: try using a fully qualified path to specify the expected types | 306 | <&Client as Service>::poll_ready(&mut (&self.inner), cx).map_err(crate::Error::Reqwest)
| ++++++++++++++++++++++++++++++++++++++++++++++ ~
help: try using a fully qualified path to specify the expected types | 306 | <&Client as Service>::poll_ready(&mut (&self.inner), cx).map_err(crate::Error::Reqwest)
| ++++++++++++++++++++++++++++++++++++++++++++++ ~
Some errors have detailed explanations: E0283, E0284. For more information about an error, try
rustc --explain E0283
. error: could not compilereqwest-middleware
(lib) due to 4 previous errors warning: build failed, waiting for other jobs to finish...Is that because the reqwest-middleware does not support MacOS? You can try to use cross compiling for aarch64-apple-darwin target
Thanks,
Jianshu