E8031
Error code: the run stops before anything is written. Raised by: pipeline diagnostics.
Cause
the log folder <log_dir> lies in the <role> <folder>
Fix
Pass a --log-dir outside the raw, cache and output folders; the pipeline replaces its output folder and cache entries on each run, and raw files are read-only.
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[E8031]: the log folder <log_dir> lies in the <role> <folder>
--> <file>:<line>:<column>
= fix: Pass a --log-dir outside the raw, cache and output folders; the pipeline replaces its output folder and cache entries on each run, and raw files are read-only.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
log_dir, role, folder.
Generated from schemas/messages/en.toml. Do not edit. This page (code E8031) is built from the engine sources at every documentation build. To change it, edit the E8031 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.