Skip to content

cargo xtask ci fails on the pinned Rust 1.95 toolchain #70

Closed

Description

@Kevinjohn

I hit a small contributor workflow snag while running the documented checks.

cargo xtask ci cannot complete with the pinned Rust 1.95.0 toolchain.

  • Reproduce: run cargo xtask ci on the current master branch.
  • Expected: all documented checks complete with 0 Clippy errors.
  • Result: 7 Clippy errors — 5 reported initially, followed by 2 more in the same call chain once the first mutable-reference diagnostic is corrected.

The current findings are:

  • clippy::match_same_arms in frame-app/src/app/chrome.rs
  • clippy::redundant_pub_crate in frame-app/src/runtime_environment.rs
  • clippy::needless_pass_by_ref_mut in frame-app/src/app/update_actions.rs
  • Two downstream clippy::needless_pass_by_ref_mut findings in toggle_auto_update_check and skip_available_update
  • clippy::too_many_lines in the generated workflow template helper
  • clippy::needless_raw_string_hashes in the publish-nixpkgs workflow template

I have a small, behavior-preserving fix ready and can follow with a focused pull request.

Actual screenshot

The first run reports five errors:

Terminal showing the first five Rust 1.95 Clippy errors: three in frame-app and two in tooling/xtask

After correcting the first mutable-reference diagnostic, Clippy reveals two downstream errors in the same call chain:

Terminal showing two downstream Rust 1.95 Clippy errors in update actions

Activity

  1. added
    bug
    and removed
    bug
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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