Skip to content

multiple path dependencies with the same name confuses the resolver #13405

Closed
@emilio

Description

@emilio

I recently published a new rust-bindgen version (0.69.4), and that caused some Firefox CI jobs to fail (https://bugzilla.mozilla.org/show_bug.cgi?id=1878575), because some CI checks that run cargo metadata ended up touching the lockfile and updating bindgen.

The relevant bits that seem to be needed to reproduce this is a local crate for an older version of the crate.

To reproduce:

  • git clone https://github.com/mozilla/gecko-dev
  • cd gecko-dev
  • git reset --hard 9d8d867dac5d35156a51ef21fe7b46f573aaabef
  • cargo metadata

Somehow, the lockfile changes to bindgen 0.69.4 even though the lockfile specifies 0.69.2

Metadata

Metadata

Assignees

Labels

A-lockfileArea: Cargo.lock issuesC-bugCategory: bugS-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