Skip to content

fix(ci): show real current version in duplicate-deps error message - #955

Open
lucasmcdonald3 wants to merge 2 commits into
mainlinefrom
rust-fix-duplicate-deps-message
Open

fix(ci): show real current version in duplicate-deps error message#955
lucasmcdonald3 wants to merge 2 commits into
mainlinefrom
rust-fix-duplicate-deps-message

Conversation

@lucasmcdonald3

@lucasmcdonald3 lucasmcdonald3 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

N/A

Description of changes:

Fix the error message displayed by rust_duplicate_deps.yml

Squash/merge commit message, if applicable:

fix(ci): show real current version in duplicate-deps error message

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The duplicate aws-lc check parsed the current version from the output of
grep -n, which still carries the "N:" line-number prefix, so a dep on
line 18 was reported as aws-lc-sys = "18" instead of its real version.
Strip the prefix before reading the version.
@lucasmcdonald3
lucasmcdonald3 requested a review from a team as a code owner September 1, 2026 20:56
aws-lc-rs 1.18.1 resolves aws-lc-sys 0.45.0; the direct pins at 0.44
compiled a second copy in both runtime crates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant