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

install with --locked fails due to API change: update `time` to version `>=0.3.35`

Open KonradHoeffner opened this issue 1 year ago • 1 comments

When I started cargo outdated today, I got an error with libgit2, so I updated it as described in the README with the --locked parameter as cargo install cargo-outdated --locked --force, however this results in the following error:

error[E0282]: type annotations needed for `Box<_>`
  --> /home/konrad/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

I'm using cargo 1.83.0-nightly (c1fa840a8 2024-08-29) installed via Rustup on Arch Linux. Current cargo-outdated version is 0.15.0. Removing the --locked parameter fixes the issue. I guess you can fix this by either removing the --locked from the README or by creating a new release with an updated lockfile.

KonradHoeffner avatar Sep 11 '24 11:09 KonradHoeffner

P.S.: Addressed by https://github.com/kbknapp/cargo-outdated/pull/397 and https://github.com/kbknapp/cargo-outdated/pull/398, please accept one of them and release a new version.

KonradHoeffner avatar Sep 16 '24 08:09 KonradHoeffner

cargo install --locked cargo-outdated still gives this error

barower avatar Oct 22 '24 11:10 barower

Yeah, the maintainer seems to be inactive right now, I will try to reach out.

KonradHoeffner avatar Oct 22 '24 13:10 KonradHoeffner

cargo outdated got OUTDATED

Z1xus avatar Oct 27 '24 04:10 Z1xus

BROKEN ... http://mail-index.netbsd.org/pkgsrc-changes/2024/11/30/msg311633.html

😢

0323pin avatar Nov 30 '24 22:11 0323pin

I have written an email twice to the author @kbknapp on October 22 and November 22 and unfortunately never gotten any response. Does anyone here have a working communication channel to the author? :-)

KonradHoeffner avatar Dec 03 '24 13:12 KonradHoeffner

See #403, plan is to get a new release soon.

davidhewitt avatar Dec 03 '24 13:12 davidhewitt