Skip to content

Error while waiting for package to be publishedΒ #2334

@beeb

Description

@beeb

Bug description

The CI run for my latest release failed with the following error:

-- Running release-plz release --
2025-08-12T19:40:36.877762Z  INFO using release-plz config file release-plz.toml
2025-08-12T19:44:05.281669Z  INFO waiting for the package lintspec to be published...
2025-08-12T19:58:46.872890Z ERROR failed to release package

Caused by:
    0: timeout while publishing lintspec
    1: failed to update git index
    2: "gix" crate failed. If problems persist, consider deleting `~/.cargo/registry/index/github.com-1ecc6299db9ec823/`
    3: The slotmap turned out to be too small with 32 entries, would need 1 more
Error: failed to release package

The package was correctly published to crates.io using the trusted publisher token I provided, but it got stuck at waiting for the package lintspec to be published (as you can see from the timestamps) then errored out with an error about gix.

I managed to work around the issue by creating the tag manually but that's not ideal and I would like to understand the cause for this failure.

  • Would you like to work on a fix? n

To Reproduce

Steps to reproduce the behavior:

  1. https://github.com/beeb/lintspec/actions/runs/16919093254/job/47940360826

Expected behavior

A git tag is created for the version.

Environment

Github runner

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions