Skip to content

publish-timeout not receiving updated index #11253

@ehuss

Description

@ehuss

Problem

I'm trying to test out the publish timeout, and I can't seem to get it to work. I'm running the command:

CARGO_PUBLISH_TIMEOUT=60 cargo publish -Zpublish-timeout

It waits for 60 seconds, and then prints the warning:

warning: timed out waiting for `ehuss-test1` to be in crates.io index

Steps

  1. Run CARGO_PUBLISH_TIMEOUT=60 cargo publish -Zpublish-timeout

Possible Solution(s)

No response

Notes

I did some basic instrumenting, and it doesn't look like cargo is reaching the network to update the index (CARGO_HTTP_DEBUG).

I also monitored the GitHub index, and the package is showing up within a few seconds.

Version

Tried latest nightly cargo 1.66.0-nightly (b332991a5 2022-10-13) and latest master 3ff0443.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions