cargo-instruments icon indicating copy to clipboard operation
cargo-instruments copied to clipboard

failed to get `chrono` as a dependency of package ...

Open link-duan opened this issue 2 years ago • 5 comments

image

link-duan avatar Nov 02 '23 07:11 link-duan

MacOS 14.0 Apple M1

link-duan avatar Nov 02 '23 07:11 link-duan

I have no idea; this looks like a cargo issue? Googling brings me to https://stackoverflow.com/questions/69498373/cargo-error-failed-to-get-x-as-a-dependency

cmyr avatar Nov 02 '23 15:11 cmyr

I stumbled on a similar issue: cargo build / cargo update had no issue but cargo instruments would fail getting some dependency. Building from master with cargo install --git https://github.com/cmyr/cargo-instruments seemingly fixed the issue.

There was probably some breaking changes in cargo that https://github.com/cmyr/cargo-instruments/commit/7754a4c95f8b516f0078f783f922b971a092c478 fixed.

arbll avatar Nov 13 '23 00:11 arbll

noted, will release a new version shortly.

cmyr avatar Nov 13 '23 20:11 cmyr

okay, try updating to cargo-instruments 0.4.9, and let me know if that solves this problem?

cmyr avatar Nov 13 '23 21:11 cmyr