Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crates_vendor error: unknown field crate_alias_template in 0.57 #3203

Open
mikea opened this issue Jan 24, 2025 · 3 comments
Open

crates_vendor error: unknown field crate_alias_template in 0.57 #3203

mikea opened this issue Jan 24, 2025 · 3 comments

Comments

@mikea
Copy link

mikea commented Jan 24, 2025

Our crates_vendor task to update dependencies have started failing after 0.56.0 => 0.57.1 error with the following error:

``Error: unknown field `crate_alias_template`, expected one of `repository_name`, `build_file_template`, `crate_label_template`, `crates_module_template`, `crate_repository_template`, `default_alias_rule`, `default_package_name`, `generate_target_compatible_with`, `platforms_template`, `regen_command`, `vendor_mode`, `generate_rules_license_metadata` at line 62 column 30``
@fhanau
Copy link

fhanau commented Jan 27, 2025

crate_alias_template was added in #3148, so that might be responsible here.

@UebelAndre
Copy link
Collaborator

When is this error generated? Can you try regenerating your outputs?

@mikea
Copy link
Author

mikea commented Jan 27, 2025

When is this error generated? Can you try regenerating your outputs?

The error is generated while attempting to repin packages according to
https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies

the bazel run command fails with the given error.

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

No branches or pull requests

3 participants