[BUG] Provision Rustfmt and Clippy before the VM preflight #130

Closed
opened 2026-10-15 13:04:00 +02:00 by erikinkinen · 1 comment
Owner

Summary

The Integration VM job runs the Timed clock contract without installing Rustfmt
and Clippy. It can stop before the VM scenarios start.

Reproduction

Run the normal push workflow at
7769fb5.
The integration job reaches “Check the original Timed legacy clock contract” and
fails at its formatting command.

Expected and actual behavior

The job should install the selected toolchain's components before running the
formatter, strict Clippy, unit tests and rustdoc checks.

Run 2678
instead reports error: no such command: fmt and exits with status 101. Clippy
and the VM scenarios are not reached. The separate Rust job installs these
components in its own container.

Environment and identity

  • Integration 7769fb520cd95da1d32d28077033f5c8fa8cc7b7, push workflow ci.yml.
  • Docker job using rust:latest on x86-64 Linux.
  • The preflight selects Cargo, rustc and rustdoc through rustup which and uses
    an isolated Cargo home. The same provisioning omission remains in d526567.

Evidence and prior checks

The original failure occurred after checkout and dependency preparation, in the
clock-contract step. This was an executed preflight failure; no guest result is
implied.

Tracking

  • Install Rustfmt and Clippy in the integration job before the clock check.
  • Preserve the existing Rust job, VM matrix and deadlines.
  • Confirm an automatic workflow executes the clock formatter and Clippy
    checks with the installed components.

Implemented in 104fdec3, included in PR #12.

## Summary The Integration VM job runs the Timed clock contract without installing Rustfmt and Clippy. It can stop before the VM scenarios start. ## Reproduction Run the normal push workflow at [`7769fb5`](https://git.erikinkinen.fi/erix/integration/commit/7769fb520cd95da1d32d28077033f5c8fa8cc7b7). The integration job reaches “Check the original Timed legacy clock contract” and fails at its formatting command. ## Expected and actual behavior The job should install the selected toolchain's components before running the formatter, strict Clippy, unit tests and rustdoc checks. [Run 2678](https://git.erikinkinen.fi/erix/integration/actions/runs/2678) instead reports `error: no such command: fmt` and exits with status 101. Clippy and the VM scenarios are not reached. The separate Rust job installs these components in its own container. ## Environment and identity - Integration `7769fb520cd95da1d32d28077033f5c8fa8cc7b7`, push workflow `ci.yml`. - Docker job using `rust:latest` on x86-64 Linux. - The preflight selects Cargo, rustc and rustdoc through `rustup which` and uses an isolated Cargo home. The same provisioning omission remains in `d526567`. ## Evidence and prior checks The original failure occurred after checkout and dependency preparation, in the clock-contract step. This was an executed preflight failure; no guest result is implied. ## Tracking - [x] Install Rustfmt and Clippy in the integration job before the clock check. - [x] Preserve the existing Rust job, VM matrix and deadlines. - [x] Confirm an automatic workflow executes the clock formatter and Clippy checks with the installed components. Implemented in [104fdec3](https://git.erikinkinen.fi/erix/integration/commit/104fdec3a5cae54c582c7bbb110052dbc1e04a6d), included in [PR #12](https://git.erikinkinen.fi/erix/integration/pulls/12).
Author
Owner

CI 2684 installed both components and passed the original Timed contract, including formatting, strict Clippy, all 65 unit tests and rustdoc. The later integration checks and VM matrix are separate from this provisioning fix.

[CI 2684](https://git.erikinkinen.fi/erix/integration/actions/runs/2684) installed both components and passed the original Timed contract, including formatting, strict Clippy, all 65 unit tests and rustdoc. The later integration checks and VM matrix are separate from this provisioning fix.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:17 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/integration#130
No description provided.