You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating the dependencies of Kellnr, I ran into an issue with the cargo dependency. No code was changed, just an update from cargo 0.76 to 0.77. Before the update, everything works fine, after the update the following error occurs:
error[E0425]: cannot find function`du`in crate `cargo_util`
--> /Users/x/.cargo/registry/src/kellnr-dev.raspi.home-1baa2a94dc16fc7f/cargo-0.77.0/src/cargo/core/global_cache_tracker.rs:1212:36
|
1212 |let size = cargo_util::du(&base.git_db.join(&info.3), &[])?;| ^^ not found in`cargo_util`|
help: consider importing this function
|
117 + use crate::core::global_cache_tracker::du;|
help: if you import `du`, refer to it directly
|
1212 - let size = cargo_util::du(&base.git_db.join(&info.3), &[])?;
1212 + let size = du(&base.git_db.join(&info.3), &[])?;|
error[E0425]: cannot find function`du`in crate `cargo_util`
--> /Users/x/.cargo/registry/src/kellnr-dev.raspi.home-1baa2a94dc16fc7f/cargo-0.77.0/src/cargo/core/global_cache_tracker.rs:1818:17
|
1818 | cargo_util::du(&path, &["!.git"])
| ^^ not found in`cargo_util`
error[E0425]: cannot find function`du`in crate `cargo_util`
--> /Users/x/.cargo/registry/src/kellnr-dev.raspi.home-1baa2a94dc16fc7f/cargo-0.77.0/src/cargo/core/global_cache_tracker.rs:1825:21
|
1825 | cargo_util::du(&path, &[])
| ^^ not found in`cargo_util`
Checking migration v0.1.0 (/Users/x/repos/kellnr/kellnr/crates/db/migration)
For more information about this error, try `rustc --explain E0425`.
error: could not compile `cargo` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
Problem
Hi, maintainer of Kellnr here.
While updating the dependencies of Kellnr, I ran into an issue with the cargo dependency. No code was changed, just an update from cargo 0.76 to 0.77. Before the update, everything works fine, after the update the following error occurs:
Steps
Possible Solution(s)
Revert to cargo 0.76
Notes
No response
Version
The text was updated successfully, but these errors were encountered: