E1061
Error code: the run stops before anything is written. Raised by: output requests of [outputs] against the run's step and the output catalogue.
Cause
Age grid <age_grid> needs a step of <needs> or finer, but time.step is <step>; it would be used by <indicators>.
Fix
Remove <age_grid> from [outputs] age_grids, or set time.step to <needs>: ages in days need a day step, and ages in months need a day, week or month step.
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E1061]: Age grid <age_grid> needs a step of <needs> or finer, but `time.step` is <step>; it would be used by <indicators>.
--> <file>:<line>:<column>
= fix: Remove <age_grid> from `[outputs] age_grids`, or set `time.step` to <needs>: ages in days need a day step, and ages in months need a day, week or month step.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
age_grid, needs, step, indicators.
Generated from schemas/messages/en.toml. Do not edit. This page (code E1061) is built from the engine sources at every documentation build. To change it, edit the E1061 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.