Skip to content

Release 0.0.12 unusable #75

Description

@LittleHuba

Description

When upgrading the dependency in score_communication to 0.0.12 we get a persistent lockfile error that is unrecoverable in our downstream module.
The investigation points to the release 0.0.12 being done with an outdated lockfile.

Analysis results

Error:

ERROR: /home/q536648/.cache/bazel/_bazel_q536648/e5ca210826d4a557c2389a5d3cc48128/external/rules_rust+/crate_universe/private/generate_utils.bzl:428:13: Traceback (most recent call last):
File "/home/q536648/.cache/bazel/_bazel_q536648/e5ca210826d4a557c2389a5d3cc48128/external/rules_rust+/crate_universe/extensions.bzl", line 1167, column 37, in _crate_impl
_generate_hub_and_spokes(
File "/home/q536648/.cache/bazel/_bazel_q536648/e5ca210826d4a557c2389a5d3cc48128/external/rules_rust+/crate_universe/extensions.bzl", line 628, column 44, in _generate_hub_and_spokes
repin = not lockfile or determine_repin(
File "/home/q536648/.cache/bazel/_bazel_q536648/e5ca210826d4a557c2389a5d3cc48128/external/rules_rust+/crate_universe/private/generate_utils.bzl", line 428, column 13, in determine_repin
fail(msg)
Error in fail: Error: Digests do not match: Current Digest("b3987846afd9d77626eb292c5e15da1921775911b0ea5577deb6ddba25dec68f") != Expected Digest("9d4b34c145951528c4194bf942c5c847cc040e74234d234eaa9ab404cf2fde08")

Solution

Potential solution is to update the lockfile and create a new release.

Error Occurrence Rate

None

How to reproduce

In a downstream module update to 0.0.12.
Then update the lockfile with bazel mod deps --lockfile_mode=update
Error is emitted.

Supporting Information

No response

Classification

Blocker

First Affected Release

not released (main)

Last Affected Release

not released (main)

Expected Fixed Release

before release (main)

Category

  • Safety Relevant
  • Security Relevant

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions