-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing cargo BitBake #29
Comments
What version of cargo and rustc are you using?
… On May 16, 2021, at 4:29 AM, NNEU-1 ***@***.***> wrote:
Hi,
when I'm trying to install cargo BitBake, I get the following error:
error[E0283]: type annotations needed
--> /home/noel/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.49.0/src/cargo/util/config/de.rs:530:63
|
530 | seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
| ^^^^^^ cannot infer type for struct std::string::String
|
= note: cannot satisfy std::string::String: std::convert::AsRef<_>
error: aborting due to previous error
For more information about this error, try rustc --explain E0283.
error: could not compile cargo.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile cargo-bitbake v0.3.15, intermediate artifacts can be found at /tmp/cargo-installYXjK6b
Caused by:
build failed
I tried it on ubuntu 16, 18 and 20.
I once had it running on Ubuntu 18, but I can't remember what changed in the meantime.
Any help appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Just to give more info
rustc 1.51.0 (2fd73fabe 2021-03-23) Update: 1.52 has the same issue |
Saw these similar issues: rust-lang/cargo#9124 as a workaround doing |
I'm seeing the same issue on arch linux, with rust 1.53. |
Seeing the same thing on macOS Catalina running rust 1.51, and on Fedora 34 running rust 1.55.
|
#40 should fix this |
This avoids issues with incompatible changes in the dependencies (such as in meta-rust#29).
Hi,
when I'm trying to install cargo BitBake, I get the following error:
I tried it on ubuntu 16, 18 and 20.
I once had it running on Ubuntu 18, but I can't remember what changed in the meantime.
Any help appreciated.
The text was updated successfully, but these errors were encountered: