Skip to content

failed to download : unable to get packages from source: no hash listed for crate #16011

@lovasoa

Description

@lovasoa

Problem

Cargo told me to open a bug report, so here it is

error: failed to verify package tarball

Caused by:
  failed to download `sqlx-macros-oldapi v0.6.49-beta`

Caused by:
  unable to get packages from source

Caused by:
  no hash listed for sqlx-macros-oldapi v0.6.49-beta
note: this is an unexpected cargo internal error
note: we would appreciate a bug report: https://github.com/rust-lang/cargo/issues/
note: cargo 1.90.0 (840b83a10 2025-07-30)

Steps

Run cargo publish --dry-run --workspace --no-default-features --features runtime-actix-rustls from https://github.com/sqlpage/sqlx-oldapi/tree/4bfe632

Possible Solution(s)

No response

Notes

No response

Version

❯ cargo version --verbose
cargo 1.90.0 (840b83a10 2025-07-30)
release: 1.90.0
commit-hash: 840b83a10fb0e039a83f4d70ad032892c287570a
commit-date: 2025-07-30
host: x86_64-unknown-linux-gnu
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.14.1-DEV (sys:0.4.82+curl-8.14.1 vendored ssl:OpenSSL/3.5.0)
ssl: OpenSSL 3.5.0 8 Apr 2025
os: Fedora 42.0.0 [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCommand-publishS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions