Skip to content

Panic with custom repositories #433

@Omega359

Description

@Omega359

I think the following is being caused by a custom repository

$ RUST_BACKTRACE=full cargo outdated
    Updating `veeva` index

thread 'main' (82992) panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-outdated-0.17.0/src/cargo_ops/temp_project.rs:404:18:
Source should be ready
stack backtrace:
   0:     0x5fff8a32b012 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
   1:     0x5fff89fdc0ca - core::fmt::write::hed7b5c73d82ecb7c
   2:     0x5fff8a32a3f5 - std::io::Write::write_fmt::h6f0185aecf0ed75f
   3:     0x5fff8a32a088 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
   4:     0x5fff8a352bb7 - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
   5:     0x5fff8a352b69 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
   6:     0x5fff8a352b5c - __rustc[4425a7e20b4c8619]::rust_begin_unwind
   7:     0x5fff89fdd01b - core::panicking::panic_fmt::ha59b517dd231f4da
   8:     0x5fff899c800a - cargo_outdated::cargo_ops::temp_project::TempProject::find_update::h1e112a0301a92e04
   9:     0x5fff899d3cab - cargo_outdated::cargo_ops::temp_project::TempProject::update_version_and_feature::hddc3bc5464467c42
  10:     0x5fff899cd9ee - cargo_outdated::cargo_ops::temp_project::TempProject::write_manifest_latest::h4ec6b6207d5eccd3
  11:     0x5fff89f817a9 - cargo_outdated::main::hb32f84fd1d302a02
  12:     0x5fff89f65fc3 - std::sys::backtrace::__rust_begin_short_backtrace::hacd3c793731b89fb
  13:     0x5fff89f832b8 - main
  14:     0x7fb81462a575 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  15:     0x7fb81462a628 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  16:     0x5fff899c6425 - _start
  17:                0x0 - <unknown>

built with Rust 1.94.0.

The 'veeva' registry is configured in .cargo/config.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions