Skip to content

Non-actionable error message when publish fails in the middle of a worskpace #15754

@epage

Description

@epage

Problem

I was doing a first-time publish on a workspace and was rate limited. The only output I got was

error: failed to publish to registry at https://crates.io

Caused by:
  the remote server responded with an error (status 429 Too Many Requests): You have published too many new crates in a short period of time. Please try again after Fri, 18 Jul 2025 20:00:34
 GMT or email [email protected] to have your limit increased.

What I don't know is

  • which package failed to publish
  • what packages have not been published yet

Steps

  1. Create a large workspace with brand new packages
  2. Publish all of them at once and hit the rate limit

Possible Solution(s)

Report which package failed in the message and maybe what packages that have still not been processed.

Notes

No response

Version

cargo 1.90.0-nightly (930b4f62c 2025-06-28)
release: 1.90.0-nightly
commit-hash: 930b4f62cfcd1f0eabdb30a56d91bf6844b739bf
commit-date: 2025-06-28
host: x86_64-unknown-linux-gnu
libgit2: 1.9.0 (sys:0.20.2 vendored)
libcurl: 8.12.1-DEV (sys:0.4.80+curl-8.12.1 vendored ssl:OpenSSL/3.5.0)
ssl: OpenSSL 3.5.0 8 Apr 2025
os: Pop!_OS 22.4.0 (jammy) [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugCommand-publishS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions