Skip to content

Panic at "cannot update precise" in rust-lang/rust #12920

Closed
@Noratrieb

Description

@Noratrieb

Problem

When running cargo update -p icu_provider --precise 1.2.0 inside my rust-lang rust branch, I get

    Updating crates.io index
thread 'main' panicked at src/cargo/util/semver_ext.rs:79:9:e; 5 pending                                                          
cannot update_precise ~1.3.2 to 1.2.0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Steps

  1. checkout Noratrieb/rust@4023334
  2. cargo update -p icu_provider --precise 1.2.0

Possible Solution(s)

No response

Notes

No response

Version

cargo 1.75.0-nightly (65e297d1e 2023-11-03)
release: 1.75.0-nightly
commit-hash: 65e297d1ec0dee1a74800efe600b8dc163bcf5db
commit-date: 2023-11-03
host: aarch64-unknown-linux-gnu
libgit2: 1.7.1 (sys:0.18.1 vendored)
libcurl: 8.4.0-DEV (sys:0.4.68+curl-8.4.0 vendored ssl:OpenSSL/1.1.1u)
ssl: OpenSSL 1.1.1u  30 May 2023
os: Ubuntu 22.04 (jammy) [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Error and warning messages generated by Cargo itself.C-bugCategory: bugCommand-updateP-highPriority: HighS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewregression-from-stable-to-nightlyRegression in nightly that previously worked in stable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions