Cargo release/publish - object not found

Does anyone know what would cause this error? On CI, after cargo release did cargo publish, I got the error

error: object not found - no match for id (bc74b69f0a5f9e5286a67f2abad52b85e5c727bb); class=Odb (9)

This happened on CI: Publish a release · CAD97/simple-interner@9c7c662 · GitHub

The version was published: https://crates.io/crates/simple-interner/0.3.2

...though the README didn't get recognized this time, for some reason.

Used toolchain: stable-x86_64-unknown-linux-gnu unchanged - rustc 1.67.0 (fc594f156 2023-01-24)

and it did have CARGO_UNSTABLE_SPARSE_REGISTRY=true set, but not CARGO_REGISTRIES_CRATES_IO_PROTOCOL.

It seems to be repeatable; second try

Have you tried cargo package?

Actual packaging and uploading works fine; the error is in the CLI verification that the release got published. Additionally, running cargo release on a local machine worked fine, so it's something about the CI configuration/machine.

With no idea what went wrong, though, there's no good way to figure out why.