Need Cargo.lock file
Even though we used nightly-2022-02-04-x86_64-unknown-linux-gnu as the toolchain, cargo still failed due to version incompatibility when building third-party dependencies(crates.io).
some of errors like:
error[E0658]: cfg(target_has_atomic) is experimental and subject to change
--> /home/xxx/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/log-0.4.19/src/lib.rs:350:7
|
350 | #[cfg(target_has_atomic = "ptr")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #32976 https://github.com/rust-lang/rust/issues/32976 for more information
= help: add #![feature(cfg_target_has_atomic)] to the crate attributes to enable
Please remove cargo.lock file from .gitignore. We need this file to reproduce your work. Extremely grateful!
Ok we will remove the .gitignore.
p.s., can you describe the errors in more details? e.g., how to reproduce and how to fix them, thanks!
We will provide a compilable version of Cargo.lock in the repo.
Thank you very much! I've also just had a few minor problems with incompatible deps whem make km. Such as the error 0658, some website said the latest version will solve it. So I guess it maybe due to some 3rd party dependency.