Skip to content

Extra rust toolchain components are sometimes randomly available and other times are missing #60

Open
@Veetaha

Description

@Veetaha

Hi! I'm very grateful for this Github action, and I've been loving it ever since ❤. Today, though I stumbled with a problem.

I'm running a regular daily CI in the repo elastio/bon to catch sudden regressions not related to code changes. For the last week every CI run was fine except some weird things started to happen since May 13, 2025. The CI history is public here:

Image

CI was green every day until the first failure on May 13, 2025. There were no code changes in the repo for the last two weeks.

Copying the CI output for history (because github deletes old CI logs very aggressively):

Run cargo clippy --all-features --all-targets --locked
error: 'cargo-clippy.exe' is not installed for the toolchain '1.86.0-x86_64-pc-windows-msvc'.
To install, run `rustup component add --toolchain 1.86.0-x86_64-pc-windows-msvc clippy`

I figured that this was because I just missed adding the explicit clippy and rustfmt components (rustfmt problem suddenly revealed itself in another CI run) parameters in some of the CI jobs, which I fixed in this commit and CI became green after that.

The rust-toolchain.toml is structured like this and it never ever mentioned any extra clippy or rustfmt components (note: I've just bumped the version to 1.87.0 in master):

[toolchain]
channel    = "1.86.0"
components = ["cargo"]

However, the problem is "Why was it green in the first place"? The should've been failing all this time. However, my CI config missed the clippy in this job for example, and I haven't seen a failure for 7 months (that job always used clippy):

Image

But this problem started showing itself only today.

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