Skip to content

crates_vendor fails when running on Github Actions with a 1.85 toolchain #3299

@redsun82

Description

@redsun82

Using latest rules_rust (0.57.1) I'm seeing the crates_vendor target failing when a 1.85 toolchain is selected. Weirdly enough, I'm not able to reproduce this locally, where the target runs without issues, but I can see it happening on Github Actions CI 100% of the time, and on all platforms.

A small reproducer is available in redsun82/test#2. If you look at commits, you can see that using the default (1.84) toolchain in redsun82/test@07d0340 runs ok and then when switching to a 1.85 toolchain in redsun82/test@ce0b879 the run fails with

Error: Failed to get crate index config

Caused by:
    No such file or directory (os error 2)

I will try a workaround switching to a 1.84 toolchain when running this vendoring check on CI in our internal repository where I discovered this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions